-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.h
41 lines (37 loc) · 1.74 KB
/
application.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
/*
+----------------------------------------------------------------------+
| Cheetah Framework |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: wangwei(wwww6662003@163.com) |
+----------------------------------------------------------------------+
*/
#ifndef CHEETAH_APPLICATION_H
#define CHEETAH_APPLICATION_H
#define CHEETAH_CONTROLLER "controller"
#define CHEETAH_ACTION "action"
#define CHEETAH_PARAM "param"
#define CHEETAH_BASE_DIR "base_dir"
zend_bool cheetah_eval(long type, const char * src, uint len, zval ** ret TSRMLS_DC);
zend_bool cheetah_is_readable(char * path);
zval * cheetah_create_object(const char * name TSRMLS_DC);
uint cheetah_call_user_function(zval ** obj, const char * func, zval ** ret,
zend_uint p_cnt, zval *ps[] TSRMLS_DC);
extern zend_class_entry * cheetah_application_core_ce;
PHP_MINIT_FUNCTION(cheetah_application_core);
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/