21 {3,
"test_log", HIPCUD_test_indp_member_log},
22 {2,
"test_ctl", HIPCUD_test_indp_member_ctl},
26 NULL, 0, 5, 2, HIPCUD_test_indp_struct
66 unsigned char structsizes[] = { 8 };
92 unsigned char const hipc_errno,
93 char const *
const str)
298 int main(
int argc,
char *argv[])
301 fprintf(stderr,
"Usage: %s test_id\n", argv[0]);
305 switch (argv[1][0]) {
322 fprintf(stderr,
"Invalid test_id: %s \n", argv[1]);
enum HIPC_errno hipcClientFeedStrumsg(struct HIPC_client *const cl_p, const hipc_msg msgR)
Feeds a message and incorporates it to the internal data of a client.
Machine-dependent information of a structure used in a client.
unsigned char hipc_msg[HIPC_MSG_ALLOCSIZE]
Machine-independent information of a member of a structure used in a client.
Machine-independent information of a client.
enum HIPC_errno hipcClientFeedUnstrumsgAsError(struct HIPC_client *const cl_p, const hipc_msg msgR)
Feeds a message and sets an error specified by the message.
enum HIPC_errno hipcClientFeedSysmsg(struct HIPC_client *const cl_p, const hipc_msg msgR)
Feeds a system message and incorporates it to the internal data of the client.
struct HIPC_cl_dp * cmdp_p
Client Machine DePendent data.
static void test_hipcClientFeedStrumsg(void)
char err_detail_str[HIPC_IMG_ALLOCSIZE]
static void msgWithStr(hipc_msg msg, unsigned char type, unsigned char const hipc_errno, char const *const str)
void hipcClientTerminate(struct HIPC_client *const cl_p)
Terminates a HIPC client with releasing the memory space that the client has.
int main(int argc, char *argv[])
unsigned char hipcClientGetNsysmsg(struct HIPC_client const *const cl_p)
Gets the number of system messages.
unsigned char HIPCUD_test_cmdp_log_size[]
Machine-independent information of a structure used in a client.
const struct HIPC_cl_indp_mbr HIPCUD_test_indp_member_log[]
const struct HIPC_cl_indp_stru HIPCUD_test_indp_struct[]
static enum HIPC_errno setupTestClient(struct HIPC_client *const cl_p)
unsigned char HIPCUD_test_structsizes[]
static void test_hipcClientFeedUnstrumsgAsError(void)
unsigned char const * struct_size_p
static void test_hipcClientFeedSysmsg(void)
unsigned char HIPCUD_test_cmdp_ctl_offset[]
unsigned char HIPCUD_test_cmdp_log_offset[]
enum HIPC_errno hipc_errno
const struct HIPC_cl_indp HIPCUD_test_indp
enum HIPC_errno hipcClientInit(struct HIPC_client *const cl_p, struct HIPC_client const *const clbase_p)
Initializes a HIPC client with allocating memory space if necessary.
const struct HIPC_cl_indp_mbr HIPCUD_test_indp_member_ctl[]
unsigned char ** simg_pp
Server-side images of structures.
struct HIPC_cl_indp const * indp_p
Machine-dependent information of a client.
static void test_hipcClientGetNsysmsg(void)
struct HIPC_cl_dp_stru * struct_p
struct HIPC_cl_dp * smdp_p
Server Machine DePendent data.
static void test_hipcClientInit(void)
struct HIPC_cl_dp_stru HIPCUD_test_cmdp_struct[]
unsigned char HIPCUD_test_cmdp_ctl_size[]
struct HIPC_cl_dp HIPCUD_test_cmdp