Protocol version 1.2 integrations
[silc.git] / lib / silccore / silcstatus.h
index dea64e94184d3e8d5a9555cc4976a2e781fd4b42..4564a55dffe9e7cf37347516d663811b328a77fd 100644 (file)
@@ -99,6 +99,11 @@ typedef SilcUInt8 SilcStatus;
 #define SILC_STATUS_ERR_BAD_SERVER_ID       51
 #define SILC_STATUS_ERR_KEY_EXCHANGE_FAILED 52
 #define SILC_STATUS_ERR_BAD_VERSION         53
+#define SILC_STATUS_ERR_TIMEDOUT            54
+#define SILC_STATUS_ERR_UNSUPPORTED_PUBLIC_KEY    55
+#define SILC_STATUS_ERR_OPERATION_ALLOWED   56
 /***/
 
+#define SILC_STATUS_IS_ERROR(status) (status >= SILC_STATUS_ERR_NO_SUCH_NICK)
+
 #endif /* SILCSTATUS_H */