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

Go to the source code of this file.

Data Structures

struct  local_mock
 

Functions

static void test_hipcMsgdHdrPtr (void)
 
static void test_hipcMsgdBdySize_hipcMsgdBdyPtr (void)
 
static void test_hipcMsgdType (void)
 
static void test_hipcMsgdStruno (void)
 
static void test_hipcMsgdOffset (void)
 
static void test_hipcMsgdRngsize (void)
 
static void test_hipcMsgdSetBdyForPut (void)
 
static void test_hipcGenmdSuccessToGet (void)
 
static void test_hipcGenmdUnstru (void)
 
int main (int argc, char *argv[])
 

Function Documentation

static void test_hipcMsgdHdrPtr ( void  )
static

Definition at line 7 of file test_msgd.c.

References HIPC_msgdata::header, and hipcMsgdHdrPtr.

Referenced by main().

Here is the caller graph for this function:

static void test_hipcMsgdBdySize_hipcMsgdBdyPtr ( void  )
static

Definition at line 16 of file test_msgd.c.

References HIPC_msgdata::body_p, HIPC_msgdata::header, HIPC_MESSAGE_TYPE_GET, HIPC_MESSAGE_TYPE_PUT, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_TYPE, hipcMsgdBdyPtr, and hipcMsgdBdySize().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgdType ( void  )
static

Definition at line 36 of file test_msgd.c.

References HIPC_msgdata::header, HIPC_MSGHDR_BYTE_TYPE, and hipcMsgdType().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgdStruno ( void  )
static

Definition at line 46 of file test_msgd.c.

References HIPC_msgdata::header, HIPC_MSGHDR_BYTE_STRUNO, and hipcMsgdStruno().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgdOffset ( void  )
static

Definition at line 56 of file test_msgd.c.

References HIPC_msgdata::header, HIPC_MSGHDR_BYTE_OFFSET, and hipcMsgdOffset().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgdRngsize ( void  )
static

Definition at line 66 of file test_msgd.c.

References HIPC_msgdata::header, HIPC_MSGHDR_BYTE_BDYSZ, and hipcMsgdRngsize().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgdSetBdyForPut ( void  )
static

Definition at line 81 of file test_msgd.c.

References HIPC_msgdata::body_p, HIPC_msgdata::header, HIPC_ERR_S_INV_RW_RANGE, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_OFFSET, HIPC_SUCCESS, hipcMsgdSetBdyForPut(), and local_mock::m2.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcGenmdSuccessToGet ( void  )
static

Definition at line 122 of file test_msgd.c.

References HIPC_ERR_S_INV_RW_RANGE, HIPC_MESSAGE_TYPE_GET, HIPC_MESSAGE_TYPE_SUCCESS, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_OFFSET, HIPC_MSGHDR_BYTE_STRUNO, HIPC_MSGHDR_BYTE_TYPE, HIPC_SUCCESS, hipcGenmdSuccessToGet(), and local_mock::m2.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcGenmdUnstru ( void  )
static
int main ( int  argc,
char *  argv[] 
)