You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

conf_api.h 1.4 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright 1995-2016 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 OPENSSL_CONF_API_H
  10. #define OPENSSL_CONF_API_H
  11. #pragma once
  12. #include <openssl/macros.h>
  13. #ifndef OPENSSL_NO_DEPRECATED_3_0
  14. #define HEADER_CONF_API_H
  15. #endif
  16. #include <openssl/lhash.h>
  17. #include <openssl/conf.h>
  18. #ifdef __cplusplus
  19. extern "C"
  20. {
  21. #endif
  22. /* Up until OpenSSL 0.9.5a, this was new_section */
  23. CONF_VALUE* _CONF_new_section(CONF* conf, const char* section);
  24. /* Up until OpenSSL 0.9.5a, this was get_section */
  25. CONF_VALUE* _CONF_get_section(const CONF* conf, const char* section);
  26. /* Up until OpenSSL 0.9.5a, this was CONF_get_section */
  27. STACK_OF(CONF_VALUE) * _CONF_get_section_values(const CONF* conf, const char* section);
  28. int _CONF_add_string(CONF* conf, CONF_VALUE* section, CONF_VALUE* value);
  29. char* _CONF_get_string(const CONF* conf, const char* section, const char* name);
  30. long _CONF_get_number(const CONF* conf, const char* section, const char* name);
  31. int _CONF_new_data(CONF* conf);
  32. void _CONF_free_data(CONF* conf);
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36. #endif