mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
8b3993bc01
Docs/Makefile.am: Removed typo Docs/internals.texi: Added documentation about filesort Docs/manual.texi: Lots of changes, including information about the password in the mysql.user table config.h.in: ***MISSING WEAVE*** heap/hp_rnext.c: Fix of reading of read-next include/config-win.h: Fix for Ia64 include/global.h: Fix for Ia64 include/my_base.h: Fix for Ia64 include/myisam.h: New repair options isam/_dynrec.c: Typo fixes isam/_search.c: Fix for Ia64 merge/rrnd.c: Fix of ORDER BY for MERGE tables myisam/ft_eval.c: Fix for Ia64 myisam/ft_parser.c: Fix for Ia64 myisam/ft_static.c: Portability fixes myisam/mi_check.c: Fix for Ia64 + delay key creation myisam/mi_locking.c: Portability fixes myisam/myisamdef.h: Fixes for automatic table repair myisam/myisampack.c: Version number increment myisammrg/myrg_rrnd.c: Fix of ORDER BY for mymerge tables mysql.proj: Updated mysys/charset.c: Fix for Ia64 mysys/mf_casecnv.c: Fix for Ia64 mysys/mf_pack.c: Fix for Ia64 mysys/mf_path.c: Fix for Ia64 mysys/mf_wfile.c: Fix for Ia64 mysys/my_alloc.c: Fix for Ia64 mysys/my_lib.c: Fix for Ia64 mysys/my_lread.c: Fix for Ia64 mysys/my_lwrite.c: Fix for Ia64 mysys/my_winthread.c: Fix for Ia64 mysys/string.c: Fix for Ia64 mysys/thr_alarm.c: Fix for Ia64 mysys/thr_rwlock.c: Fix of scheduler bug for systems without rw_locks regex/regcomp.c: Fix for Ia64 regex/regex.h: Fix for Ia64 regex/regex2.h: Fix for Ia64 scripts/mysqlhotcopy.sh: Explicit version number (because of bitkeeper) sql-bench/bench-init.pl.sh: New help message sql-bench/server-cfg.sh: Updates for postgreSQL 7.0 sql/ChangeLog: Changelog sql/field.cc: Fix of datetime function handling sql/filesort.cc: More comments sql/gen_lex_hash.cc: More options sql/ha_berkeley.cc: Fix for part key reading sql/ha_berkeley.h: Indentation sql/ha_myisam.cc: Fix for delayed key creation sql/ha_myisam.h: Fix for delayed key creation sql/handler.h: Fix for delayed key creation sql/item_func.cc: Fix of crash when using constant expression with UDF functions in WHERE sql/item_timefunc.cc: Fix of datetime function handling sql/mini_client.cc: Portability fix sql/mysql_priv.h: Optimization of select initialization sql/mysqld.cc: Portability fixes, thread cache and min argument for connect_timeout sql/sql_load.cc: Delayed key handling sql/sql_parse.cc: Portability fixes and select initialization optimization sql/sql_select.cc: Small optimization + more comments sql/sql_table.cc: Fix default value adding to blob with alter table + delayed index creation sql/sql_yacc.yy: Optimized select initialization sql/structs.h: Fix for part key read strings/ctype-sjis.c: Fix for Ia64 strings/ctype-tis620.c: Fix for Ia64 strings/t_ctype.h: bk fix support-files/mysql.spec.sh: Added comment vio/viotest-ssl.cc: bk fix vio/viotest-sslconnect.cc: bk fix vio/viotest.cc: bk fix BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
83 lines
2 KiB
C
83 lines
2 KiB
C
#ifndef _REGEX_H_
|
|
#define _REGEX_H_ /* never again */
|
|
/* ========= begin header generated by ./mkh ========= */
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* === regex2.h === */
|
|
#ifdef _WIN64
|
|
typedef __int64 regoff_t;
|
|
#else
|
|
typedef off_t regoff_t;
|
|
#endif
|
|
struct re_guts; /* none of your business :-) */
|
|
typedef struct {
|
|
int re_magic;
|
|
size_t re_nsub; /* number of parenthesized subexpressions */
|
|
const char *re_endp; /* end pointer for REG_PEND */
|
|
struct re_guts *re_g; /* none of your business :-) */
|
|
} regex_t;
|
|
typedef struct {
|
|
regoff_t rm_so; /* start of match */
|
|
regoff_t rm_eo; /* end of match */
|
|
} regmatch_t;
|
|
|
|
|
|
/* === regcomp.c === */
|
|
extern int regcomp(regex_t *, const char *, int);
|
|
#define REG_BASIC 0000
|
|
#define REG_EXTENDED 0001
|
|
#define REG_ICASE 0002
|
|
#define REG_NOSUB 0004
|
|
#define REG_NEWLINE 0010
|
|
#define REG_NOSPEC 0020
|
|
#define REG_PEND 0040
|
|
#define REG_DUMP 0200
|
|
|
|
|
|
/* === regerror.c === */
|
|
#define REG_NOMATCH 1
|
|
#define REG_BADPAT 2
|
|
#define REG_ECOLLATE 3
|
|
#define REG_ECTYPE 4
|
|
#define REG_EESCAPE 5
|
|
#define REG_ESUBREG 6
|
|
#define REG_EBRACK 7
|
|
#define REG_EPAREN 8
|
|
#define REG_EBRACE 9
|
|
#define REG_BADBR 10
|
|
#define REG_ERANGE 11
|
|
#define REG_ESPACE 12
|
|
#define REG_BADRPT 13
|
|
#define REG_EMPTY 14
|
|
#define REG_ASSERT 15
|
|
#define REG_INVARG 16
|
|
#define REG_ATOI 255 /* convert name to number (!) */
|
|
#define REG_ITOA 0400 /* convert number to name (!) */
|
|
extern size_t regerror(int, const regex_t *, char *, size_t);
|
|
|
|
|
|
/* === regexec.c === */
|
|
extern int regexec(const regex_t *, const char *, size_t, regmatch_t [], int);
|
|
#define REG_NOTBOL 00001
|
|
#define REG_NOTEOL 00002
|
|
#define REG_STARTEND 00004
|
|
#define REG_TRACE 00400 /* tracing of execution */
|
|
#define REG_LARGE 01000 /* force large representation */
|
|
#define REG_BACKR 02000 /* force use of backref code */
|
|
|
|
|
|
/* === regfree.c === */
|
|
extern void regfree(regex_t *);
|
|
|
|
/* === reginit.c === */
|
|
|
|
extern void regex_init(void); /* Should be called for multithread progs */
|
|
extern void regex_end(void); /* If one wants a clean end */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/* ========= end header generated by ./mkh ========= */
|
|
#endif
|