Home
last modified time | relevance | path

Searched refs:lf_ctx (Results 1 – 3 of 3) sorted by relevance

/dports/security/suricata/suricata-6.0.4/src/
H A Dutil-logopenfile.c642 LogFileCtx* lf_ctx; in LogFileNewCtx() local
645 if (lf_ctx == NULL) in LogFileNewCtx()
651 return lf_ctx; in LogFileNewCtx()
815 if (lf_ctx == NULL) { in LogFileFreeCtx()
819 if (lf_ctx->threaded) { in LogFileFreeCtx()
824 lf_ctx->threads->lf_slots[i]->Close(lf_ctx->threads->lf_slots[i]); in LogFileFreeCtx()
835 lf_ctx->plugin->Close(lf_ctx->plugin_data); in LogFileFreeCtx()
838 lf_ctx->Close(lf_ctx); in LogFileFreeCtx()
842 lf_ctx->parent->threads->lf_slots[lf_ctx->id] = NULL; in LogFileFreeCtx()
856 if (lf_ctx->sensor_name) in LogFileFreeCtx()
[all …]
H A Dutil-log-redis.c436 int LogFileWriteRedis(void *lf_ctx, const char *string, size_t string_len) in LogFileWriteRedis() argument
438 LogFileCtx *file_ctx = lf_ctx; in LogFileWriteRedis()
461 int SCConfLogOpenRedis(ConfNode *redis_node, void *lf_ctx) in SCConfLogOpenRedis() argument
463 LogFileCtx *log_ctx = lf_ctx; in SCConfLogOpenRedis()
H A Dutil-logopenfile.h162 LogFileCtx *LogFileEnsureExists(LogFileCtx *lf_ctx, int thread_id);