conf.h 798 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (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. #include <openssl/conf.h>
  12. #define DEFAULT_CONF_MFLAGS \
  13. (CONF_MFLAGS_DEFAULT_SECTION | \
  14. CONF_MFLAGS_IGNORE_MISSING_FILE | \
  15. CONF_MFLAGS_IGNORE_RETURN_CODES)
  16. struct ossl_init_settings_st {
  17. char *filename;
  18. char *appname;
  19. unsigned long flags;
  20. };
  21. int openssl_config_int(const OPENSSL_INIT_SETTINGS *);
  22. void openssl_no_config_int(void);
  23. void conf_modules_free_int(void);
  24. #endif