summaryrefslogtreecommitdiff
path: root/modules/string/includes/pcre_private.h
blob: 4c4b657eb9725c51288943526410095476601f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) INRIA - Cong WU
 *
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at
 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
 *
 */

/*------------------------------------------------------------------------*/
#ifndef __PCRE_PRIVATE_H__
#define __PCRE_PRIVATE_H__

#include "dynlib_string.h"

typedef enum
{
    PCRE_EXIT = 1,
    PCRE_FINISHED_OK = 0,
    NO_MATCH = -1,
    NOT_ENOUGH_MEMORY_FOR_VECTOR = -2,
    DELIMITER_NOT_ALPHANUMERIC = -3,
    CAPTURING_SUBPATTERNS_ERROR = -4,
    PARTIAL_MATCHING_NOT_SUPPORTED = -5,
    CONTAINS_EXPLICIT_CR_OR_LF_MATCH = -6,
    DUPLICATE_NAME_STATUS_CHANGES = -7,
    TOO_BIG_FOR_OFFSET_SIZE = -8,
    LIMIT_NOT_RELEVANT_FOR_DFA_MATCHING = -9,
    CAN_NOT_COMPILE_PATTERN = -10,
    MATCH_LIMIT = -11,
    UTF8_NOT_SUPPORTED = -12
} pcre_error_code;


STRING_IMPEXP pcre_error_code pcre_private(char *INPUT_LINE, char *INPUT_PAT, int *Output_Start, int *Output_End, char*** _pstCapturedString, int* _piCapturedStringCount);

#endif /* __PCRE_PRIVATE_H__ */
/*------------------------------------------------------------------------*/