Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/framework/mdep.h')
-rw-r--r--agent/tcf/framework/mdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/agent/tcf/framework/mdep.h b/agent/tcf/framework/mdep.h
index 3c25673f..e449a595 100644
--- a/agent/tcf/framework/mdep.h
+++ b/agent/tcf/framework/mdep.h
@@ -397,7 +397,14 @@ extern const char * get_user_name(void);
extern const char * create_uuid(void);
/* Switch to running in the background, rather than under the direct control of a user */
+#if defined(_WIN32)
+extern void become_daemon(char ** argv);
+#else
extern void become_daemon(void);
+#endif
+
+/* Close stdout and stderr and replace with null output device */
+extern void close_out_and_err(void);
/* Return 1 if running in the background, return 0 othewise */
extern int is_daemon(void);

Back to the top