]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/helpfile.h
more python work. Not safe to run yet
[irc/evilnet/x3.git] / src / helpfile.h
index 6fbe65f4bcdd887607bdefb644f2b4772d14f7b6..9a62664f500631ead09a69e69a68b4680425f90a 100644 (file)
@@ -5,7 +5,7 @@
  *
  * x3 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,
@@ -37,6 +37,7 @@ extern struct userNode *message_dest; /* message destination; useful in expansio
 #define TABLE_REPEAT_ROWS    0x0004 /* put more than one row on a line? */
 #define TABLE_NO_FREE        0x0008 /* don't free the contents? */
 #define TABLE_NO_HEADERS     0x0010 /* is there actually no header? */
+#define TABLE_NO_FOOTER      0x0020 /* Dont send a -----End---- footer */
 
 struct helpfile_table {
     unsigned int length : 16;
@@ -107,4 +108,8 @@ void helpfile_finalize(void);
 struct helpfile *open_helpfile(const char *fname, expand_func_t expand);
 void close_helpfile(struct helpfile *hf);
 
+#ifdef HAVE_HELPSERV
+const char *get_helpserv_id(const char *nick, struct userNode *user);
+#endif
+
 #endif