#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <hipc/client.h>
Go to the source code of this file.
Functions | |
static void | test_hipcGenmsgBye (void) |
static void | test_hipcClientCheckStrutpl (void) |
static void | test_hipcGenmsgGet (void) |
static void | test_hipcGenmsgPut (void) |
static void | test_hipcGenmsgHello (void) |
int | main (int argc, char *argv[]) |
Variables | |
const struct HIPC_cl_indp | HIPCUD_tclmsg_indp |
unsigned char | HIPCUD_tclmsg_structsizes [] |
struct HIPC_cl_dp | HIPCUD_tclmsg_smdp |
unsigned char | HIPCUD_tclmsg_simg_buf0 [4] |
unsigned char | HIPCUD_tclmsg_simg_buf1 [8] |
unsigned char * | HIPCUD_tclmsg_simg [] |
const struct HIPC_client | cl_msg |
|
static |
Definition at line 8 of file test_client_msg.c.
References HIPC_MESSAGE_TYPE_BYE, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_OFFSET, HIPC_MSGHDR_BYTE_STRUNO, HIPC_MSGHDR_BYTE_TYPE, HIPC_UNSTRU, and hipcGenmsgBye().
Referenced by main().
|
static |
Definition at line 46 of file test_client_msg.c.
References cl_msg, HIPC_ERR_PROTOCOL_VIOLATION, HIPC_SUCCESS, and hipcClientCheckStrutpl().
Referenced by main().
|
static |
Definition at line 83 of file test_client_msg.c.
References cl_msg, HIPC_ERR_PROTOCOL_VIOLATION, HIPC_MESSAGE_TYPE_GET, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_OFFSET, HIPC_MSGHDR_BYTE_STRUNO, HIPC_MSGHDR_BYTE_TYPE, HIPC_SUCCESS, and hipcGenmsgGet().
Referenced by main().
|
static |
Definition at line 100 of file test_client_msg.c.
References cl_msg, HIPC_ERR_PROTOCOL_VIOLATION, HIPC_MESSAGE_TYPE_PUT, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_OFFSET, HIPC_MSGHDR_BYTE_STRUNO, HIPC_MSGHDR_BYTE_TYPE, HIPC_SUCCESS, and hipcGenmsgPut().
Referenced by main().
|
static |
Definition at line 117 of file test_client_msg.c.
References cl_msg, HIPC_MESSAGE_TYPE_HELLO, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_OFFSET, HIPC_MSGHDR_BYTE_STRUNO, HIPC_MSGHDR_BYTE_TYPE, HIPC_MSGHDR_SIZE, HIPC_UNSTRU, and hipcGenmsgHello().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 132 of file test_client_msg.c.
References test_hipcClientCheckStrutpl(), test_hipcGenmsgBye(), test_hipcGenmsgGet(), test_hipcGenmsgHello(), and test_hipcGenmsgPut().
const struct HIPC_cl_indp HIPCUD_tclmsg_indp |
Definition at line 21 of file test_client_msg.c.
unsigned char HIPCUD_tclmsg_structsizes[] |
Definition at line 25 of file test_client_msg.c.
struct HIPC_cl_dp HIPCUD_tclmsg_smdp |
Definition at line 29 of file test_client_msg.c.
unsigned char HIPCUD_tclmsg_simg_buf0[4] |
Definition at line 31 of file test_client_msg.c.
unsigned char HIPCUD_tclmsg_simg_buf1[8] |
Definition at line 32 of file test_client_msg.c.
unsigned char* HIPCUD_tclmsg_simg[] |
Definition at line 33 of file test_client_msg.c.
const struct HIPC_client cl_msg |
Definition at line 38 of file test_client_msg.c.
Referenced by test_hipcClientCheckStrutpl(), test_hipcGenmsgGet(), test_hipcGenmsgHello(), and test_hipcGenmsgPut().