1 #ifndef HEADER_CURL_SERVER_UTIL_H 2 #define HEADER_CURL_SERVER_UTIL_H 27 void logmsg(
const char *msg, ...);
29 #define TEST_DATA_PATH "%s/data/test%ld" 31 #define SERVERLOGS_LOCK "log/serverlogs.lock" 34 extern const char *
path;
43 #define sleep(sec) Sleep ((sec)*1000) 46 #define perror(m) win32_perror(m) 47 void win32_perror(
const char *msg);
void logmsg(const char *msg,...)
int wait_ms(int timeout_ms)
void set_advisor_read_lock(const char *filename)
char * test2file(long testno)
int strncasecompare(const char *first, const char *second, size_t max)
static void win32_cleanup(void)
char * data_to_hex(char *data, size_t len)
int write_pidfile(const char *filename)
static CURLcode win32_init(void)
void clear_advisor_read_lock(const char *filename)
const char * serverlogfile