#ifndef WSTOOL_H
#define WSTOOL_H
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
int tool_get_tmpdir(char *configfile);
int tool_srvctrl(char *socketfile, char *cmd);
int log_ereport(int degree, const char *format, ...);
int log_ereport_v(int degree, const char *format, va_list args);
#ifdef __cplusplus
}
#endif
#endif