1 
2 /*
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA - Cong WU
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  */
16 
17 /*------------------------------------------------------------------------*/
18 #ifndef __PCRE_PRIVATE_H__
19 #define __PCRE_PRIVATE_H__
20 
21 #include "dynlib_string.h"
22 #include "charEncoding.h"
23 typedef enum
24 {
25     PCRE_EXIT = 1,
26     PCRE_FINISHED_OK = 0,
27     NO_MATCH = -1,
28     NOT_ENOUGH_MEMORY_FOR_VECTOR = -2,
29     DELIMITER_NOT_ALPHANUMERIC = -3,
30     CAPTURING_SUBPATTERNS_ERROR = -4,
31     PARTIAL_MATCHING_NOT_SUPPORTED = -5,
32     CONTAINS_EXPLICIT_CR_OR_LF_MATCH = -6,
33     DUPLICATE_NAME_STATUS_CHANGES = -7,
34     TOO_BIG_FOR_OFFSET_SIZE = -8,
35     LIMIT_NOT_RELEVANT_FOR_DFA_MATCHING = -9,
36     CAN_NOT_COMPILE_PATTERN = -10,
37     MATCH_LIMIT = -11,
38     UTF8_NOT_SUPPORTED = -12
39 } pcre_error_code;
40 
41 
42 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);
43 STRING_IMPEXP pcre_error_code wide_pcre_private(const wchar_t *INPUT_LINE, const wchar_t *INPUT_PAT, int *Output_Start, int *Output_End, wchar_t*** _pstCapturedString, int* _piCapturedStringCount);
44 
45 #endif /* __PCRE_PRIVATE_H__ */
46 /*------------------------------------------------------------------------*/
47