]> git.pond.sub.org Git - empserver/blobdiff - include/optlist.h
New update scheduler:
[empserver] / include / optlist.h
index 4effa0e0b9d48ed4e264968e399b1cda588fe277..d31568d9794bb7853456c046bf75b24118d6f241 100644 (file)
@@ -45,6 +45,7 @@ extern char dflt_econfig[];
 #undef EMP_CONFIG_H_OUTPUT
 
 extern char *configdir;
+extern char *schedulefil;
 
 extern char motdfil[];
 extern char downfil[];
@@ -60,6 +61,12 @@ enum {
     KM_OPTION = 4              /* historically an option */
 };
 
+enum {
+    UPD_DEMAND_NONE,           /* no demand updates */
+    UPD_DEMAND_SCHED,          /* scheduled updates are demand updates */
+    UPD_DEMAND_ASYNC,          /* zdone triggers unscheduled update */
+};
+
 struct keymatch {
     char *km_key;              /* the key */
     nsc_type km_type;          /* type of associated data */