Resource and persistent handle factory API
A facility to manage possibly persistent resources with a comprehensible API. Provides simliar functionality like the zend_list API, but with more flexiblity and freedom.
php_raphf.h
Go to the documentation of this file.
1 /*
2  +--------------------------------------------------------------------+
3  | PECL :: raphf |
4  +--------------------------------------------------------------------+
5  | Redistribution and use in source and binary forms, with or without |
6  | modification, are permitted provided that the conditions mentioned |
7  | in the accompanying LICENSE file are met. |
8  +--------------------------------------------------------------------+
9  | Copyright (c) 2013, Michael Wallner <mike@php.net> |
10  +--------------------------------------------------------------------+
11 */
12 
13 #ifndef PHP_RAPHF_H
14 #define PHP_RAPHF_H
15 
16 extern zend_module_entry raphf_module_entry;
17 #define phpext_raphf_ptr &raphf_module_entry
18 
19 #define PHP_RAPHF_VERSION "2.0.0dev"
20 
21 #ifdef PHP_WIN32
22 # define PHP_RAPHF_API __declspec(dllexport)
23 #elif defined(__GNUC__) && __GNUC__ >= 4
24 # define PHP_RAPHF_API extern __attribute__ ((visibility("default")))
25 #else
26 # define PHP_RAPHF_API extern
27 #endif
28 
29 #ifdef ZTS
30 # include "TSRM.h"
31 #endif
32 
33 #include "php_raphf_api.h"
34 
35 #endif /* PHP_RAPHF_H */
36 
37 
38 /*
39  * Local variables:
40  * tab-width: 4
41  * c-basic-offset: 4
42  * End:
43  * vim600: noet sw=4 ts=4 fdm=marker
44  * vim<600: noet sw=4 ts=4
45  */
zend_module_entry raphf_module_entry
Definition: php_raphf_api.c:670