27 */ |
27 */ |
28 |
28 |
29 #ifndef WSTOOL_H |
29 #ifndef WSTOOL_H |
30 #define WSTOOL_H |
30 #define WSTOOL_H |
31 |
31 |
|
32 #include <stdarg.h> |
|
33 |
32 #ifdef __cplusplus |
34 #ifdef __cplusplus |
33 extern "C" { |
35 extern "C" { |
34 #endif |
36 #endif |
35 |
37 |
|
38 int tool_get_tmpdir(char *configfile); |
36 |
39 |
|
40 int tool_srvctrl(char *socketfile, char *cmd); |
37 |
41 |
|
42 int log_ereport(int degree, const char *format, ...); |
|
43 int log_ereport_v(int degree, const char *format, va_list args); |
38 |
44 |
39 #ifdef __cplusplus |
45 #ifdef __cplusplus |
40 } |
46 } |
41 #endif |
47 #endif |
42 |
48 |