added AQH_MsgEndpoint_SetFd().
This commit is contained in:
@@ -93,6 +93,12 @@ int AQH_MsgEndpoint_GetFd(const AQH_MSG_ENDPOINT *ep)
|
||||
|
||||
|
||||
|
||||
void AQH_MsgEndpoint_SetFd(AQH_MSG_ENDPOINT *ep, int fd)
|
||||
{
|
||||
ep->fd=fd;
|
||||
}
|
||||
|
||||
|
||||
uint32_t AQH_MsgEndpoint_GetGroupId(const AQH_MSG_ENDPOINT *ep)
|
||||
{
|
||||
return ep->groupId;
|
||||
|
||||
@@ -62,6 +62,7 @@ AQHOME_API AQH_MSG_ENDPOINT *AQH_MsgEndpoint_new(int fd, int groupId);
|
||||
AQHOME_API void AQH_MsgEndpoint_free(AQH_MSG_ENDPOINT *ep);
|
||||
|
||||
AQHOME_API int AQH_MsgEndpoint_GetFd(const AQH_MSG_ENDPOINT *ep);
|
||||
AQHOME_API void AQH_MsgEndpoint_SetFd(AQH_MSG_ENDPOINT *ep, int fd);
|
||||
|
||||
AQHOME_API uint32_t AQH_MsgEndpoint_GetGroupId(const AQH_MSG_ENDPOINT *ep);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user