Artifact 247b5540e43b902dae8202288e1718e6995e7cb2c80c2b9e9717a869b6408890:
- File SSLSocket.h — part of check-in [c10ce0877b] at 2011-03-28 20:26:45 on branch trunk — Add -[initWithSocket:]. (user: js, size: 238) [annotate] [blame] [check-ins using]
- File src/SSLSocket.h — part of check-in [218a219fe5] at 2011-03-28 20:32:48 on branch trunk — Move sources to src and add install and clean targets to Makefile. (user: js, size: 238) [annotate] [blame] [check-ins using]
#include <openssl/ssl.h> #import <ObjFW/OFTCPSocket.h> @interface SSLSocket: OFTCPSocket { SSL_CTX *ctx; SSL *ssl; BOOL handsShaken; } - initWithSocket: (OFTCPSocket*)socket; /* Change the return type */ - (SSLSocket*)accept; @end