/usr/include/xmlrpc-c/abyss_unixsock.h is in libxmlrpc-core-c3-dev 1.33.06-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | /* This is just a sub-file for abyss.h */
#include <sys/socket.h>
#include <netinet/in.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
ChanSwitchUnixCreate2(int const protocolFamily,
const struct sockaddr * const sockAddrP,
socklen_t const sockAddrLen,
TChanSwitch ** const chanSwitchPP,
const char ** const errorP);
void
ChanSwitchUnixCreateIpV6Port(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.
*/
|