Name
linc-protocol -- The protocols exposed
Details
enum LINCProtocolFlags
typedef enum {
LINC_PROTOCOL_SECURE = 1<<0,
LINC_PROTOCOL_NEEDS_BIND = 1<<1
} LINCProtocolFlags; |
LINCProtocolDestroyFunc ()
void (*LINCProtocolDestroyFunc) (int fd,
const char *host_info,
const char *serv_info); |
LINCProtocolGetSockInfoFunc ()
struct LINCProtocolInfo
struct LINCProtocolInfo {
const char *name;
int family;
int addr_len;
int stream_proto_num;
LINCProtocolFlags flags;
LINCProtocolSetupFunc setup;
LINCProtocolDestroyFunc destroy;
LINCProtocolGetSockAddrFunc get_sockaddr;
LINCProtocolGetSockInfoFunc get_sockinfo;
}; |
linc_set_tmpdir ()
void linc_set_tmpdir (const char *dir); |
Set the temporary directory used by linc to dir.
This directory is used for the creation of UNIX sockets.