-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
php_stribog.h
31 lines (22 loc) · 719 Bytes
/
php_stribog.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
#ifndef PHP_STRIBOG_H
#define PHP_STRIBOG_H
#include <main/php.h>
#include <ext/hash/php_hash.h>
#define PHP_STRIBOG_EXTNAME "stribog"
#define PHP_STRIBOG_EXTVER "1.1.0"
#ifndef ZEND_MOD_END
#define ZEND_MOD_END { NULL, NULL, NULL, 0 }
#endif
#if defined(__GNUC__) && __GNUC__ >= 4
# define STRIBOG_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#else
# define STRIBOG_VISIBILITY_HIDDEN
#endif
ZEND_DLEXPORT extern const php_hash_ops stribog256_hash_ops;
ZEND_DLEXPORT extern const php_hash_ops stribog512_hash_ops;
#ifdef COMPILE_DL_STRIBOG
STRIBOG_VISIBILITY_HIDDEN
#endif
extern zend_module_entry stribog_module_entry;
#define phpext_stribog_ptr &stribog_module_entry
#endif /* PHP_STRIBOG_H */