#ifndef CLIENT_H_45786678
#define CLIENT_H_45786678
-#include <openssl/ssl.h>
#include <stdint.h>
#include <unistd.h> /* close() */
#include <sys/types.h>
#include "crypt.h"
#include "timer.h"
#include "pds.h"
+#include "ssl.h"
-#define BUFSIZE 2048
+#define BUFSIZE 8192
#define UDP_BUFSIZE 512
#define INACTICITY_TIMEOUT 15 /* Seconds */
#define MAX_CODECS 10
typedef struct {
int tcpfd;
- SSL *ssl;
+ SSL_handle_t *ssl;
bool_t SSLready;
bool_t shutdown_wait;
cryptState_t cryptState;
int sessionId;
uint64_t key;
char *username;
- bool_t authenticated, deaf, mute;
+ bool_t bUDP, authenticated, deaf, mute;
char *os, *release;
uint32_t version;
int codec_count;