Merge commit 'origin/silc.1.1.branch'
[silc.git] / lib / silccore / silccommand.h
index 8c1094ff861d41248ccde10ba37c04038d24a913..059797e5bc5d03c95beb5dc299490f94d19b6b66 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2005 Pekka Riikonen
+  Copyright (C) 1997 - 2008 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
 #ifndef SILCCOMMAND_H
 #define SILCCOMMAND_H
 
-/****f* silccore/SilcCommandAPI/SilcCommandCb
- *
- * SYNOPSIS
- *
- *    typedef void (*SilcCommandCb)(void *context, void *context2);
- *
- * DESCRIPTION
- *
- *    Command function callback. The actual command function pointer.
- *    This is generic command callback that the application may choose to
- *    use with its command routines.  However, none of the generic
- *    routines depend on this callback so application may freely define
- *    their own command callback if desired.
- *
- ***/
-typedef void (*SilcCommandCb)(void *context, void *context2);
-
 /****s* silccore/SilcCommandAPI/SilcCommandPayload
  *
  * NAME
@@ -397,8 +380,8 @@ SilcUInt16 silc_command_get_ident(SilcCommandPayload payload);
  *
  ***/
 SilcBool silc_command_get_status(SilcCommandPayload payload,
-                            SilcStatus *status,
-                            SilcStatus *error);
+                                SilcStatus *status,
+                                SilcStatus *error);
 
 /****f* silccore/SilcCommandAPI/silc_command_set_ident
  *