jpayne@69: /* jpayne@69: * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. jpayne@69: * jpayne@69: * Licensed under the OpenSSL license (the "License"). You may not use jpayne@69: * this file except in compliance with the License. You can obtain a copy jpayne@69: * in the file LICENSE in the source distribution or at jpayne@69: * https://www.openssl.org/source/license.html jpayne@69: */ jpayne@69: jpayne@69: #ifndef HEADER_CONF_API_H jpayne@69: # define HEADER_CONF_API_H jpayne@69: jpayne@69: # include jpayne@69: # include jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: /* Up until OpenSSL 0.9.5a, this was new_section */ jpayne@69: CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); jpayne@69: /* Up until OpenSSL 0.9.5a, this was get_section */ jpayne@69: CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); jpayne@69: /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ jpayne@69: STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, jpayne@69: const char *section); jpayne@69: jpayne@69: int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); jpayne@69: char *_CONF_get_string(const CONF *conf, const char *section, jpayne@69: const char *name); jpayne@69: long _CONF_get_number(const CONF *conf, const char *section, jpayne@69: const char *name); jpayne@69: jpayne@69: int _CONF_new_data(CONF *conf); jpayne@69: void _CONF_free_data(CONF *conf); jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: #endif