-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphp_aokex.h
39 lines (28 loc) · 822 Bytes
/
php_aokex.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
/*
* AOChat -- library for talking with the Anarchy Online chat servers
*
* Copyright (c) 2002-2005, Oskari Saarenmaa <[email protected]>
*
* This file is under the 2-clause BSD license.
* See the file `LICENSE` for details.
*
*/
#ifndef PHP_AOKEX_H
#define PHP_AOKEX_H
#if HAVE_AOKEX
extern zend_module_entry aokex_module_entry;
#define aokex_module_ptr &aokex_module_entry
PHP_MINIT_FUNCTION(aokex);
PHP_MINFO_FUNCTION(aokex);
PHP_RINIT_FUNCTION(aokex);
PHP_FUNCTION(aokex_login_key);
ZEND_BEGIN_MODULE_GLOBALS(aokex)
ZEND_END_MODULE_GLOBALS(aokex)
#else /* HAVE_AOKEX */
#define aokex_module_ptr NULL
#endif /* HAVE_AOKEX */
#define phpext_aokex_ptr aokex_module_ptr
void *aokex_malloc(size_t);
void *aokex_realloc(void *, size_t, size_t);
void aokex_free(void *, size_t);
#endif /* PHP_AOKEX_H */