zend_dtrace.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. /* $Id: $ */
  19. #ifndef _ZEND_DTRACE_H
  20. #define _ZEND_DTRACE_H
  21. #ifndef ZEND_WIN32
  22. # include <unistd.h>
  23. #endif
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. #ifdef HAVE_DTRACE
  28. ZEND_API zend_op_array *(*zend_dtrace_compile_file)(zend_file_handle *file_handle, int type TSRMLS_DC);
  29. ZEND_API void (*zend_dtrace_execute)(zend_op_array *op_array TSRMLS_DC);
  30. ZEND_API void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data_ptr, zend_fcall_info *fci, int return_value_used TSRMLS_DC);
  31. ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type TSRMLS_DC);
  32. ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data TSRMLS_DC);
  33. ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data_ptr, zend_fcall_info *fci, int return_value_used TSRMLS_DC);
  34. #include <zend_dtrace_gen.h>
  35. #endif /* HAVE_DTRACE */
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif /* _ZEND_DTRACE_H */