]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - daemon.h
client: Fix return value check for sb_received().
[paraslash.git] / daemon.h
index 025b6a5e9ef7b52225af1205bedc0a2b4f4c0400..42ff5ce1c3ff8929a01d827c26ddf7538be957eb 100644 (file)
--- a/daemon.h
+++ b/daemon.h
@@ -4,14 +4,13 @@
 void daemonize(bool parent_waits);
 void daemon_open_log_or_die(void);
 void daemon_close_log(void);
-void log_welcome(const char *whoami);
-void drop_privileges_or_die(const char *username, const char *groupname);
-void set_server_start_time(void);
-time_t get_server_uptime(const struct timeval *current_time);
-__malloc char *get_server_uptime_str(const struct timeval *current_time);
+void daemon_log_welcome(const char *whoami);
+void daemon_drop_privileges_or_die(const char *username, const char *groupname);
+void daemon_set_start_time(void);
+time_t daemon_get_uptime(const struct timeval *current_time);
+__malloc char *daemon_get_uptime_str(const struct timeval *current_time);
 void daemon_set_logfile(char *logfile_name);
 void daemon_set_flag(unsigned flag);
-void daemon_clear_flag(unsigned flag);
 void daemon_set_loglevel(char *loglevel);
 void daemon_set_default_log_colors(void);
 void daemon_set_log_color_or_die(char const *arg);