10 lines
395 B
C
10 lines
395 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
#ifndef VCC_FORMAT_INTERNAL_H
|
|
#define VCC_FORMAT_INTERNAL_H
|
|
#include <stdarg.h>
|
|
|
|
// A null source repeats fill. The sink accepts all count bytes or returns -1.
|
|
typedef int (*VCCFormatWrite)(void *context, const char *source, char fill, unsigned count);
|
|
int vcc_format_to(VCCFormatWrite write, void *context, const char *format, va_list args);
|
|
#endif
|