1 /*
2   +----------------------------------------------------------------------+
3   | Yet Another Framework                                                |
4   +----------------------------------------------------------------------+
5   | This source file is subject to version 3.01 of the PHP license,      |
6   | that is bundled with this package in the file LICENSE, and is        |
7   | available through the world-wide-web at the following url:           |
8   | http://www.php.net/license/3_01.txt                                  |
9   | If you did not receive a copy of the PHP license and are unable to   |
10   | obtain it through the world-wide-web, please send a note to          |
11   | license@php.net so we can mail you a copy immediately.               |
12   +----------------------------------------------------------------------+
13   | Author: Xinchen Hui  <laruence@php.net>                              |
14   +----------------------------------------------------------------------+
15 */
16 
17 #ifndef YAF_VIEW_SIMPLE_H
18 #define YAF_VIEW_SIMPLE_H
19 
20 #define VIEW_BUFFER_BLOCK_SIZE	4096
21 #define VIEW_BUFFER_SIZE_MASK 	4095
22 
23 extern zend_class_entry *yaf_view_simple_ce;
24 
25 void yaf_view_simple_instance(yaf_view_t *view, zend_string *tpl_dir);
26 int yaf_view_simple_render(yaf_view_t *view, zend_string *tpl, zval *vars, zval *ret);
27 
28 YAF_STARTUP_FUNCTION(view_simple);
29 
30 #endif
31 /*
32  * Local variables:
33  * tab-width: 4
34  * c-basic-offset: 4
35  * End:
36  * vim600: noet sw=4 ts=4 fdm=marker
37  * vim<600: noet sw=4 ts=4
38  */
39