25 #ifndef LOGPROTO_H_INCLUDED
26 #define LOGPROTO_H_INCLUDED
30 #define RFC6587_MAX_FRAME_LEN_DIGITS 10
60 log_proto_get_char_size_for_fixed_encoding(
const gchar *encoding)
80 {
"wchar_t",
sizeof(wchar_t) },
86 for (i = 0; fixed_encodings[i].prefix; i++)
88 if (strncasecmp(encoding, fixed_encodings[i].prefix, strlen(fixed_encodings[i].prefix)) == 0)
90 scale = fixed_encodings[i].scale;
LogProtoStatus
Definition: logproto.h:33
@ LPS_SUCCESS
Definition: logproto.h:34
@ LPS_AGAIN
Definition: logproto.h:38
@ LPS_EOF
Definition: logproto.h:36
@ LPS_PARTIAL
Definition: logproto.h:37
@ LPS_ERROR
Definition: logproto.h:35