Removed threads
This commit is contained in:
16
src/server/xmppclient.h
Normal file
16
src/server/xmppclient.h
Normal 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
|
||||
Reference in New Issue
Block a user