Mercurial > dropbear
diff dbutil.h @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | f9f930e1a516 2d450c1056e3 |
children | 60fceff95858 |
line wrap: on
line diff
--- a/dbutil.h Tue Jan 23 23:27:40 2018 +0800 +++ b/dbutil.h Sat Feb 17 19:29:51 2018 +0800 @@ -57,10 +57,10 @@ char * stripcontrol(const char * text); -int spawn_command(void(*exec_fn)(void *user_data), void *exec_data, +int spawn_command(void(*exec_fn)(const void *user_data), const void *exec_data, int *writefd, int *readfd, int *errfd, pid_t *pid); void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell); -#ifdef ENABLE_CONNECT_UNIX +#if ENABLE_CONNECT_UNIX int connect_unix(const char* addr); #endif int buf_readfile(buffer* buf, const char* filename);