]> andersk Git - moira.git/blame - include/update.h
Initial revision
[moira.git] / include / update.h
CommitLineData
f2c11cdd 1/*
2 * Update mechanism description structure.
3 */
4struct update_desc {
5 int last_time; /* when did we try last? */
6 int success; /* did it succeed? */
7 int interval; /* interval in minutes between updates */
8 char *service_name;
9 char *host_name;
10 char *target_path; /* where to put the file */
11 int override; /* override interval */
12 int enable; /* can we update at all? */
13 char *instructions; /* script pathname */
f2c11cdd 14};
15
16char *whoami;
17extern char sms_data_dir[];
18
19#define log_DEBUG 0
20#define log_INFO 1
21#define log_WARNING 2
22#define log_ERROR 3
650b599f 23int log_priority;
db04bfe1 24
25#define SERVICE_NAME "sms_update"
26#define UPDATE_BUFSIZ BUFSIZ
This page took 0.829946 seconds and 5 git commands to generate.