Rev 8793 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8687 | turbocat | 1 | #include |
2 | #include |
||
3 | |||
4 | #pragma pack(push,1) |
||
5 | typedef struct { |
||
6 | void (*fct)(char character, void* arg); |
||
7 | void* arg; |
||
8 | } out_fct_wrap_type; |
||
9 | #pragma pack(pop) |
||
10 | |||
11 | typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen); |
||
12 | void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen); |
||
13 | void _out_null(char character, void* buffer, size_t idx, size_t maxlen); |
||
14 | int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va); |