/* Settings (wto_ws.cfg) and the run log (wto_ws.log) next to the DLL. */ #pragma once #include #include #include void config_load(HMODULE self); void log_line(const char *format, ...); void describe_address(const struct sockaddr *name, int length, char *text, size_t size); /* A value the build resolved from the executable (wto_ws.cfg "native.="); 0 when absent. */ int config_native_value(const char *name, int64_t *value); /* Whether the settings were resolved for the executable this process runs (PE time stamp and size). */ int config_native_matches_executable(void);