-
Notifications
You must be signed in to change notification settings - Fork 7
/
php_fss.h
49 lines (39 loc) · 873 Bytes
/
php_fss.h
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
45
46
47
48
49
/*
* PHP extension for fast string search routines
* Copyright Tim Starling, 2006
* License: DWTFYWWI
*/
#ifndef PHP_FSS_H
#define PHP_FSS_H
extern zend_module_entry fss_module_entry;
#define phpext_fss_ptr &fss_module_entry
#ifdef PHP_WIN32
#define PHP_FSS_API __declspec(dllexport)
#else
#define PHP_FSS_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif
PHP_MINIT_FUNCTION(fss);
PHP_MSHUTDOWN_FUNCTION(fss);
PHP_MINFO_FUNCTION(fss);
PHP_FUNCTION(fss_prep_search);
PHP_FUNCTION(fss_exec_search);
PHP_FUNCTION(fss_prep_replace);
PHP_FUNCTION(fss_exec_replace);
PHP_FUNCTION(fss_free);
#ifdef ZTS
#define FSS_G(v) TSRMG(fss_globals_id, zend_fss_globals *, v)
#else
#define FSS_G(v) (fss_globals.v)
#endif
#endif /* PHP_FSS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/