22 (
unsigned char *)
"id", 2, 5, 2, NULL
132 int main(
int argc,
char *argv[])
135 fprintf(stderr,
"Usage: %s test_id\n", argv[0]);
139 switch (argv[1][0]) {
156 fprintf(stderr,
"Invalid test_id: %s \n", argv[1]);
unsigned char hipc_msg[HIPC_MSG_ALLOCSIZE]
Machine-independent information of a client.
int main(int argc, char *argv[])
static void test_hipcGenmsgBye(void)
unsigned char HIPCUD_tclmsg_simg_buf0[4]
void hipcGenmsgBye(hipc_msg msg)
Initializes a HIPC message as a BYE message.
void hipcGenmsgHello(hipc_msg msg, const struct HIPC_client *const cl_p)
Generates HELLO message.
const struct HIPC_client cl_msg
static void test_hipcGenmsgPut(void)
unsigned char HIPCUD_tclmsg_structsizes[]
unsigned char * HIPCUD_tclmsg_simg[]
const struct HIPC_cl_indp HIPCUD_tclmsg_indp
static void test_hipcClientCheckStrutpl(void)
unsigned char HIPCUD_tclmsg_simg_buf1[8]
Machine-dependent information of a client.
enum HIPC_errno hipcGenmsgPut(hipc_msg msg, struct HIPC_client *const cl_p, const unsigned char struno, const size_t offset, const size_t size)
Generates PUT message.
static void test_hipcGenmsgHello(void)
enum HIPC_errno hipcClientCheckStrutpl(struct HIPC_client *const cl_p, const unsigned char struno, const size_t offset, const size_t rngsize)
Checks a combination of a structure number, an offset, and a size for a HIPC message.
struct HIPC_cl_dp HIPCUD_tclmsg_smdp
static void test_hipcGenmsgGet(void)
enum HIPC_errno hipcGenmsgGet(hipc_msg msg, struct HIPC_client *const cl_p, const unsigned char struno, const size_t offset, const size_t size)
Generates GET message.