Removed threads

This commit is contained in:
James Booth
2015-05-11 23:44:43 +01:00
parent a3fcd69fa2
commit d392c77b03
6 changed files with 103 additions and 108 deletions

16
src/server/xmppclient.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef __H_XMPPCLIENT
#define __H_XMPPCLIENT
#include <netinet/in.h>
typedef struct xmpp_client_t {
char *ip;
int port;
int sock;
char *nickname;
} XMPPClient;
XMPPClient* xmppclient_new(struct sockaddr_in client_addr, int socket);
void xmppclient_end_session(XMPPClient *client);
#endif