Lines Matching defs:load_ctx
218 CTLOG_STORE_LOAD_CTX *load_ctx = arg;
232 ret = ctlog_new_from_conf(&ct_log, load_ctx->conf, tmp);
241 ++load_ctx->invalid_log_entries;
245 if (!sk_CTLOG_push(load_ctx->log_store->logs, ct_log)) {
261 CTLOG_STORE_LOAD_CTX* load_ctx = ctlog_store_load_ctx_new();
263 if (load_ctx == NULL)
265 load_ctx->log_store = store;
266 load_ctx->conf = NCONF_new(NULL);
267 if (load_ctx->conf == NULL)
270 if (NCONF_load(load_ctx->conf, file, NULL) <= 0) {
275 enabled_logs = NCONF_get_string(load_ctx->conf, NULL, "enabled_logs");
281 if (!CONF_parse_list(enabled_logs, ',', 1, ctlog_store_load_log, load_ctx) ||
282 load_ctx->invalid_log_entries > 0) {
289 NCONF_free(load_ctx->conf);
290 ctlog_store_load_ctx_free(load_ctx);