]> andersk Git - moira.git/blame - include/update.h
Change `SMS' to `Moira' where possible.
[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
f2c11cdd 16#define log_DEBUG 0
17#define log_INFO 1
18#define log_WARNING 2
19#define log_ERROR 3
db04bfe1 20
59ec8dae 21#define SERVICE_NAME "moira_update"
db04bfe1 22#define UPDATE_BUFSIZ BUFSIZ
This page took 0.099867 seconds and 5 git commands to generate.