xref: /freebsd/crypto/openssl/include/internal/conf.h (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim /*
2*b077aed3SPierre Pronchery  * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
3e71b7053SJung-uk Kim  *
4*b077aed3SPierre Pronchery  * Licensed under the Apache License 2.0 (the "License").  You may not use
5e71b7053SJung-uk Kim  * this file except in compliance with the License.  You can obtain a copy
6e71b7053SJung-uk Kim  * in the file LICENSE in the source distribution or at
7e71b7053SJung-uk Kim  * https://www.openssl.org/source/license.html
8e71b7053SJung-uk Kim  */
9e71b7053SJung-uk Kim 
1017f01e99SJung-uk Kim #ifndef OSSL_INTERNAL_CONF_H
1117f01e99SJung-uk Kim # define OSSL_INTERNAL_CONF_H
12*b077aed3SPierre Pronchery # pragma once
13e71b7053SJung-uk Kim 
14e71b7053SJung-uk Kim # include <openssl/conf.h>
15e71b7053SJung-uk Kim 
166935a639SJung-uk Kim # define DEFAULT_CONF_MFLAGS \
176935a639SJung-uk Kim     (CONF_MFLAGS_DEFAULT_SECTION | \
186935a639SJung-uk Kim      CONF_MFLAGS_IGNORE_MISSING_FILE | \
196935a639SJung-uk Kim      CONF_MFLAGS_IGNORE_RETURN_CODES)
206935a639SJung-uk Kim 
21e71b7053SJung-uk Kim struct ossl_init_settings_st {
226935a639SJung-uk Kim     char *filename;
23e71b7053SJung-uk Kim     char *appname;
246935a639SJung-uk Kim     unsigned long flags;
25e71b7053SJung-uk Kim };
26e71b7053SJung-uk Kim 
27*b077aed3SPierre Pronchery int ossl_config_int(const OPENSSL_INIT_SETTINGS *);
28*b077aed3SPierre Pronchery void ossl_no_config_int(void);
29*b077aed3SPierre Pronchery void ossl_config_modules_free(void);
30e71b7053SJung-uk Kim 
31e71b7053SJung-uk Kim #endif
32