/src/php-src/main/spprintf.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | +----------------------------------------------------------------------+ |
3 | | | Copyright (c) The PHP Group | |
4 | | +----------------------------------------------------------------------+ |
5 | | | This source file is subject to version 3.01 of the PHP license, | |
6 | | | that is bundled with this package in the file LICENSE, and is | |
7 | | | available through the world-wide-web at the following url: | |
8 | | | https://www.php.net/license/3_01.txt | |
9 | | | If you did not receive a copy of the PHP license and are unable to | |
10 | | | obtain it through the world-wide-web, please send a note to | |
11 | | | license@php.net so we can mail you a copy immediately. | |
12 | | +----------------------------------------------------------------------+ |
13 | | | Author: Marcus Boerger <helly@php.net> | |
14 | | +----------------------------------------------------------------------+ |
15 | | */ |
16 | | |
17 | | #ifndef SPPRINTF_H |
18 | | #define SPPRINTF_H |
19 | | |
20 | | #include "snprintf.h" |
21 | | #include "zend_smart_str_public.h" |
22 | | #include "zend_smart_string_public.h" |
23 | | |
24 | | BEGIN_EXTERN_C() |
25 | | PHPAPI void php_printf_to_smart_string(smart_string *buf, const char *format, va_list ap); |
26 | | PHPAPI void php_printf_to_smart_str(smart_str *buf, const char *format, va_list ap); |
27 | | END_EXTERN_C() |
28 | | |
29 | 3.70k | #define spprintf zend_spprintf |
30 | 0 | #define strpprintf zend_strpprintf |
31 | 0 | #define vspprintf zend_vspprintf |
32 | | #define vstrpprintf zend_vstrpprintf |
33 | | |
34 | | #endif /* SPPRINTF_H */ |