Protocol version 1.2 integrations
[silc.git] / lib / silccore / silcstatus.h
index 6accc4a1a672cbb3bb981e55f9f0a6441e07e624..4564a55dffe9e7cf37347516d663811b328a77fd 100644 (file)
@@ -58,7 +58,7 @@ typedef SilcUInt8 SilcStatus;
 #define SILC_STATUS_ERR_NO_SUCH_NICK        10
 #define SILC_STATUS_ERR_NO_SUCH_CHANNEL     11
 #define SILC_STATUS_ERR_NO_SUCH_SERVER      12
-#define SILC_STATUS_ERR_TOO_MANY_TARGETS    13
+#define SILC_STATUS_ERR_INCOMPLETE_INFORMATION    13
 #define SILC_STATUS_ERR_NO_RECIPIENT        14
 #define SILC_STATUS_ERR_UNKNOWN_COMMAND     15
 #define SILC_STATUS_ERR_WILDCARDS           16
@@ -95,6 +95,15 @@ typedef SilcUInt8 SilcStatus;
 #define SILC_STATUS_ERR_NO_SUCH_SERVER_ID   47
 #define SILC_STATUS_ERR_RESOURCE_LIMIT      48
 #define SILC_STATUS_ERR_NO_SUCH_SERVICE     49
+#define SILC_STATUS_ERR_NOT_AUTHENTICATED   50
+#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 */