Rename struct audio format to audio_format_handler
[paraslash.git] / daemon.h
1 /** \file daemon.h exported symbols from daemon.c */
2
3
4 void daemon_init(void);
5 FILE *open_log(const char *logfile_name);
6 void close_log(FILE* logfile);
7 void log_welcome(const char *whoami, int loglevel);
8 void para_drop_privileges(const char *username, const char *groupname);
9 /** used for server_uptime() */
10 enum uptime {UPTIME_SET, UPTIME_GET};
11 time_t server_uptime(enum uptime set_or_get);
12 __malloc char *uptime_str(void);