Added new SILC_STATUS_ERR_TIMEDOUT status type.
[silc.git] / lib / silccore / silcstatus.h
index 73f598b881d124d1d3ca1226a2e3a51efd55f9e5..8c91d7eb7893b8ccace45df7f703a1094e33f277 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,15 @@ 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_IS_ERROR(status) (status >= SILC_STATUS_ERR_NO_SUCH_NICK)
+
 #endif /* SILCSTATUS_H */