examples/portscanner: quick hack to make it work on single host/portrange
[rofl0r-rocksock.git] / rocksock_internal.h
blobf2308281e6c922d44e43ae9f725d55d4a0ba4d33
1 #ifndef ROCKSOCK_INTERNAL_H
2 #define ROCKSOCK_INTERNAL_H
4 #include "rocksock.h"
6 typedef struct {
7 struct addrinfo* hostaddr;
8 struct addrinfo hostaddr_buf;
9 struct sockaddr_storage hostaddr_aiaddr_buf;
10 } rs_resolveStorage;
12 int rocksock_seterror(rocksock* sock, rs_errorType errortype, int error, const char* file, int line);
14 #endif