/*
* 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
* ---
*
* optlist.h: Definitions of option listings
- *
+ *
* Known contributors to this file:
* Ken Stevens, 1995
* Steve McClure, 1998
+ * Markus Armbruster, 2004-2008
*/
#ifndef OPTLIST_H
#undef EMP_CONFIG_H_OUTPUT
extern char *configdir;
+extern char *builtindir;
+extern char *gamedir;
+extern char *infodir;
+extern char *schedulefil;
-extern char *motdfil;
-extern char *downfil;
-extern char *disablefil;
-extern char *banfil;
-extern char *authfil;
-extern char *annfil;
-extern char *timestampfil;
-extern char *teldir;
-extern char *telfil;
+extern char motdfil[];
+extern char downfil[];
+extern char annfil[];
+extern char teldir[];
enum {
KM_ALLOC = 1, /* memory allocated */
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 */
+ enum nsc_type km_type; /* type of associated data */
void *km_data; /* pointer to associated data */
int km_flags; /* useful flags */
char *km_comment; /* Comment (hopefully useful) */