aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-10-17 22:46:44 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-10-17 22:46:44 +0200
commit45307ff98038b2bed7263194c8d5cf56d87f4de4 (patch)
tree3b4ee445c4b0bdcc2850e615405d8e4ef936703d /src/common
parent3b704fd16667007d49223e1ae555eb7bd03092b3 (diff)
downloadtor-45307ff98038b2bed7263194c8d5cf56d87f4de4.tar
tor-45307ff98038b2bed7263194c8d5cf56d87f4de4.tar.gz
Port managed proxy launching code to the new subprocess API.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 77ed1ca5e..c5a52d11c 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -371,9 +371,6 @@ int tor_spawn_background(const char *const filename, const char **argv,
HANDLE load_windows_system_library(const TCHAR *library_name);
#endif
-#ifdef UTIL_PRIVATE
-/* Prototypes for private functions only used by util.c (and unit tests) */
-
/* Values of process_handle_t.status. PROCESS_STATUS_NOTRUNNING must be
* 0 because tor_check_port_forwarding depends on this being the initial
* statue of the static instance of process_handle_t */
@@ -416,6 +413,9 @@ ssize_t tor_read_all_from_process_stderr(
const process_handle_t *process_handle, char *buf, size_t count);
char *tor_join_win_cmdline(const char *argv[]);
+#ifdef UTIL_PRIVATE
+/* Prototypes for private functions only used by util.c (and unit tests) */
+
void format_helper_exit_status(unsigned char child_state,
int saved_errno, char *hex_errno);