X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=daemon.h;h=54879924954d0352d25cec928c1bcff9a6f9e58e;hp=b530b0d76b48b673fd7ae7626c48a6dd91ab7751;hb=HEAD;hpb=7e611b37e41f0ec7ec6d3173b7e88ed5b9b3a276 diff --git a/daemon.h b/daemon.h index b530b0d7..54879924 100644 --- a/daemon.h +++ b/daemon.h @@ -13,7 +13,8 @@ __malloc char *daemon_get_uptime_str(const struct timeval *current_time); void daemon_set_logfile(const char *logfile_name); void daemon_set_hooks(void (*pre_log_hook)(void), void (*post_log_hook)(void)); void daemon_set_flag(unsigned flag); -void daemon_set_loglevel(const char *loglevel); +int daemon_get_loglevel(void); +void daemon_set_loglevel(int loglevel); bool daemon_init_colors_or_die(int color_arg, int color_arg_auto, int color_arg_no, bool logfile_given); void daemon_set_log_color_or_die(const char *arg);