Mercurial > dropbear
comparison dbutil.h @ 1460:58a74cb829b8
Pointer parameter could be declared as pointing to const (callback)
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Sat, 19 Aug 2017 22:39:53 +0200 |
parents | bbc0a0ee3843 |
children | 2d450c1056e3 |
comparison
equal
deleted
inserted
replaced
1459:06d52bcb8094 | 1460:58a74cb829b8 |
---|---|
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 |