version.h 643 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2014-2023 The GmSSL Project. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the License); you may
  5. * not use this file except in compliance with the License.
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. */
  9. #ifndef GMSSL_VERSION_H
  10. #define GMSSL_VERSION_H
  11. #include <gmssl/api.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. /*
  16. Version Public API
  17. gmssl_version_num
  18. gmssl_version_str
  19. */
  20. #define GMSSL_VERSION_NUM 30100
  21. #define GMSSL_VERSION_STR "GmSSL 3.1.0"
  22. _gmssl_export int gmssl_version_num(void);
  23. _gmssl_export const char *gmssl_version_str(void);
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif