#include "syslog-ng.h"
#include <string.h>
Go to the source code of this file.
◆ APPEND_ZERO
| #define APPEND_ZERO |
( |
|
dest, |
|
|
|
value, |
|
|
|
value_len |
|
) |
| |
Value: do { \
gchar *__buf; \
if (G_UNLIKELY(
value[value_len] != 0)) \
{ \
\
\
__buf = g_alloca(value_len + 1); \
memcpy(__buf,
value, value_len); \
__buf[value_len] = 0; \
} \
else \
{ \
\
__buf = (gchar *)
value; \
} \
dest = __buf; \
} while (0)
GString * value
Definition: test_decode.c:28
◆ __normalize_key()
| gchar* __normalize_key |
( |
const gchar * |
buffer | ) |
|
◆ g_string_assign_len()
| GString* g_string_assign_len |
( |
GString * |
s, |
|
|
const gchar * |
val, |
|
|
gint |
len |
|
) |
| |
◆ g_string_steal()
| gchar* g_string_steal |
( |
GString * |
s | ) |
|
◆ normalize_flag()
| gchar* normalize_flag |
( |
const gchar * |
buffer | ) |
|