Protocol version 1.2 integrations
[crypto.git] / lib / silccore / silcstatus.h
index 73f598b881d124d1d3ca1226a2e3a51efd55f9e5..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
@@ -93,6 +93,17 @@ typedef SilcUInt8 SilcStatus;
 #define SILC_STATUS_ERR_AUTH_FAILED         45
 #define SILC_STATUS_ERR_UNKNOWN_ALGORITHM   46
 #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 */