-
Notifications
You must be signed in to change notification settings - Fork 13
/
php_xxtea.h
43 lines (35 loc) · 1.57 KB
/
php_xxtea.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
/**********************************************************\
| |
| php_xxtea.h |
| |
| XXTEA for pecl include file. |
| |
| Encryption Algorithm Authors: |
| David J. Wheeler |
| Roger M. Needham |
| |
| Code Author: Ma Bingyao <[email protected]> |
| LastModified: Apr 06, 2015 |
| |
\**********************************************************/
#ifndef PHP_XXTEA_H
#define PHP_XXTEA_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
extern zend_module_entry xxtea_module_entry;
#define phpext_xxtea_ptr &xxtea_module_entry
#define PHP_XXTEA_MODULE_NAME "xxtea"
#define PHP_XXTEA_BUILD_DATE __DATE__ " " __TIME__
#define PHP_XXTEA_VERSION "1.0.11"
#define PHP_XXTEA_AUTHOR "Ma Bingyao"
#define PHP_XXTEA_HOMEPAGE "https://github.com/xxtea/xxtea-pecl"
ZEND_MINIT_FUNCTION(xxtea);
ZEND_MSHUTDOWN_FUNCTION(xxtea);
ZEND_MINFO_FUNCTION(xxtea);
/* declaration of functions to be exported */
ZEND_FUNCTION(xxtea_encrypt);
ZEND_FUNCTION(xxtea_decrypt);
ZEND_FUNCTION(xxtea_info);
#endif /* ifndef PHP_XXTEA_H */