]>
Commit | Line | Data |
---|---|---|
21dcbebc RS |
1 | /* |
2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. | |
d02b48c6 | 3 | * |
48f4ad77 | 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
21dcbebc RS |
5 | * this file except in compliance with the License. You can obtain a copy |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
d02b48c6 RE |
8 | */ |
9 | ||
d86b6915 | 10 | #ifndef HEADER_CONF_API_H |
0f113f3e | 11 | # define HEADER_CONF_API_H |
d02b48c6 | 12 | |
0f113f3e MC |
13 | # include <openssl/lhash.h> |
14 | # include <openssl/conf.h> | |
82271cee | 15 | |
d86b6915 RL |
16 | #ifdef __cplusplus |
17 | extern "C" { | |
18 | #endif | |
d02b48c6 | 19 | |
21346b7a | 20 | /* Up until OpenSSL 0.9.5a, this was new_section */ |
9dd5ae65 | 21 | CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); |
21346b7a | 22 | /* Up until OpenSSL 0.9.5a, this was get_section */ |
9dd5ae65 | 23 | CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); |
21346b7a | 24 | /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ |
9dd5ae65 | 25 | STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, |
0f113f3e | 26 | const char *section); |
a53955d8 | 27 | |
d86b6915 | 28 | int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); |
9dd5ae65 | 29 | char *_CONF_get_string(const CONF *conf, const char *section, |
0f113f3e MC |
30 | const char *name); |
31 | long _CONF_get_number(const CONF *conf, const char *section, | |
32 | const char *name); | |
d86b6915 RL |
33 | |
34 | int _CONF_new_data(CONF *conf); | |
35 | void _CONF_free_data(CONF *conf); | |
36 | ||
37 | #ifdef __cplusplus | |
38 | } | |
39 | #endif | |
40 | #endif |