4 Star 5 Fork 1

科学大数据开源社区/文件系统-leaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Cregexp.h 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
XuQi0207 提交于 9年前 . 2016-12-2 15:45
/*
* Cregexp.h,v 1.1 2001/11/30 10:55:27 jdurand Exp
*/
#ifndef __Cregexp_h
#define __Cregexp_h
/* ============= */
/* Local headers */
/* ============= */
#include <osdep.h>
/*
* Definitions etc. for regexp(3) routines.
*
* Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
* not the System V one.
*/
#ifdef CREGEXP_NSUBEXP
#undef CREGEXP_NSUBEXP
#endif
#define CREGEXP_NSUBEXP 10
struct Cregexp {
char *startp[CREGEXP_NSUBEXP];
char *endp[CREGEXP_NSUBEXP];
char regstart; /* Internal use only. */
char reganch; /* Internal use only. */
char *regmust; /* Internal use only. */
int regmlen; /* Internal use only. */
char program[1]; /* Unwarranted chumminess with compiler. */
};
typedef struct Cregexp Cregexp_t;
EXTERN_C Cregexp_t DLL_DECL *Cregexp_comp _PROTO((char *));
EXTERN_C int DLL_DECL Cregexp_exec _PROTO((Cregexp_t *, char *));
EXTERN_C int DLL_DECL Cregexp_sub _PROTO((Cregexp_t *, char *, char *, size_t));
EXTERN_C int DLL_DECL Cregexp_dump _PROTO((Cregexp_t *));
#endif /* __Cregexp_h */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opensci/leaf.git
git@gitee.com:opensci/leaf.git
opensci
leaf
文件系统-leaf
master

搜索帮助