]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/global.h
making some good progress on ldap
[irc/evilnet/x3.git] / src / global.h
index df3ed64b7f95a3966e4af2f816c5d27594bc5362..30af23f633b8ac4f0c1a2a7903487ed1f0af7da9 100644 (file)
@@ -1,9 +1,9 @@
 /* global.h - Global notice service
  * 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.
 #define MESSAGE_RECIPIENT_STAFF                        (MESSAGE_RECIPIENT_HELPERS | MESSAGE_RECIPIENT_OPERS)
 #define MESSAGE_RECIPIENT_ALL                  (MESSAGE_RECIPIENT_LUSERS | MESSAGE_RECIPIENT_CHANNELS)
 
-struct globalMessage
-{
-    unsigned long                              id;
-    long                               flags;
-
-    time_t                             posted;
-    unsigned long                      duration;
-
-    char                               *from;
-    char                               *message;
-
-    struct globalMessage               *prev;
-    struct globalMessage               *next;
-};
-
 void init_global(const char *nick);
 
 void global_message(long targets, char *text);
+void global_message_args(long targets, const char *language_entry, ...);
 
 #endif