Watcher list support added.
[crypto.git] / apps / silcd / command_reply.h
index eb5b53d48553b81a5a6718387e3469aa0c9941bb..7a06fd6e590ee8f2f2952af203dcc1b42911214b 100644 (file)
@@ -2,9 +2,9 @@
 
   command_reply.h
 
-  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+  Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2001 Pekka Riikonen
+  Copyright (C) 1997 - 2002 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -34,7 +34,6 @@ extern SilcServerCommandReply silc_command_reply_list[];
 
 /* Context holding pending command callbacks. */
 typedef struct {
-  SilcServerPendingDestructor destructor;
   SilcCommandCb callback;
   void *context;
 } *SilcServerCommandPendingCallbacks;
@@ -48,8 +47,8 @@ typedef struct {
 
   /* If defined this executes the pending command. */
   SilcServerCommandPendingCallbacks callbacks;
-  uint32 callbacks_count;
-  uint16 ident;
+  SilcUInt32 callbacks_count;
+  SilcUInt16 ident;
 } *SilcServerCommandReplyContext;
 
 /* Macros */
@@ -73,7 +72,10 @@ SILC_SERVER_CMD_REPLY_FUNC(identify);
 SILC_SERVER_CMD_REPLY_FUNC(info);
 SILC_SERVER_CMD_REPLY_FUNC(motd);
 SILC_SERVER_CMD_REPLY_FUNC(join);
+SILC_SERVER_CMD_REPLY_FUNC(stats);
 SILC_SERVER_CMD_REPLY_FUNC(users);
 SILC_SERVER_CMD_REPLY_FUNC(getkey);
+SILC_SERVER_CMD_REPLY_FUNC(list);
+SILC_SERVER_CMD_REPLY_FUNC(watch);
 
 #endif