~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to regex/my_regex.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
 
30
30
/* === regcomp.c === */
 
31
typedef int (*my_regex_stack_check_t)();
31
32
extern int my_regcomp(my_regex_t *, const char *, int, CHARSET_INFO *charset);
32
33
#define REG_BASIC       0000
33
34
#define REG_EXTENDED    0001
76
77
 
77
78
/* === reginit.c === */
78
79
 
79
 
extern void my_regex_init(CHARSET_INFO *cs);    /* Should be called for multithread progs */
 
80
/* Should be called for multithread progs */
 
81
extern void my_regex_init(CHARSET_INFO *cs,  my_regex_stack_check_t func);
80
82
extern void my_regex_end(void); /* If one wants a clean end */
81
83
 
82
84
#ifdef __cplusplus