2008-05-23 20:56:24 +00:00
|
|
|
/* This is just a sub-file for abyss.h */
|
|
|
|
|
|
|
|
#include <winsock.h>
|
|
|
|
|
|
|
|
struct abyss_win_chaninfo {
|
|
|
|
size_t peerAddrLen;
|
|
|
|
struct sockaddr peerAddr;
|
|
|
|
};
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2008-05-23 20:56:24 +00:00
|
|
|
void
|
|
|
|
ChanSwitchWinCreate(unsigned short const portNumber,
|
|
|
|
TChanSwitch ** const chanSwitchPP,
|
|
|
|
const char ** const errorP);
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2008-05-23 20:56:24 +00:00
|
|
|
void
|
|
|
|
ChanSwitchWinCreateWinsock(SOCKET const winsock,
|
|
|
|
TChanSwitch ** const chanSwitchPP,
|
|
|
|
const char ** const errorP);
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2008-05-23 20:56:24 +00:00
|
|
|
void
|
|
|
|
ChannelWinCreateWinsock(SOCKET const fd,
|
|
|
|
TChannel ** const channelPP,
|
|
|
|
struct abyss_win_chaninfo ** const channelInfoPP,
|
|
|
|
const char ** const errorP);
|
|
|
|
|
|
|
|
typedef SOCKET TOsSocket;
|