-
Notifications
You must be signed in to change notification settings - Fork 66
/
php_phpiredis.h
41 lines (33 loc) · 1.11 KB
/
php_phpiredis.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
#ifndef PHP_PHPIREDIS_H
#define PHP_PHPIREDIS_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdint.h>
uint16_t crc16(const char *buf, int len);
#include "php.h"
#include "php_ini.h"
#define PHP_PHPIREDIS_VERSION "1.1.0-dev"
#define PHP_PHPIREDIS_EXTNAME "phpiredis"
PHP_MINIT_FUNCTION(phpiredis);
PHP_FUNCTION(phpiredis_connect);
PHP_FUNCTION(phpiredis_pconnect);
PHP_FUNCTION(phpiredis_disconnect);
PHP_FUNCTION(phpiredis_command_bs);
PHP_FUNCTION(phpiredis_command);
PHP_FUNCTION(phpiredis_multi_command);
PHP_FUNCTION(phpiredis_multi_command_bs);
PHP_FUNCTION(phpiredis_format_command);
PHP_FUNCTION(phpiredis_reader_create);
PHP_FUNCTION(phpiredis_reader_reset);
PHP_FUNCTION(phpiredis_reader_feed);
PHP_FUNCTION(phpiredis_reader_get_state);
PHP_FUNCTION(phpiredis_reader_get_error);
PHP_FUNCTION(phpiredis_reader_get_reply);
PHP_FUNCTION(phpiredis_reader_destroy);
PHP_FUNCTION(phpiredis_reader_set_error_handler);
PHP_FUNCTION(phpiredis_reader_set_status_handler);
PHP_FUNCTION(phpiredis_utils_crc16);
extern zend_module_entry phpiredis_module_entry;
#define phpext_phpiredis_ptr &phpiredis_module_entry
#endif