mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-11 20:49:02 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* This is just a sub-file for abyss.h */
|
|
|
|
#include <sys/socket.h>
|
|
|
|
struct abyss_unix_chaninfo {
|
|
size_t peerAddrLen;
|
|
struct sockaddr peerAddr;
|
|
};
|
|
|
|
void
|
|
ChanSwitchUnixCreate(unsigned short const portNumber,
|
|
TChanSwitch ** const chanSwitchPP,
|
|
const char ** const errorP);
|
|
|
|
void
|
|
ChanSwitchUnixCreateFd(int const fd,
|
|
TChanSwitch ** const chanSwitchPP,
|
|
const char ** const errorP);
|
|
|
|
void
|
|
ChannelUnixCreateFd(int const fd,
|
|
TChannel ** const channelPP,
|
|
struct abyss_unix_chaninfo ** const channelInfoPP,
|
|
const char ** const errorP);
|
|
|
|
void
|
|
ChannelUnixGetPeerName(TChannel * const channelP,
|
|
struct sockaddr ** const sockaddrPP,
|
|
size_t * const sockaddrLenP,
|
|
const char ** const errorP);
|
|
|
|
void
|
|
SocketUnixCreateFd(int const fd,
|
|
TSocket ** const socketPP);
|
|
|
|
typedef int TOsSocket;
|
|
/* TOsSocket is the type of a conventional socket offered by our OS.
|
|
This is for backward compatibility; everyone should use TChanSwitch
|
|
and TChannel instead today.
|
|
*/
|
|
|
|
|