1*4724848cSchristos /* 2*4724848cSchristos * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved. 3*4724848cSchristos * 4*4724848cSchristos * Licensed under the OpenSSL license (the "License"). You may not use 5*4724848cSchristos * this file except in compliance with the License. You can obtain a copy 6*4724848cSchristos * in the file LICENSE in the source distribution or at 7*4724848cSchristos * https://www.openssl.org/source/license.html 8*4724848cSchristos */ 9*4724848cSchristos 10*4724848cSchristos #ifndef OSSL_INTERNAL_CONF_H 11*4724848cSchristos # define OSSL_INTERNAL_CONF_H 12*4724848cSchristos 13*4724848cSchristos #include <openssl/conf.h> 14*4724848cSchristos 15*4724848cSchristos #define DEFAULT_CONF_MFLAGS \ 16*4724848cSchristos (CONF_MFLAGS_DEFAULT_SECTION | \ 17*4724848cSchristos CONF_MFLAGS_IGNORE_MISSING_FILE | \ 18*4724848cSchristos CONF_MFLAGS_IGNORE_RETURN_CODES) 19*4724848cSchristos 20*4724848cSchristos struct ossl_init_settings_st { 21*4724848cSchristos char *filename; 22*4724848cSchristos char *appname; 23*4724848cSchristos unsigned long flags; 24*4724848cSchristos }; 25*4724848cSchristos 26*4724848cSchristos int openssl_config_int(const OPENSSL_INIT_SETTINGS *); 27*4724848cSchristos void openssl_no_config_int(void); 28*4724848cSchristos void conf_modules_free_int(void); 29*4724848cSchristos 30*4724848cSchristos #endif 31