]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/path.c.in
Update copyright notice
[empserver] / src / lib / global / path.c.in
index 6b5fc758611ad327de2a51fe32a5863154235a03..7ae30b5cbfe17e8b6e1e1a1e18ec8980ee9d88ee 100644 (file)
@@ -1,11 +1,11 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak,
- *                           Ken Stevens, Steve McClure
+ *  Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *                Ken Stevens, Steve McClure, Markus Armbruster
  *
- *  This program is free software; you can redistribute it and/or modify
+ *  Empire is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
+ *  the Free Software Foundation, either version 3 of the License, or
  *  (at your option) any later version.
  *
  *  This program is distributed in the hope that it will be useful,
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
  *  @configure_input@
- *  path.c: Path initializations needed outside of the file initialization
- *          tables
- * 
+ *  path.c.in: Path initializations needed outside of the file
+ *            initialization tables
+ *
  *  Known contributors to this file:
- *     Markus Armbruster, 2005
+ *     Markus Armbruster, 2005-2008
  */
 
+#include <config.h>
+
+#include "optlist.h"
+
+/* econfig file to try when user doesn't specify one */
 char dflt_econfig[] = "@econfig@";
-char *infodir  = "@einfodir@";
-char *datadir  = "@edatadir@";
-
-/* relative to DATADIR */
-char *teldir   = "tel";
-char *motdfil  = "motd";
-char *downfil  = "down";
-char *disablefil = "disable";
-char *telfil   = "tel/tel";
-char *annfil   = "ann";
-char *banfil   = "ban";
-char *authfil  = "auth";
-char *timestampfil = "timestamp";
+
+/*
+ * Where to find configuration (absolute file name)
+ * This is wherever econfig is actually looked for.
+ */
+char *configdir;
+
+/* User configuration tables to load (relative to configdir) */
+char *custom_tables = "";
+
+/* Update schedule (absolute file name) */
+char *schedulefil;
+
+/* Where to find built-in configuration tables (relative to configdir) */
+char *builtindir_conf = "@builtindir@";
+/* Where to find built-in configuration tables (absolute) */
+char *builtindir;
+
+/* Where to find info pages (relative to configdir) */
+char *infodir_conf = "@einfodir@";
+/* Where to find info pages (absolute) */
+char *infodir;
+
+/* Where this game's data is stored (relative to configdir) */
+char *gamedir_conf = "@gamedir@";
+/* Where this game's data is stored (absolute) */
+char *gamedir;
+
+/* These are relative to gamedir: */
+char teldir[]  = "tel";
+char motdfil[] = "motd";
+char downfil[] = "down";
+char annfil[]  = "ann";
 
 char *listen_addr = "";
 char *loginport = "@EMPIREPORT@";
+
+/*
+ * Emacs magic:
+ * Local Variables:
+ * mode: C
+ * End:
+ */