Lines Matching refs:s_main
178 static int refresh_all_scts(server_rec *s_main, apr_pool_t *p,
882 static void sct_daemon_cycle(ct_server_config *sconf, server_rec *s_main,
888 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s_main,
896 s_main, sconf->log_config_fname,
899 ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s_main,
906 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s_main,
908 rv = refresh_all_scts(s_main, ptemp, active_log_config);
910 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s_main,
977 static int sct_daemon(server_rec *s_main)
981 ct_server_config *sconf = ap_get_module_config(s_main->module_config,
1046 sct_daemon_cycle(sconf, s_main, ptemp, DAEMON_NAME);
1050 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s_main,
1118 static int daemon_thread_start(apr_pool_t *pconf, server_rec *s_main)
1123 rv = apr_thread_create(&daemon_thread, NULL, sct_daemon_thread, s_main,
1126 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s_main,
1146 static int refresh_all_scts(server_rec *s_main, apr_pool_t *p,
1155 s = s_main;
1178 rv = refresh_scts_for_cert(s_main, p,
1198 static int num_server_certs(server_rec *s_main)
1203 s = s_main;
1218 apr_pool_t *ptemp, server_rec *s_main)
1220 ct_server_config *sconf = ap_get_module_config(s_main->module_config,
1227 root_server = s_main;
1238 if (num_server_certs(s_main) == 0) {
1243 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s_main,
1245 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s_main,
1252 SSL_CT_MUTEX_TYPE, NULL, s_main, pconf, 0);
1254 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s_main,
1259 apr_pool_cleanup_register(pconf, (void *)s_main, ssl_ct_mutex_remove,
1271 s_main, sconf->log_config_fname,
1281 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s_main,
1295 ap_log_error(APLOG_MARK, APLOG_INFO, 0, s_main,
1319 ap_log_error(APLOG_MARK, APLOG_INFO, 0, s_main,
1325 rv = refresh_all_scts(s_main, pconf, active_log_config);
1327 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s_main,
1337 int ret = daemon_start(pconf, s_main, procnew);
1350 int ret = daemon_thread_start(pconf, s_main);
1361 apr_pool_t *ptemp, server_rec *s_main)
1363 ct_server_config *sconf = ap_get_module_config(s_main->module_config,
1367 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s_main,
1377 ap_log_error(APLOG_MARK, APLOG_INFO, 0, s_main,
1383 ap_log_error(APLOG_MARK, APLOG_INFO, 0, s_main,
1392 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s_main,
1396 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s_main,