codekingpro/portable-devtools
115k
1/*2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.3 *4 * Licensed under the Apache License 2.0 (the "License"). You may not use5 * this file except in compliance with the License. You can obtain a copy6 * in the file LICENSE in the source distribution or at7 * https://www.openssl.org/source/license.html8 */9 10#ifndef OPENSSL_CONFTYPES_H11# define OPENSSL_CONFTYPES_H12# pragma once13 14#ifndef OPENSSL_CONF_H15# include <openssl/conf.h>16#endif17 18/*19 * The contents of this file are deprecated and will be made opaque20 */21struct conf_method_st {22 const char *name;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);32};33 34struct conf_st {35 CONF_METHOD *meth;36 void *meth_data;37 LHASH_OF(CONF_VALUE) *data;38 int flag_dollarid;39 int flag_abspath;40 char *includedir;41 OSSL_LIB_CTX *libctx;42};43 44#endif45 