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

Go to the source code of this file.

Functions

static void test_msg_basics (void)
 
static void test_msg_sizes (void)
 
static void test_hipcMsgType (void)
 
static void test_hipcMsgStruno (void)
 
static void test_hipcMsgOffset (void)
 
static void test_hipcMsgBdyPtr (void)
 
int main (int argc, char *argv[])
 

Function Documentation

static void test_msg_basics ( void  )
static

Definition at line 7 of file test_msg.c.

References HIPC_MSG_ALLOCSIZE.

Referenced by main().

Here is the caller graph for this function:

static void test_msg_sizes ( void  )
static

Definition at line 13 of file test_msg.c.

References HIPC_MESSAGE_TYPE_GET, HIPC_MESSAGE_TYPE_PUT, HIPC_MESSAGE_TYPE_SYS, HIPC_MSGHDR_BYTE_BDYSZ, HIPC_MSGHDR_BYTE_TYPE, HIPC_MSGHDR_SIZE, hipcMsgBdySize(), hipcMsgRngsize(), and hipcMsgTotalSize().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgType ( void  )
static

Definition at line 68 of file test_msg.c.

References HIPC_MSGHDR_BYTE_TYPE, and hipcMsgType().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgStruno ( void  )
static

Definition at line 78 of file test_msg.c.

References HIPC_MSGHDR_BYTE_STRUNO, and hipcMsgStruno().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgOffset ( void  )
static

Definition at line 88 of file test_msg.c.

References HIPC_MSGHDR_BYTE_OFFSET, and hipcMsgOffset().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void test_hipcMsgBdyPtr ( void  )
static

Definition at line 98 of file test_msg.c.

References HIPC_MSGHDR_SIZE, and hipcMsgBdyPtr().

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 111 of file test_msg.c.

References test_hipcMsgBdyPtr(), test_hipcMsgOffset(), test_hipcMsgStruno(), test_hipcMsgType(), test_msg_basics(), and test_msg_sizes().

Here is the call graph for this function: