mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-21 23:08:32 +00:00
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@1 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
33 lines
490 B
C
33 lines
490 B
C
#ifndef mstcpserver_h
|
|
#define mstcpserver_h
|
|
|
|
#include "msfilter.h"
|
|
|
|
/* According to earlier standards */
|
|
#include <sys/time.h>
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
|
|
struct _MSTcpServ{
|
|
MSFilter parent;
|
|
MSQueue *q_inputs[1];
|
|
fd_set set;
|
|
int maxfd;
|
|
int asock;
|
|
};
|
|
|
|
typedef struct _MSTcpServ MSTcpServ;
|
|
|
|
struct _MSTcpServClass{
|
|
MSFilterClass parent;
|
|
};
|
|
|
|
typedef struct _MSTcpServClass MSTcpServClass;
|
|
|
|
MSFilter *ms_tcp_serv_new();
|
|
#define MS_TCP_SERV(o) ((MSTcpServ*)(o))
|
|
|
|
|
|
#endif
|
|
|