File SolidSyslogHeaderField.h¶
FileList > Core > Interface > SolidSyslogHeaderField.h
Go to the source code of this file
The value sink a callback writes an RFC 5424 header field (HOSTNAME / APP-NAME / PROCID) into; the sink owns the charset and the field width.
#include "ExternC.h"#include <stddef.h>#include <stdint.h>
Public Functions¶
| Type | Name |
|---|---|
| void | SolidSyslogHeaderField_PrintUsAscii (struct SolidSyslogHeaderField * field, const char * source, size_t maxLength) Appends up to maxLength bytes ofsource (stopping at a NUL terminator), substituting any byte outside printable US-ASCII ('!'..'~'), space included, with the library's substitute character. |
| void | SolidSyslogHeaderField_Uint32 (struct SolidSyslogHeaderField * field, uint32_t value) Appends the decimal digits of value (always printable US-ASCII), bounded by the same field width. |
Public Functions Documentation¶
function SolidSyslogHeaderField_PrintUsAscii¶
Appends up to maxLength bytes ofsource (stopping at a NUL terminator), substituting any byte outside printable US-ASCII ('!'..'~'), space included, with the library's substitute character.
void SolidSyslogHeaderField_PrintUsAscii (
struct SolidSyslogHeaderField * field,
const char * source,
size_t maxLength
)
Further bounded by the field width the sink was created with, shared across all appends to this field.
function SolidSyslogHeaderField_Uint32¶
Appends the decimal digits of value (always printable US-ASCII), bounded by the same field width.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogHeaderField.h