diff options
| author | jvoisin | 2018-07-13 23:36:06 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-13 23:36:06 +0200 |
| commit | 02afd6c84f5e4f11b1de054f36d7d1da87206def (patch) | |
| tree | 934b8669e520382ce9776c61197c1391cddeca35 /src/sp_utils.h | |
| parent | 99f9ecae9a5edf5d36f5de62ccf60f9d9146057a (diff) | |
Yet an other pass of clang-format
Diffstat (limited to 'src/sp_utils.h')
| -rw-r--r-- | src/sp_utils.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h index a21a4b0..7e1103c 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h | |||
| @@ -44,20 +44,21 @@ | |||
| 44 | 44 | ||
| 45 | void sp_log_msg(char const *feature, char const *level, const char *fmt, ...); | 45 | void sp_log_msg(char const *feature, char const *level, const char *fmt, ...); |
| 46 | int compute_hash(const char *const filename, char *file_hash); | 46 | int compute_hash(const char *const filename, char *file_hash); |
| 47 | const zend_string* sp_zval_to_zend_string(zval *); | 47 | const zend_string *sp_zval_to_zend_string(zval *); |
| 48 | bool sp_match_value(const zend_string *, const zend_string *, const sp_pcre *); | 48 | bool sp_match_value(const zend_string *, const zend_string *, const sp_pcre *); |
| 49 | bool sp_match_array_key(const zval *, const zend_string *, const sp_pcre *); | 49 | bool sp_match_array_key(const zval *, const zend_string *, const sp_pcre *); |
| 50 | bool sp_match_array_value(const zval *, const zend_string *, const sp_pcre *); | 50 | bool sp_match_array_value(const zval *, const zend_string *, const sp_pcre *); |
| 51 | void sp_log_disable(const char *restrict, const char *restrict, | 51 | void sp_log_disable(const char *restrict, const char *restrict, |
| 52 | const zend_string *restrict, const sp_disabled_function *, | 52 | const zend_string *restrict, const sp_disabled_function *, |
| 53 | unsigned int, const char*restrict); | 53 | unsigned int, const char *restrict); |
| 54 | void sp_log_disable_ret(const char *restrict, const zend_string *restrict, | 54 | void sp_log_disable_ret(const char *restrict, const zend_string *restrict, |
| 55 | const sp_disabled_function *); | 55 | const sp_disabled_function *); |
| 56 | int hook_function(const char *, HashTable *, | 56 | int hook_function(const char *, HashTable *, |
| 57 | void (*)(INTERNAL_FUNCTION_PARAMETERS)); | 57 | void (*)(INTERNAL_FUNCTION_PARAMETERS)); |
| 58 | int hook_regexp(const sp_pcre *, HashTable *, | 58 | int hook_regexp(const sp_pcre *, HashTable *, |
| 59 | void (*)(INTERNAL_FUNCTION_PARAMETERS)); | 59 | void (*)(INTERNAL_FUNCTION_PARAMETERS)); |
| 60 | bool check_is_in_eval_whitelist(const zend_string * const function_name); | 60 | bool check_is_in_eval_whitelist(const zend_string *const function_name); |
| 61 | int sp_log_request(const zend_string* folder, const zend_string* text_repr, char* from); | 61 | int sp_log_request(const zend_string *folder, const zend_string *text_repr, |
| 62 | char *from); | ||
| 62 | 63 | ||
| 63 | #endif /* SP_UTILS_H */ | 64 | #endif /* SP_UTILS_H */ |
