1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
832 B
C

/*
* config.h: compilation config file
* Edit as needed.
*/
#ifndef CONFIG_H
#define CONFIG_H
#include <stdint.h>
#include <signal.h>
#include <time.h>
#include <syslog.h>
const int cfg_log_facility = LOG_CRON;
const char cfg_log_ident[] = "kairos";
const int cfg_log_opt = LOG_PID | LOG_NDELAY;
const char cfg_trie_file[] = "/home/ledoian/.kairos/trie";
const char cfg_task_file[] = "/home/ledoian/.kairos/tasks";
const char cfg_socket[] = "/tmp/kairos.sock";
const uint32_t cfg_sock_maxclients = 16;
const uint64_t cfg_var_name_max_len = 16;
const clockid_t cfg_clockid = CLOCK_REALTIME; // select CLOCK_REALTIME_ALARM
// for waking system from suspend;
// requires CAP_WAKE_ALARM
const char cfg_safe_string[] = "Sure";
#endif