| 1 | /* | 
|---|
| 2 | * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. | 
|---|
| 3 | * | 
|---|
| 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 | 
|---|
| 8 | */ | 
|---|
| 9 |  | 
|---|
| 10 | #ifndef OSSL_INTERNAL_CONF_H | 
|---|
| 11 | # define OSSL_INTERNAL_CONF_H | 
|---|
| 12 |  | 
|---|
| 13 | #include <openssl/conf.h> | 
|---|
| 14 |  | 
|---|
| 15 | #define DEFAULT_CONF_MFLAGS \ | 
|---|
| 16 | (CONF_MFLAGS_DEFAULT_SECTION | \ | 
|---|
| 17 | CONF_MFLAGS_IGNORE_MISSING_FILE | \ | 
|---|
| 18 | CONF_MFLAGS_IGNORE_RETURN_CODES) | 
|---|
| 19 |  | 
|---|
| 20 | struct ossl_init_settings_st { | 
|---|
| 21 | char *filename; | 
|---|
| 22 | char *appname; | 
|---|
| 23 | unsigned long flags; | 
|---|
| 24 | }; | 
|---|
| 25 |  | 
|---|
| 26 | int openssl_config_int(const OPENSSL_INIT_SETTINGS *); | 
|---|
| 27 | void openssl_no_config_int(void); | 
|---|
| 28 | void conf_modules_free_int(void); | 
|---|
| 29 |  | 
|---|
| 30 | #endif | 
|---|
| 31 |  | 
|---|