Connection-oriented assocations. More...
Macros | |
| #define | LWMSG_FD |
| Define a file descriptor. More... | |
| #define | LWMSG_MEMBER_FD(type, field) |
| Define a file descriptor as a member. More... | |
Enumerations | |
| enum | LWMsgConnectionMode { LWMSG_CONNECTION_MODE_NONE, LWMSG_CONNECTION_MODE_LOCAL, LWMSG_CONNECTION_MODE_PAIR } |
| Connection mode. More... | |
Functions | |
| LWMsgStatus | lwmsg_connection_new (const LWMsgContext *context, LWMsgProtocol *prot, LWMsgAssoc **out_assoc) |
| Create a new connection. More... | |
| LWMsgStatus | lwmsg_connection_set_packet_size (LWMsgAssoc *assoc, size_t size) |
| Set maximum packet size. More... | |
| LWMsgStatus | lwmsg_connection_set_fd (LWMsgAssoc *assoc, LWMsgConnectionMode mode, int fd) |
| Attach connection to existing socket. More... | |
| LWMsgStatus | lwmsg_connection_set_endpoint (LWMsgAssoc *assoc, LWMsgConnectionMode mode, const char *endpoint) |
| Attach connection to named endpoint. More... | |
| LWMsgStatus | lwmsg_local_token_get_eid (LWMsgSecurityToken *token, uid_t *out_euid, gid_t *out_egid) |
| Retrieve information from a "local" security token. More... | |
| LWMsgStatus | lwmsg_local_token_get_pid (LWMsgSecurityToken *token, pid_t *out_pid) |
| Retrieve client pid from a "local" security token. More... | |
Likewise Message Library, part of the Likewise platform
Copyright © 2020 Likewise Software. All rights reserved.