Merged silc_1_0_branch to trunk.
[silc.git] / apps / silcd / command_reply.h
index 3b824843c9ef805f64487a86ecea79af0e34cea0..371cce46d4ecb572012d01c6612225aae98ef227 100644 (file)
@@ -2,15 +2,15 @@
 
   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 - 2003 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
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
-  
+
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -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,8 +72,11 @@ 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);
+SILC_SERVER_CMD_REPLY_FUNC(ping);
 
 #endif