Home | History | Annotate | Download | only in syslogd

Lines Matching defs:TypeInfo

142 struct TypeInfo {
151 } TypeInfo[] = {
2309 if (TypeInfo[f->f_type].max_msg_length != -1
2310 && (size_t)TypeInfo[f->f_type].max_msg_length
2312 linelen = TypeInfo[f->f_type].max_msg_length
2407 DPRINTF(D_MISC, "Logging to %s\n", TypeInfo[f->f_type].name);
2412 TypeInfo[f->f_type].name, f->f_un.f_forw.f_hname);
2419 TypeInfo[f->f_type].name,
2431 TypeInfo[f->f_type].name, f->f_un.f_pipe.f_pname);
2496 TypeInfo[f->f_type].name);
2504 TypeInfo[f->f_type].name, f->f_un.f_fname);
2555 TypeInfo[f->f_type].name, f->f_un.f_fname);
2609 DPRINTF(D_MISC, "Logging to %s\n", TypeInfo[f->f_type].name);
2852 TypeInfo[f->f_type].name, f->f_prevcount,
3074 for (j = 0; j < A_CNT(TypeInfo); j++) {
3075 FREEPTR(TypeInfo[j].queue_length_string);
3076 FREEPTR(TypeInfo[j].queue_size_string);
3200 {"tls_queue_length", &TypeInfo[F_TLS].queue_length_string},
3201 {"tls_queue_size", &TypeInfo[F_TLS].queue_size_string},
3203 {"file_queue_length", &TypeInfo[F_FILE].queue_length_string},
3204 {"pipe_queue_length", &TypeInfo[F_PIPE].queue_length_string},
3205 {"fifo_queue_length", &TypeInfo[F_FIFO].queue_length_string},
3206 {"file_queue_size", &TypeInfo[F_FILE].queue_size_string},
3207 {"pipe_queue_size", &TypeInfo[F_PIPE].queue_size_string},
3208 {"fifo_queue_size", &TypeInfo[F_FIFO].queue_size_string},
3220 for (i = 0; i < A_CNT(TypeInfo); i++) {
3221 if (TypeInfo[i].queue_length_string
3222 && TypeInfo[i].queue_length_string
3223 != TypeInfo[i].default_length_string) {
3224 FREEPTR(TypeInfo[i].queue_length_string);
3225 TypeInfo[i].queue_length_string =
3226 strdup(TypeInfo[i].default_length_string);
3228 if (TypeInfo[i].queue_size_string
3229 && TypeInfo[i].queue_size_string
3230 != TypeInfo[i].default_size_string) {
3231 FREEPTR(TypeInfo[i].queue_size_string);
3232 TypeInfo[i].queue_size_string =
3233 strdup(TypeInfo[i].default_size_string);
3294 for (i = 0; i < A_CNT(TypeInfo); i++) {
3295 if (!TypeInfo[i].queue_length_string
3296 || dehumanize_number(TypeInfo[i].queue_length_string,
3297 &TypeInfo[i].queue_length) == -1)
3298 if (dehumanize_number(TypeInfo[i].default_length_string,
3299 &TypeInfo[i].queue_length) == -1)
3301 if (!TypeInfo[i].queue_size_string
3302 || dehumanize_number(TypeInfo[i].queue_size_string,
3303 &TypeInfo[i].queue_size) == -1)
3304 if (dehumanize_number(TypeInfo[i].default_size_string,
3305 &TypeInfo[i].queue_size) == -1)
3625 printf("%s: ", TypeInfo[f->f_type].name);
3683 TypeInfo[F_TLS].queue_length, TypeInfo[F_FILE].queue_length,
3684 TypeInfo[F_PIPE].queue_length,
3685 TypeInfo[F_TLS].queue_size, TypeInfo[F_FILE].queue_size,
3686 TypeInfo[F_PIPE].queue_size);
4530 || (TypeInfo[f->f_type].queue_length != -1
4531 && (size_t)TypeInfo[f->f_type].queue_length <= f->f_qelements)
4532 || (TypeInfo[f->f_type].queue_size != -1
4533 && (size_t)TypeInfo[f->f_type].queue_size <= f->f_qsize)) {