Move sources to src and add install and clean targets to Makefile.
This commit is contained in:
parent
a4158274c3
commit
5d0b05aac0
3 changed files with 44 additions and 1 deletions
16
src/SSLSocket.h
Normal file
16
src/SSLSocket.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#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
|
Reference in a new issue