From 33968e12fc2c455056f41a5748117c7b37c77217 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 9 Jul 2020 08:48:18 +0200 Subject: update to 0.47.0 open https://github.com/DataDog/dd-trace-php/pull/952 improve CGI usage in test suite open https://github.com/DataDog/dd-trace-php/issues/953 missing files in 0.47.0 archive --- engine_api.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 engine_api.h (limited to 'engine_api.h') diff --git a/engine_api.h b/engine_api.h new file mode 100644 index 0000000..e0948ac --- /dev/null +++ b/engine_api.h @@ -0,0 +1,17 @@ +#ifndef DDTRACE_PHP_5_ENGINE_API_H +#define DDTRACE_PHP_5_ENGINE_API_H + +/* This file is for things that make working with the engine easier. Good + * candidates include: + * - Wrappers for functions which change signature/semantics over time. + * - Wrappers that reduce verbosity when working with zend_* functions. + * - Functions that perform high-level language tasks, such as reading and + * writing object properties, calling functions, calling methods, etc. + */ + +#include + +int ddtrace_call_sandboxed_function(const char *name, size_t name_len, zval **retval, int argc, + zval **argv[] TSRMLS_DC); + +#endif // DDTRACE_PHP_5_ENGINE_API_H -- cgit