Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:40

0001 /*
0002  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
0003  *
0004  * Licensed under the Apache License 2.0 (the "License").  You may not use
0005  * this file except in compliance with the License.  You can obtain a copy
0006  * in the file LICENSE in the source distribution or at
0007  * https://www.openssl.org/source/license.html
0008  */
0009 
0010 #ifndef  OPENSSL_CONFTYPES_H
0011 # define OPENSSL_CONFTYPES_H
0012 # pragma once
0013 
0014 #ifndef  OPENSSL_CONF_H
0015 # include <openssl/conf.h>
0016 #endif
0017 
0018 /*
0019  * The contents of this file are deprecated and will be made opaque
0020  */
0021 struct conf_method_st {
0022     const char *name;
0023     CONF *(*create) (CONF_METHOD *meth);
0024     int (*init) (CONF *conf);
0025     int (*destroy) (CONF *conf);
0026     int (*destroy_data) (CONF *conf);
0027     int (*load_bio) (CONF *conf, BIO *bp, long *eline);
0028     int (*dump) (const CONF *conf, BIO *bp);
0029     int (*is_number) (const CONF *conf, char c);
0030     int (*to_int) (const CONF *conf, char c);
0031     int (*load) (CONF *conf, const char *name, long *eline);
0032 };
0033 
0034 struct conf_st {
0035     CONF_METHOD *meth;
0036     void *meth_data;
0037     LHASH_OF(CONF_VALUE) *data;
0038     int flag_dollarid;
0039     int flag_abspath;
0040     char *includedir;
0041     OSSL_LIB_CTX *libctx;
0042 };
0043 
0044 #endif