]> git.pond.sub.org Git - empserver/blobdiff - include/optlist.h
Update copyright notice
[empserver] / include / optlist.h
index 7d3e6245060a7d3a346399752ea0fb067f582c6c..bc86d5ac0047d89364e5eaf26ddd8c5eaf88d5b8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -45,14 +45,13 @@ extern char dflt_econfig[];
 #undef EMP_CONFIG_H_OUTPUT
 
 extern char *configdir;
+extern char *schedulefil;
 
-extern char *motdfil;
-extern char *downfil;
-extern char *disablefil;
-extern char *annfil;
-extern char *timestampfil;
-extern char *teldir;
-extern char *telfil;
+extern char motdfil[];
+extern char downfil[];
+extern char annfil[];
+extern char teldir[];
+extern char telfil[];
 
 enum {
     KM_ALLOC = 1,              /* memory allocated */
@@ -60,6 +59,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 */