]> andersk Git - moira.git/commitdiff
Initial revision
authorspook <spook>
Thu, 30 Jul 1987 23:14:05 +0000 (23:14 +0000)
committerspook <spook>
Thu, 30 Jul 1987 23:14:05 +0000 (23:14 +0000)
include/update.h [new file with mode: 0644]

diff --git a/include/update.h b/include/update.h
new file mode 100644 (file)
index 0000000..1dd2645
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Update mechanism description structure.
+ */
+struct update_desc {
+     int last_time;            /* when did we try last? */
+     int success;              /* did it succeed? */
+     int interval;             /* interval in minutes between updates */
+     char *service_name;
+     char *host_name;
+     char *target_path;                /* where to put the file */
+     int override;             /* override interval */
+     int enable;               /* can we update at all? */
+     char *instructions;       /* script pathname */
+     char *value1, *value2;    /* these come from the database */
+     int dfgen;
+};
+
+char *whoami;
+extern char sms_data_dir[];
+
+#define log_DEBUG 0
+#define log_INFO  1
+#define log_WARNING 2
+#define log_ERROR 3
This page took 0.043134 seconds and 5 git commands to generate.