-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathutil.h
20 lines (17 loc) · 1.12 KB
/
util.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
+----------------------------------------------------------------------+
| Memprof |
+----------------------------------------------------------------------+
| Copyright (c) 2012-2013 Arnaud Le Blanc |
+----------------------------------------------------------------------+
| Redistribution and use in source and binary forms, with or without |
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+----------------------------------------------------------------------+
| Author: Arnaud Le Blanc <arnaud.lb@gmail.com> |
+----------------------------------------------------------------------+
*/
zend_bool stream_printf(php_stream * stream, const char * format, ...);
zend_bool stream_write_word(php_stream * stream, zend_uintptr_t word);
size_t get_file_name(zend_execute_data * execute_data, char * buf, size_t buf_size);
size_t get_function_name(zend_execute_data * execute_data, char * buf, size_t buf_size);