-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathhprose_formatter.h
47 lines (37 loc) · 1.6 KB
/
hprose_formatter.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
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* hprose_formatter.h *
* *
* hprose formatter for pecl header file. *
* *
* LastModified: Sep 1, 2015 *
* Author: Ma Bingyao <[email protected]> *
* *
\**********************************************************/
#ifndef HPROSE_FORMATTER_H
#define HPROSE_FORMATTER_H
#include "hprose_common.h"
#include "hprose_bytes_io.h"
#include "hprose_writer.h"
#include "hprose_reader.h"
#if HAVE_PHP_SESSION
#include "ext/session/php_session.h" /* for php_session_register_serializer */
#endif
BEGIN_EXTERN_C()
zend_class_entry *get_hprose_formatter_ce();
HPROSE_STARTUP_FUNCTION(formatter);
#if HAVE_PHP_SESSION
PS_SERIALIZER_FUNCS(hprose);
#endif
ZEND_FUNCTION(hprose_serialize);
ZEND_FUNCTION(hprose_unserialize);
END_EXTERN_C()
#endif /* HPROSE_FORMATTER_H */