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