-
Notifications
You must be signed in to change notification settings - Fork 2
/
php_qrencode.h
47 lines (38 loc) · 1.44 KB
/
php_qrencode.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
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 2007 Vanilla (San Tai) Hsu |
+----------------------------------------------------------------------+
| This source file is subject to the BSD license, that is bundled with |
| this package in the file LICENSE |
+----------------------------------------------------------------------+
| Author: Vanilla (San Tai) Hsu ([email protected]> |
+----------------------------------------------------------------------+
*/
/*
* $Header: /home/ncvs/php_extension/qrencode/php_qrencode.h,v 1.1 2007/03/29 08:58:11 vanilla Exp $
*/
#ifndef PHP_QRENCODE_H
#define PHP_QRENCODE_H
extern zend_module_entry qrencode_module_entry;
#define phpext_qrencode_ptr &qrencode_module_entry
#ifdef PHP_WIN32
#define PHP_QRENCODE_API __declspec(dllexport)
#else
#define PHP_QRENCODE_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif
PHP_MINIT_FUNCTION(qrencode);
PHP_MSHUTDOWN_FUNCTION(qrencode);
PHP_MINFO_FUNCTION(qrencode);
PHP_FUNCTION(qr_encode);
PHP_FUNCTION(qr_save);
#ifdef ZTS
#define QRENCODE_G(v) TSRMG(qrencode_globals_id, zend_qrencode_globals *, v)
#else
#define QRENCODE_G(v) (qrencode_globals.v)
#endif
#endif /* PHP_QRENCODE_H */