category 788 src/libsir/include/sir.h bool sir_syslogcat(const char* category); category 230 src/libsir/include/sir/types.h char category[SIR_MAX_SYSLOG_CAT]; category 249 src/libsir/src/sir.c bool sir_syslogcat(const char* category) { category 251 src/libsir/src/sir.c sir_update_config_data data = {SIRU_SYSLOG_CAT, NULL, NULL, NULL, category}; category 254 src/libsir/src/sir.c SIR_UNUSED(category); category 412 src/libsir/src/sirinternal.c bool cur_ok = _sir_validstrnofail(si->d_syslog.category); category 413 src/libsir/src/sirinternal.c if (!cur_ok || 0 != strncmp(si->d_syslog.category, data->sl_category, SIR_MAX_SYSLOG_CAT)) { category 415 src/libsir/src/sirinternal.c si->d_syslog.category, data->sl_category); category 416 src/libsir/src/sirinternal.c (void)_sir_strncpy(si->d_syslog.category, SIR_MAX_SYSLOG_CAT, data->sl_category, category 897 src/libsir/src/sirinternal.c if (!_sir_validstrnofail(ctx->category)) { category 899 src/libsir/src/sirinternal.c (void)_sir_strncpy(ctx->category, SIR_MAX_SYSLOG_CAT, SIR_FALLBACK_SYSLOG_CAT, category 906 src/libsir/src/sirinternal.c _sir_selflog("resolved (identity: '%s', category: '%s')", ctx->identity, ctx->category); category 932 src/libsir/src/sirinternal.c ctx->_state.logger = (void*)os_log_create(ctx->identity, ctx->category); category 933 src/libsir/src/sirinternal.c _sir_selflog("opened os_log ('%s', '%s')", ctx->identity, ctx->category); category 1069 src/libsir/src/sirinternal.c bool category = _sir_bittest(si->d_syslog._state.mask, SIRSL_CATEGORY); category 1076 src/libsir/src/sirinternal.c levels, options, category, identity, is_init, is_open); category 1082 src/libsir/src/sirinternal.c must_init = (!is_init || !is_open) || (identity || category);