HIPC  0.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
test_client_msg.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <hipc/client.h>
Include dependency graph for test_client_msg.c:

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
 

Function Documentation

static void test_hipcGenmsgBye ( void  )
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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcClientCheckStrutpl ( void  )
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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcGenmsgGet ( void  )
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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcGenmsgPut ( void  )
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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcGenmsgHello ( void  )
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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Variable Documentation

const struct HIPC_cl_indp HIPCUD_tclmsg_indp
Initial value:
= {
(unsigned char *) "id", 2, 5, 2, NULL
}

Definition at line 21 of file test_client_msg.c.

unsigned char HIPCUD_tclmsg_structsizes[]
Initial value:
= {
4,
8,
}

Definition at line 25 of file test_client_msg.c.

struct HIPC_cl_dp HIPCUD_tclmsg_smdp
Initial value:
=
{ '\0', HIPCUD_tclmsg_structsizes, NULL }
unsigned char HIPCUD_tclmsg_structsizes[]

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[]
Initial value:
= {
}
unsigned char HIPCUD_tclmsg_simg_buf0[4]
unsigned char HIPCUD_tclmsg_simg_buf1[8]

Definition at line 33 of file test_client_msg.c.

const struct HIPC_client cl_msg
Initial value:
= {
0,
NULL,
}
unsigned char * HIPCUD_tclmsg_simg[]
const struct HIPC_cl_indp HIPCUD_tclmsg_indp
struct HIPC_cl_dp HIPCUD_tclmsg_smdp

Definition at line 38 of file test_client_msg.c.

Referenced by test_hipcClientCheckStrutpl(), test_hipcGenmsgGet(), test_hipcGenmsgHello(), and test_hipcGenmsgPut().