ssl_ctx.h 281 B

1234567891011121314
  1. #ifndef HV_SSL_CTX_H
  2. #define HV_SSL_CTX_H
  3. #include "hexport.h"
  4. BEGIN_EXTERN_C
  5. HV_EXPORT void* ssl_ctx_instance();
  6. HV_EXPORT int ssl_ctx_init(const char* crt_file, const char* key_file, const char* ca_file);
  7. HV_EXPORT int ssl_ctx_destory();
  8. END_EXTERN_C
  9. #endif // HV_SSL_CTX_H