d_syslog 247 src/libsir/include/sir/types.h sir_syslog_dest d_syslog; /**< System logger configuration. */ d_syslog 102 src/libsir/src/sirinternal.c si->d_syslog.opts = SIRO_DEFAULT; d_syslog 103 src/libsir/src/sirinternal.c si->d_syslog.levels = SIRL_DEFAULT; d_syslog 105 src/libsir/src/sirinternal.c si->d_syslog.opts = SIRO_MSGONLY; d_syslog 106 src/libsir/src/sirinternal.c si->d_syslog.levels = SIRL_NONE; d_syslog 144 src/libsir/src/sirinternal.c _sir_defaultlevels(&si->d_syslog.levels, sir_syslog_def_lvls); d_syslog 145 src/libsir/src/sirinternal.c _sir_defaultopts(&si->d_syslog.opts, sir_syslog_def_opts); d_syslog 195 src/libsir/src/sirinternal.c _sir_syslog_reset(&_cfg->si.d_syslog); d_syslog 197 src/libsir/src/sirinternal.c if (_cfg->si.d_syslog.levels != SIRL_NONE && d_syslog 198 src/libsir/src/sirinternal.c !_sir_syslog_init(_cfg->si.name, &_cfg->si.d_syslog)) { d_syslog 235 src/libsir/src/sirinternal.c if (!_sir_syslog_close(&_cfg->si.d_syslog)) { d_syslog 240 src/libsir/src/sirinternal.c _sir_syslog_reset(&_cfg->si.d_syslog); d_syslog 297 src/libsir/src/sirinternal.c _sir_eqland(levelcheck, _sir_validlevels(si->d_syslog.levels)); d_syslog 298 src/libsir/src/sirinternal.c _sir_eqland(regcheck, SIRL_NONE == si->d_syslog.levels); d_syslog 309 src/libsir/src/sirinternal.c _sir_eqland(optscheck, _sir_validopts(si->d_syslog.opts)); d_syslog 367 src/libsir/src/sirinternal.c bool updated = _sir_updatelevels(SIR_DESTNAME_SYSLOG, &si->d_syslog.levels, data->levels); d_syslog 369 src/libsir/src/sirinternal.c _sir_setbitshigh(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_LEVELS); d_syslog 371 src/libsir/src/sirinternal.c _sir_setbitslow(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_LEVELS); d_syslog 377 src/libsir/src/sirinternal.c bool updated = _sir_updateopts(SIR_DESTNAME_SYSLOG, &si->d_syslog.opts, data->opts); d_syslog 379 src/libsir/src/sirinternal.c _sir_setbitshigh(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_OPTIONS); d_syslog 381 src/libsir/src/sirinternal.c _sir_setbitslow(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_OPTIONS); d_syslog 390 src/libsir/src/sirinternal.c bool cur_ok = _sir_validstrnofail(si->d_syslog.identity); d_syslog 391 src/libsir/src/sirinternal.c if (!cur_ok || 0 != strncmp(si->d_syslog.identity, data->sl_identity, SIR_MAX_SYSLOG_ID)) { d_syslog 393 src/libsir/src/sirinternal.c si->d_syslog.identity, data->sl_identity); d_syslog 394 src/libsir/src/sirinternal.c (void)_sir_strncpy(si->d_syslog.identity, SIR_MAX_SYSLOG_ID, data->sl_identity, d_syslog 396 src/libsir/src/sirinternal.c _sir_setbitshigh(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_IDENTITY); d_syslog 398 src/libsir/src/sirinternal.c _sir_setbitslow(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_IDENTITY); d_syslog 401 src/libsir/src/sirinternal.c si->d_syslog.identity); d_syslog 412 src/libsir/src/sirinternal.c bool cur_ok = _sir_validstrnofail(si->d_syslog.category); d_syslog 413 src/libsir/src/sirinternal.c if (!cur_ok || 0 != strncmp(si->d_syslog.category, data->sl_category, SIR_MAX_SYSLOG_CAT)) { d_syslog 415 src/libsir/src/sirinternal.c si->d_syslog.category, data->sl_category); d_syslog 416 src/libsir/src/sirinternal.c (void)_sir_strncpy(si->d_syslog.category, SIR_MAX_SYSLOG_CAT, data->sl_category, d_syslog 418 src/libsir/src/sirinternal.c _sir_setbitshigh(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_CATEGORY); d_syslog 420 src/libsir/src/sirinternal.c _sir_setbitslow(&si->d_syslog._state.mask, SIRSL_UPDATED | SIRSL_CATEGORY); d_syslog 423 src/libsir/src/sirinternal.c si->d_syslog.identity); d_syslog 744 src/libsir/src/sirinternal.c if (_sir_bittest(si->d_syslog.levels, level)) { d_syslog 745 src/libsir/src/sirinternal.c if (_sir_syslog_write(level, buf, &si->d_syslog)) d_syslog 1066 src/libsir/src/sirinternal.c if (_sir_bittest(si->d_syslog._state.mask, SIRSL_UPDATED)) { d_syslog 1067 src/libsir/src/sirinternal.c bool levels = _sir_bittest(si->d_syslog._state.mask, SIRSL_LEVELS); d_syslog 1068 src/libsir/src/sirinternal.c bool options = _sir_bittest(si->d_syslog._state.mask, SIRSL_OPTIONS); d_syslog 1069 src/libsir/src/sirinternal.c bool category = _sir_bittest(si->d_syslog._state.mask, SIRSL_CATEGORY); d_syslog 1070 src/libsir/src/sirinternal.c bool identity = _sir_bittest(si->d_syslog._state.mask, SIRSL_IDENTITY); d_syslog 1071 src/libsir/src/sirinternal.c bool is_init = _sir_bittest(si->d_syslog._state.mask, SIRSL_IS_INIT); d_syslog 1072 src/libsir/src/sirinternal.c bool is_open = _sir_bittest(si->d_syslog._state.mask, SIRSL_IS_OPEN); d_syslog 1095 src/libsir/src/sirinternal.c init = _sir_syslog_close(&si->d_syslog); d_syslog 1098 src/libsir/src/sirinternal.c _sir_eqland(init, _sir_syslog_init(si->name, &si->d_syslog));