conf.h 814 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright 2016-2021 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. #ifndef OSSL_INTERNAL_CONF_H
  10. # define OSSL_INTERNAL_CONF_H
  11. # pragma once
  12. # include <openssl/conf.h>
  13. # define DEFAULT_CONF_MFLAGS \
  14. (CONF_MFLAGS_DEFAULT_SECTION | \
  15. CONF_MFLAGS_IGNORE_MISSING_FILE | \
  16. CONF_MFLAGS_IGNORE_RETURN_CODES)
  17. struct ossl_init_settings_st {
  18. char *filename;
  19. char *appname;
  20. unsigned long flags;
  21. };
  22. int ossl_config_int(const OPENSSL_INIT_SETTINGS *);
  23. void ossl_no_config_int(void);
  24. void ossl_config_modules_free(void);
  25. #endif