1 /* 2 +----------------------------------------------------------------------+ 3 | Zend Engine | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 2.00 of the Zend license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.zend.com/license/2_00.txt. | 11 | If you did not receive a copy of the Zend license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@zend.com so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Authors: David Soria Parra <david.soriaparra@sun.com> | 16 +----------------------------------------------------------------------+ 17 */ 18 19 /* $Id: $ */ 20 21 #ifndef _ZEND_DTRACE_H 22 #define _ZEND_DTRACE_H 23 24 #ifndef ZEND_WIN32 25 # include <unistd.h> 26 #endif 27 28 #ifdef __cplusplus 29 extern "C" { 30 #endif 31 32 #ifdef HAVE_DTRACE 33 ZEND_API extern zend_op_array *(*zend_dtrace_compile_file)(zend_file_handle *file_handle, int type); 34 ZEND_API extern void (*zend_dtrace_execute)(zend_op_array *op_array); 35 ZEND_API extern void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data, zval *return_value); 36 37 ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type); 38 ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data); 39 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value); 40 #include <zend_dtrace_gen.h> 41 42 #endif /* HAVE_DTRACE */ 43 44 #ifdef __cplusplus 45 } 46 #endif 47 48 #endif /* _ZEND_DTRACE_H */ 49 50 /* 51 * Local variables: 52 * tab-width: 4 53 * c-basic-offset: 4 54 * indent-tabs-mode: t 55 * End: 56 * vim600: sw=4 ts=4 fdm=marker 57 * vim<600: sw=4 ts=4 58 */ 59