utf: module string 2
[scilab.git] / scilab / modules / string / includes / pcre_private.h
1
2 /*
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA - Cong WU
5  *
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at
10  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
11  *
12  */
13
14 /*------------------------------------------------------------------------*/
15 #ifndef __PCRE_PRIVATE_H__
16 #define __PCRE_PRIVATE_H__
17
18 #include "dynlib_string.h"
19 #include "charEncoding.h"
20 typedef enum
21 {
22     PCRE_EXIT = 1,
23     PCRE_FINISHED_OK = 0,
24     NO_MATCH = -1,
25     NOT_ENOUGH_MEMORY_FOR_VECTOR = -2,
26     DELIMITER_NOT_ALPHANUMERIC = -3,
27     CAPTURING_SUBPATTERNS_ERROR = -4,
28     PARTIAL_MATCHING_NOT_SUPPORTED = -5,
29     CONTAINS_EXPLICIT_CR_OR_LF_MATCH = -6,
30     DUPLICATE_NAME_STATUS_CHANGES = -7,
31     TOO_BIG_FOR_OFFSET_SIZE = -8,
32     LIMIT_NOT_RELEVANT_FOR_DFA_MATCHING = -9,
33     CAN_NOT_COMPILE_PATTERN = -10,
34     MATCH_LIMIT = -11,
35     UTF8_NOT_SUPPORTED = -12
36 } pcre_error_code;
37
38
39 STRING_IMPEXP pcre_error_code pcre_private(const char *INPUT_LINE, const char *INPUT_PAT, int *Output_Start, int *Output_End, char*** _pstCapturedString, int* _piCapturedStringCount);
40
41 #endif /* __PCRE_PRIVATE_H__ */
42 /*------------------------------------------------------------------------*/