File: regex.h

package info (click to toggle)
hexer 1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 864 kB
  • sloc: ansic: 11,408; python: 290; makefile: 120; sh: 8
file content (44 lines) | stat: -rw-r--r-- 854 bytes parent folder | download
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
43
44
/* regex.h
 */

/* SPDX-FileCopyrightText: 1995,1996 Sascha Demetrio
 * SPDX-FileCopyrightText: 2009, 2015 Peter Pentchev
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef _REGEX_H_
#define _REGEX_H_

extern const char *rx_error_msg[];
extern int rx_error;
extern volatile int *rx_interrupt;
extern int rx_nomagic;
extern int rx_allmagic;
extern int rx_special_nl;
extern long rx_maxmatch;

  long
regex_search(long *, long, long, long, int, char **, long *, long *);

  int
regex_match(long *, long, char **, long *, long *);

  long *
regex_compile(const char *, const char *);

  int
regex_init(long (*)(char *, long), long (*)(long), long (*)(void));

  int
regex_reset(void);

#endif

/* end of regex.h */


/* VIM configuration: (do not delete this line)
 *
 * vim:bk:nodg:efm=%f\:%l\:%m:hid:icon:
 * vim:sw=2:sm:textwidth=79:ul=1024:wrap:
 */