Sha256: b9da43cbad0648fd68230a2602f06a8321135fe50052d266e1e971dec02546c9
Contents?: true
Size: 777 Bytes
Versions: 6
Compression:
Stored size: 777 Bytes
Contents
#include "net/ssl.h" #include "common/IRhoClassFactory.h" extern "C" { #define GETSSL rho::common::createClassFactory()->createSSLEngine() void *rho_ssl_create_storage() { return GETSSL->createStorage(); } void rho_ssl_free_storage(void *ptr) { return GETSSL->freeStorage(ptr); } CURLcode rho_ssl_connect(int sockfd, int nonblocking, int *done, void *storage) { return GETSSL->connect(sockfd, nonblocking, done, storage); } void rho_ssl_shutdown(void *storage) { return GETSSL->shutdown(storage); } ssize_t rho_ssl_send(const void *mem, size_t len, void *storage) { return GETSSL->send(mem, len, storage); } ssize_t rho_ssl_recv(char *buf, size_t size, int *wouldblock, void *storage) { return GETSSL->recv(buf, size, wouldblock, storage); } }
Version data entries
6 entries across 6 versions & 1 rubygems