#include <hipc/msg.h>
Go to the source code of this file.
Functions | |
size_t | hipcMsgTotalSize (const hipc_msg msg) |
Returns total size of a HIPC message, which is the header size plus the body size. More... | |
unsigned char | hipcMsgBdySize (const hipc_msg msg) |
Returns body size of a HIPC message. More... | |
const void * | hipcMsgBdyPtr (const hipc_msg msg) |
Returns a pointer to a body of a HIPC message. More... | |
unsigned char | hipcMsgType (const hipc_msg msg) |
Returns type of a HIPC message. More... | |
unsigned char | hipcMsgOffset (const hipc_msg msg) |
Returns offset of a HIPC message. More... | |
unsigned char | hipcMsgStruno (const hipc_msg msg) |
Returns structure number of a HIPC message. More... | |
unsigned char | hipcMsgRngsize (const hipc_msg msg) |
Returns range size of a HIPC message. More... | |
size_t hipcMsgTotalSize | ( | const hipc_msg | msg | ) |
Returns total size of a HIPC message, which is the header size plus the body size.
msg | HIPC message |
Definition at line 9 of file msg.c.
References HIPC_MSGHDR_SIZE, and hipcMsghdrBdysize().
Referenced by hipcPosixWriteMsg().
unsigned char hipcMsgBdySize | ( | const hipc_msg | msg | ) |
Returns body size of a HIPC message.
msg | HIPC message |
Definition at line 20 of file msg.c.
References hipcMsghdrBdysize().
Referenced by hipcPosixReadMsg().
const void* hipcMsgBdyPtr | ( | const hipc_msg | msg | ) |
Returns a pointer to a body of a HIPC message.
msg | HIPC message |
Definition at line 31 of file msg.c.
References HIPC_MSGHDR_SIZE.
unsigned char hipcMsgType | ( | const hipc_msg | msg | ) |
Returns type of a HIPC message.
msg | HIPC message |
Definition at line 42 of file msg.c.
References HIPC_MSGHDR_BYTE_TYPE.
Referenced by hipcOpen(), and hipcWaitReturn().
unsigned char hipcMsgOffset | ( | const hipc_msg | msg | ) |
Returns offset of a HIPC message.
msg | HIPC message |
Definition at line 53 of file msg.c.
References HIPC_MSGHDR_BYTE_OFFSET.
Referenced by hipcWaitReturn().
unsigned char hipcMsgStruno | ( | const hipc_msg | msg | ) |
Returns structure number of a HIPC message.
msg | HIPC message |
Definition at line 64 of file msg.c.
References HIPC_MSGHDR_BYTE_STRUNO.
Referenced by hipcWaitReturn().
unsigned char hipcMsgRngsize | ( | const hipc_msg | msg | ) |
Returns range size of a HIPC message.
msg | HIPC message |
Definition at line 75 of file msg.c.
References HIPC_MSGHDR_BYTE_BDYSZ.
Referenced by hipcWaitReturn().