libssl.h 512 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _LIBSSL_H
  2. #define _LIBSSL_H
  3. #ifdef HAVE_CONFIG_H
  4. # include "config.h"
  5. #endif
  6. #include "common.h"
  7. #include "dl.h"
  8. #include <bdlib/src/String.h>
  9. #include ".defs/libssl_pre.h"
  10. #ifdef EGG_SSL_EXT
  11. # ifndef EGG_SSL_INCS
  12. # include <openssl/ssl.h>
  13. # define EGG_SSL_INCS 1
  14. # endif
  15. #endif
  16. typedef DH* (*dh_callback_t)(SSL*, int, int);
  17. #include ".defs/libssl_post.h"
  18. typedef void (*SSL_CTX_set_tmp_dh_callback_t)(SSL_CTX*, dh_callback_t);
  19. int load_libssl();
  20. int unload_libssl();
  21. #endif /* !_LIBSSL_H */