Added silc_subst, regex matching and substitution with the
[silc.git] / lib / silcutil / silcerrno.h
index c13749ac745ca30854c5ee19d53dbb3aa629371a..ebf329285fba82bd89e4872e2dfbe93f1869882d 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2007 Pekka Riikonen
+  Copyright (C) 2007 - 2008 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -94,6 +94,7 @@ typedef enum {
   SILC_ERR_INTERRUPTED                 = 23,  /* Interrupted */
   SILC_ERR_NOT_VALID                   = 24,  /* Not valid */
   SILC_ERR_LIMIT                       = 25,  /* Limit reached */
+  SILC_ERR_SYNTAX                      = 26,  /* Syntax error */
 
   /* File, directory and device errors */
   SILC_ERR_NO_SUCH_FILE                = 40,  /* No such file */
@@ -132,6 +133,8 @@ typedef enum {
   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_REGEX_OPCODE                = 105, /* Bad regex opcode */
+  SILC_ERR_REGEX_REPEAT                = 106, /* Bad repeat value */
 
   SILC_ERR_MAX,
 } SilcResult;