mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-20 16:42:46 +00:00
30 lines
855 B
C
30 lines
855 B
C
/* This is just a sub-file for abyss.h */
|
|
|
|
#include <winsock.h>
|
|
|
|
struct abyss_win_chaninfo {
|
|
size_t peerAddrLen;
|
|
struct sockaddr peerAddr;
|
|
};
|
|
|
|
XMLRPC_DLLEXPORT
|
|
void
|
|
ChanSwitchWinCreate(unsigned short const portNumber,
|
|
TChanSwitch ** const chanSwitchPP,
|
|
const char ** const errorP);
|
|
|
|
XMLRPC_DLLEXPORT
|
|
void
|
|
ChanSwitchWinCreateWinsock(SOCKET const winsock,
|
|
TChanSwitch ** const chanSwitchPP,
|
|
const char ** const errorP);
|
|
|
|
XMLRPC_DLLEXPORT
|
|
void
|
|
ChannelWinCreateWinsock(SOCKET const fd,
|
|
TChannel ** const channelPP,
|
|
struct abyss_win_chaninfo ** const channelInfoPP,
|
|
const char ** const errorP);
|
|
|
|
typedef SOCKET TOsSocket;
|