comparison dbutil.h @ 1461:fb90a5ba84e0

Merge pull request #49 from fperrad/20170812_lint Some linting, const parameters
author Matt Johnston <matt@ucc.asn.au>
date Thu, 25 Jan 2018 21:55:25 +0800
parents 58a74cb829b8
children 2d450c1056e3
comparison
equal deleted inserted replaced
1454:ef310db5ccec 1461:fb90a5ba84e0
54 extern int debug_trace; 54 extern int debug_trace;
55 #endif 55 #endif
56 56
57 char * stripcontrol(const char * text); 57 char * stripcontrol(const char * text);
58 58
59 int spawn_command(void(*exec_fn)(void *user_data), void *exec_data, 59 int spawn_command(void(*exec_fn)(const void *user_data), const void *exec_data,
60 int *writefd, int *readfd, int *errfd, pid_t *pid); 60 int *writefd, int *readfd, int *errfd, pid_t *pid);
61 void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell); 61 void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell);
62 #ifdef ENABLE_CONNECT_UNIX 62 #ifdef ENABLE_CONNECT_UNIX
63 int connect_unix(const char* addr); 63 int connect_unix(const char* addr);
64 #endif 64 #endif