identity 760 src/libsir/include/sir.h bool sir_syslogid(const char* identity); identity 224 src/libsir/include/sir/types.h char identity[SIR_MAX_SYSLOG_ID]; identity 239 src/libsir/src/sir.c bool sir_syslogid(const char* identity) { identity 241 src/libsir/src/sir.c sir_update_config_data data = {SIRU_SYSLOG_ID, NULL, NULL, identity, NULL}; identity 244 src/libsir/src/sir.c SIR_UNUSED(identity); identity 390 src/libsir/src/sirinternal.c bool cur_ok = _sir_validstrnofail(si->d_syslog.identity); identity 391 src/libsir/src/sirinternal.c if (!cur_ok || 0 != strncmp(si->d_syslog.identity, data->sl_identity, SIR_MAX_SYSLOG_ID)) { identity 393 src/libsir/src/sirinternal.c si->d_syslog.identity, data->sl_identity); identity 394 src/libsir/src/sirinternal.c (void)_sir_strncpy(si->d_syslog.identity, SIR_MAX_SYSLOG_ID, data->sl_identity, identity 401 src/libsir/src/sirinternal.c si->d_syslog.identity); identity 423 src/libsir/src/sirinternal.c si->d_syslog.identity); identity 873 src/libsir/src/sirinternal.c if (!_sir_validstrnofail(ctx->identity)) { identity 877 src/libsir/src/sirinternal.c (void)_sir_strncpy(ctx->identity, SIR_MAX_SYSLOG_ID, name, strnlen(name, SIR_MAX_SYSLOG_ID)); identity 883 src/libsir/src/sirinternal.c (void)_sir_strncpy(ctx->identity, SIR_MAX_SYSLOG_ID, appbasename, identity 887 src/libsir/src/sirinternal.c (void)_sir_strncpy(ctx->identity, SIR_MAX_SYSLOG_ID, SIR_FALLBACK_SYSLOG_ID, identity 906 src/libsir/src/sirinternal.c _sir_selflog("resolved (identity: '%s', category: '%s')", ctx->identity, ctx->category); identity 932 src/libsir/src/sirinternal.c ctx->_state.logger = (void*)os_log_create(ctx->identity, ctx->category); identity 933 src/libsir/src/sirinternal.c _sir_selflog("opened os_log ('%s', '%s')", ctx->identity, ctx->category); identity 938 src/libsir/src/sirinternal.c openlog(ctx->identity, logopt, facility); identity 939 src/libsir/src/sirinternal.c _sir_selflog("opened syslog('%s', %x, %x)", ctx->identity, logopt, facility); identity 944 src/libsir/src/sirinternal.c _sir_selflog("opened eventlog('%s')", ctx->identity); identity 1070 src/libsir/src/sirinternal.c bool identity = _sir_bittest(si->d_syslog._state.mask, SIRSL_IDENTITY); identity 1076 src/libsir/src/sirinternal.c levels, options, category, identity, is_init, is_open); identity 1082 src/libsir/src/sirinternal.c must_init = (!is_init || !is_open) || (identity || category); identity 1086 src/libsir/src/sirinternal.c must_init = (!is_init || !is_open) || (identity || options); identity 1090 src/libsir/src/sirinternal.c must_init = (!is_init || !is_open) || identity;