]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/helpfile.h
Changed/improved 'silent' gline support
[irc/evilnet/x3.git] / src / helpfile.h
index d7102ed4534730d92aa226ac7831cda7059a1e0e..6fbe65f4bcdd887607bdefb644f2b4772d14f7b6 100644 (file)
@@ -1,9 +1,9 @@
 /* helpfile.h - Help file loading and display
  * Copyright 2000-2004 srvx Development Team
  *
- * This file is part of srvx.
+ * This file is part of x3.
  *
- * srvx is free software; you can redistribute it and/or modify
+ * 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
  * (at your option) any later version.
@@ -72,10 +72,17 @@ struct language
 extern struct language *lang_C;
 extern struct dict *languages;
 
+#define MSG_TYPE_NOTICE    0
+#define MSG_TYPE_PRIVMSG   1
+#define MSG_TYPE_WALLCHOPS 2
+#define MSG_TYPE_NOXLATE   4
+#define MSG_TYPE_MULTILINE 8
+
 int send_message(struct userNode *dest, struct userNode *src, const char *message, ...);
 int send_message_type(int msg_type, struct userNode *dest, struct userNode *src, const char *message, ...);
 int send_target_message(int msg_type, const char *dest, struct userNode *src, const char *format, ...);
 int send_help(struct userNode *dest, struct userNode *src, struct helpfile *hf, const char *topic);
+int send_help_brief(struct userNode *dest, struct userNode *src, struct helpfile *hf, const char *topic);
 /* size is maximum line width (up to MAX_LINE_SIZE); 0 means figure it out.
  * irc_send is either irc_privmsg or irc_notice; NULL means figure it out. */
 void table_send(struct userNode *from, const char *to, unsigned int size, irc_send_func irc_send, struct helpfile_table table);