/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef SSL_CT_LOG_CONFIG_H
#define SSL_CT_LOG_CONFIG_H
#include "httpd.h"
#include "mod_ssl_openssl.h" /* cheap way to get OpenSSL headers */
typedef struct ct_log_config {
const char *public_key_pem;
#define TRUSTED 0
int distrusted;
const char *url;
const char *uri_str;
const char **msg);
const char *log_config_fname,
apr_pool_t *p,
const char *log_id,
const char *pubkey_fname,
const char *distrusted,
const char *min_time,
const char *max_time,
const char *url);
int log_valid_for_sent_sct(const ct_log_config *l);
int log_configured_for_fetching_sct(const ct_log_config *l);
#endif /* SSL_CT_LOG_CONFIG_H */