]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/messages.h
- Definition der CHANNEL-Struktur aus Header entfernt,
[ngircd-alex.git] / src / ngircd / messages.h
index b0e0c32e558f03f3965b7342bc69d70854c14464..b788005d7a72806bde06faf5fab343c806021bdd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001 by Alexander Barton (alex@barton.de)
+ * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
  *
  * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
  * der GNU General Public License (GPL), wie von der Free Software Foundation
@@ -9,11 +9,29 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: messages.h,v 1.14 2001/12/31 16:00:57 alex Exp $
+ * $Id: messages.h,v 1.20 2002/01/21 00:02:34 alex Exp $
  *
  * irc.h: IRC-Befehle (Header)
  *
  * $Log: messages.h,v $
+ * Revision 1.20  2002/01/21 00:02:34  alex
+ * - ERR_NOSUCHCHANNEL hinzugefuegt.
+ *
+ * Revision 1.19  2002/01/16 22:09:52  alex
+ * - RPL_LUSERME_MSG erweitert, kleinere Aenderungen.
+ *
+ * Revision 1.18  2002/01/11 23:50:55  alex
+ * - LINKS implementiert, LUSERS begonnen.
+ *
+ * Revision 1.17  2002/01/05 23:23:44  alex
+ * - neue Nachricht ERR_NOSUCHSERVER_MSG definiert.
+ *
+ * Revision 1.16  2002/01/03 02:24:21  alex
+ * - neue Message ERR_NOTREGISTEREDSERVER_MSG.
+ *
+ * Revision 1.15  2002/01/02 02:42:58  alex
+ * - Copyright-Texte aktualisiert.
+ *
  * Revision 1.14  2001/12/31 16:00:57  alex
  * - "o" zu den unterstuetzten Modes hinzugefuegt.
  *
 #define RPL_MYINFO                     "004"
 #define RPL_MYINFO_MSG                 RPL_MYINFO" %s %s ngircd-"VERSION" ior +"
 
+#define RPL_LUSERCLIENT                        "251"
+#define RPL_LUSERCLIENT_MSG            RPL_LUSERCLIENT" %s :There are %d users and %d services on %d servers"
+
+#define RPL_LUSEROP                    "252"
+#define RPL_LUSEROP_MSG                        RPL_LUSEROP" %s %d :operator(s) online"
+
+#define RPL_LUSERUNKNOWN               "253"
+#define        RPL_LUSERUNKNOWN_MSG            RPL_LUSERUNKNOWN" %s %d :unknown connection(s)"
+
+#define RPL_LUSERCHANNELS              "254"
+#define RPL_LUSERCHANNELS_MSG          RPL_LUSERCHANNELS" %s %d :channels formed"
+
+#define RPL_LUSERME                    "255"
+#define        RPL_LUSERME_MSG                 RPL_LUSERME" %s :I have %d users, %d services and %d servers"
+
 #define RPL_MOTDSTART                  "375"
 #define RPL_MOTDSTART_MSG              RPL_MOTDSTART" %s :- %s message of the day"
 
 #define RPL_NAMREPLY                   "353"
 #define RPL_NAMREPLY_MSG               RPL_NAMREPLY" %s %s %s :%s"
 
+#define RPL_LINKS                      "364"
+#define RPL_LINKS_MSG                  RPL_LINKS" %s %s %s :%d %s"
+
+#define RPL_ENDOFLINKS                 "365"
+#define RPL_ENDOFLINKS_MSG             RPL_ENDOFLINKS" %s %s :End of LINKS list"
+
 #define RPL_ENDOFNAMES                 "366"
 #define RPL_ENDOFNAMES_MSG             RPL_ENDOFNAMES" %s %s :End of NAMES list"
 
 #define ERR_NOSUCHNICK                 "401"
 #define ERR_NOSUCHNICK_MSG             ERR_NOSUCHNICK" %s %s :No such nick or channel name"
 
+#define ERR_NOSUCHSERVER               "402"
+#define ERR_NOSUCHSERVER_MSG           ERR_NOSUCHSERVER" %s %s :No such server"
+
+#define ERR_NOSUCHCHANNEL              "403"
+#define ERR_NOSUCHCHANNEL_MSG          ERR_NOSUCHCHANNEL"%s %s :No such channel"
+
 #define ERR_NOORIGIN                   "409"
 #define ERR_NOORIGIN_MSG               ERR_NOORIGIN" %s :No origin specified"
 
 
 #define ERR_NOTREGISTERED              "451"
 #define ERR_NOTREGISTERED_MSG          ERR_NOTREGISTERED" %s :Connection not registered"
+#define ERR_NOTREGISTEREDSERVER_MSG    ERR_NOTREGISTERED" %s :Connection not registered as server link"
 
 #define ERR_NOPRIVILEGES               "481"
 #define ERR_NOPRIVILEGES_MSG           ERR_NOPRIVILEGES" %s :Permission denied"