comparison include/xregex.h @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 04ced10e8804
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 /* This file redefines all regex external names before including
2 a renamed copy of glibc's regex.h. */
3
4 #ifndef _XREGEX_H
5 #define _XREGEX_H 1
6
7 # define regfree xregfree
8 # define regexec xregexec
9 # define regcomp xregcomp
10 # define regerror xregerror
11 # define re_set_registers xre_set_registers
12 # define re_match_2 xre_match_2
13 # define re_match xre_match
14 # define re_search xre_search
15 # define re_compile_pattern xre_compile_pattern
16 # define re_set_syntax xre_set_syntax
17 # define re_search_2 xre_search_2
18 # define re_compile_fastmap xre_compile_fastmap
19 # define re_syntax_options xre_syntax_options
20 # define re_max_failures xre_max_failures
21
22 # define _REGEX_RE_COMP
23 # define re_comp xre_comp
24 # define re_exec xre_exec
25
26 #include "xregex2.h"
27
28 #endif /* xregex.h */