/* +----------------------------------------------------------------------+ | Zend OPcache | +----------------------------------------------------------------------+ | Copyright © The PHP Group and Contributors. | +----------------------------------------------------------------------+ | This source file is subject to the Modified BSD License that is | | bundled with this package in the file LICENSE, and is available | | through the World Wide Web at . | | | | SPDX-License-Identifier: BSD-3-Clause | +----------------------------------------------------------------------+ | Authors: Andi Gutmans | | Zeev Suraski | | Stanislav Malyshev | | Dmitry Stogov | +----------------------------------------------------------------------+ */ #ifndef ZEND_ACCELERATOR_DEBUG_H #define ZEND_ACCELERATOR_DEBUG_H #define ACCEL_LOG_FATAL 0 #define ACCEL_LOG_ERROR 1 #define ACCEL_LOG_WARNING 2 #define ACCEL_LOG_INFO 3 #define ACCEL_LOG_DEBUG 4 BEGIN_EXTERN_C() void zend_accel_error(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3); ZEND_NORETURN void zend_accel_error_noreturn(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3); END_EXTERN_C() #endif /* _ZEND_ACCELERATOR_DEBUG_H */