The unified diff between revisions [833d0ade..] and [6bbab836..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'dbutil.h'

#
#
# patch "dbutil.h"
#  from [c85093e85be71cfba82966a2e83d8d8b0a6f8ab1]
#    to [801a91e3fee11c70ea61efbd1d56ebc8b50044fd]
#
============================================================
--- dbutil.h	c85093e85be71cfba82966a2e83d8d8b0a6f8ab1
+++ dbutil.h	801a91e3fee11c70ea61efbd1d56ebc8b50044fd
@@ -49,6 +49,9 @@ int dropbear_listen(const char* address,
 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport);
 int dropbear_listen(const char* address, const char* port,
 		int *socks, unsigned int sockcount, char **errstring, int *maxfd);
+int spawn_command(void(*exec_fn)(void *user_data), 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
 int connect_unix(const char* addr);
 #endif
@@ -67,6 +70,7 @@ void disallow_core();
 void m_burn(void* data, unsigned int len);
 void setnonblocking(int fd);
 void disallow_core();
+int m_str_to_uint(const char* str, unsigned int *val);

 /* Used to force mp_ints to be initialised */
 #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}