TypeInfo
} TypeInfo[] = {
if (TypeInfo[f->f_type].max_msg_length != -1
&& (size_t)TypeInfo[f->f_type].max_msg_length
linelen = TypeInfo[f->f_type].max_msg_length
DPRINTF(D_MISC, "Logging to %s\n", TypeInfo[f->f_type].name);
TypeInfo[f->f_type].name, f->f_un.f_forw.f_hname);
TypeInfo[f->f_type].name,
TypeInfo[f->f_type].name, f->f_un.f_pipe.f_pname);
TypeInfo[f->f_type].name);
TypeInfo[f->f_type].name, f->f_un.f_fname);
TypeInfo[f->f_type].name, f->f_un.f_fname);
DPRINTF(D_MISC, "Logging to %s\n", TypeInfo[f->f_type].name);
TypeInfo[f->f_type].name, f->f_prevcount,
for (j = 0; j < A_CNT(TypeInfo); j++) {
FREEPTR(TypeInfo[j].queue_length_string);
FREEPTR(TypeInfo[j].queue_size_string);
{"tls_queue_length", &TypeInfo[F_TLS].queue_length_string},
{"tls_queue_size", &TypeInfo[F_TLS].queue_size_string},
{"file_queue_length", &TypeInfo[F_FILE].queue_length_string},
{"pipe_queue_length", &TypeInfo[F_PIPE].queue_length_string},
{"fifo_queue_length", &TypeInfo[F_FIFO].queue_length_string},
{"file_queue_size", &TypeInfo[F_FILE].queue_size_string},
{"pipe_queue_size", &TypeInfo[F_PIPE].queue_size_string},
{"fifo_queue_size", &TypeInfo[F_FIFO].queue_size_string},
for (i = 0; i < A_CNT(TypeInfo); i++) {
if (TypeInfo[i].queue_length_string
&& TypeInfo[i].queue_length_string
!= TypeInfo[i].default_length_string) {
FREEPTR(TypeInfo[i].queue_length_string);
TypeInfo[i].queue_length_string =
strdup(TypeInfo[i].default_length_string);
if (TypeInfo[i].queue_size_string
&& TypeInfo[i].queue_size_string
!= TypeInfo[i].default_size_string) {
FREEPTR(TypeInfo[i].queue_size_string);
TypeInfo[i].queue_size_string =
strdup(TypeInfo[i].default_size_string);
for (i = 0; i < A_CNT(TypeInfo); i++) {
if (!TypeInfo[i].queue_length_string
|| dehumanize_number(TypeInfo[i].queue_length_string,
&TypeInfo[i].queue_length) == -1)
if (dehumanize_number(TypeInfo[i].default_length_string,
&TypeInfo[i].queue_length) == -1)
if (!TypeInfo[i].queue_size_string
|| dehumanize_number(TypeInfo[i].queue_size_string,
&TypeInfo[i].queue_size) == -1)
if (dehumanize_number(TypeInfo[i].default_size_string,
&TypeInfo[i].queue_size) == -1)
printf("%s: ", TypeInfo[f->f_type].name);
TypeInfo[F_TLS].queue_length, TypeInfo[F_FILE].queue_length,
TypeInfo[F_PIPE].queue_length,
TypeInfo[F_TLS].queue_size, TypeInfo[F_FILE].queue_size,
TypeInfo[F_PIPE].queue_size);
|| (TypeInfo[f->f_type].queue_length != -1
&& (size_t)TypeInfo[f->f_type].queue_length <= f->f_qelements)
|| (TypeInfo[f->f_type].queue_size != -1
&& (size_t)TypeInfo[f->f_type].queue_size <= f->f_qsize)) {