2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
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
10 #ifndef OPENSSL_CONFTYPES_H
11 # define OPENSSL_CONFTYPES_H
14 #ifndef OPENSSL_CONF_H
15 # include <openssl/conf.h>
19 * The contents of this file are deprecated and will be made opaque
21 struct conf_method_st {
23 CONF *(*create) (CONF_METHOD *meth);
24 int (*init) (CONF *conf);
25 int (*destroy) (CONF *conf);
26 int (*destroy_data) (CONF *conf);
27 int (*load_bio) (CONF *conf, BIO *bp, long *eline);
28 int (*dump) (const CONF *conf, BIO *bp);
29 int (*is_number) (const CONF *conf, char c);
30 int (*to_int) (const CONF *conf, char c);
31 int (*load) (CONF *conf, const char *name, long *eline);
37 LHASH_OF(CONF_VALUE) *data;