X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcerrno.h;h=c13749ac745ca30854c5ee19d53dbb3aa629371a;hp=a9de2bd956ce045fb5fef453328fa7e521975667;hb=96ae4adfa8757be98b0587941e26d0733e1fb22e;hpb=f449c0a95327fd4e60a5b9d3c9d50fae0f8d835a diff --git a/lib/silcutil/silcerrno.h b/lib/silcutil/silcerrno.h index a9de2bd9..c13749ac 100644 --- a/lib/silcutil/silcerrno.h +++ b/lib/silcutil/silcerrno.h @@ -126,6 +126,13 @@ typedef enum { SILC_ERR_NET_DOWN = 82, /* Network is down */ SILC_ERR_EOS = 83, /* End of stream */ + /* Regular expression errors */ + SILC_ERR_REGEX_PAREN = 100, /* Unmatched parenthesis */ + SILC_ERR_REGEX_HEX = 101, /* Bad hex number */ + SILC_ERR_REGEX_REG = 102, /* Bad register number */ + SILC_ERR_REGEX_SPECIAL = 103, /* Unmatched special character */ + SILC_ERR_REGEX_TOO_COMPLEX = 104, /* Too complex expression */ + SILC_ERR_MAX, } SilcResult; /***/