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