updates.
[silc.git] / lib / silccore / silcprotocol.h
index 6d5ef0b529d89455536b9fea1c5bf02ab06feb4c..534aa493d8e88da565e1fb55e3f0d04f9f932a50 100644 (file)
@@ -35,16 +35,6 @@ typedef unsigned char SilcProtocolState;
 #define SILC_PROTOCOL_STATE_FAILURE 253         /* Received failure from remote */
 #define SILC_PROTOCOL_STATE_ERROR 254    /* Local error at our end */
 
-/* Connection Authentication protocols' authentication methods */
-#define SILC_PROTOCOL_CONN_AUTH_NONE 0
-#define SILC_PROTOCOL_CONN_AUTH_PASSWORD 1
-#define SILC_PROTOCOL_CONN_AUTH_PUBLIC_KEY 2
-
-/* XXX These don't belong here really! */
-/* Connection authentication protocol status message */
-#define SILC_CONN_AUTH_OK 0
-#define SILC_CONN_AUTH_FAILED 1
-
 /* Type definition for above auth methods */
 typedef unsigned char SilcProtocolAuthMeth;
 
@@ -134,5 +124,6 @@ void silc_protocol_execute(void *qptr, int type,
                           long secs, long usecs);
 void silc_protocol_execute_final(void *qptr, int type, 
                                 void *context, int fd);
+void silc_protocol_cancel(void *qptr, void *context);
 
 #endif