diff options
author | Remi Collet <remi@remirepo.net> | 2020-07-09 08:48:18 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-07-09 08:48:18 +0200 |
commit | 33968e12fc2c455056f41a5748117c7b37c77217 (patch) | |
tree | 517a73208c8529a061d2889905c08dd269613333 /engine_api.h | |
parent | 6aa9fbd1a0f28dbb18f8a2cd045e38f4c6c9e8b6 (diff) |
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
Diffstat (limited to 'engine_api.h')
-rw-r--r-- | engine_api.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <php.h> + +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 |