*
* \param logfile_name The full path of the logfile.
*/
-void daemon_set_logfile(char *logfile_name)
+void daemon_set_logfile(const char *logfile_name)
{
free(me->logfile_name);
me->logfile_name = NULL;
*
* \param loglevel The smallest level that should be logged.
*/
-void daemon_set_loglevel(char *loglevel)
+void daemon_set_loglevel(const char *loglevel)
{
int ret = get_loglevel_by_name(loglevel);
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_logfile(const char *logfile_name);
void daemon_set_flag(unsigned flag);
-void daemon_set_loglevel(char *loglevel);
+void daemon_set_loglevel(const char *loglevel);
void daemon_init_colors_or_die(int color_arg, int color_arg_auto,
int color_arg_no, bool logfile_given, char **log_color_argv,
int argc);