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