Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
msgqueue.h File Reference

Go to the source code of this file.

Data Structures

struct  message
 
struct  msgqueue_entry
 
struct  MsgQueue_t
 

Macros

#define NR_MESSAGES   4
 

Functions

void msgqueue_initialise (MsgQueue_t *msgq)
 
void msgqueue_free (MsgQueue_t *msgq)
 
int msgqueue_msglength (MsgQueue_t *msgq)
 
struct messagemsgqueue_getmsg (MsgQueue_t *msgq, int msgno)
 
int msgqueue_addmsg (MsgQueue_t *msgq, int length,...)
 
void msgqueue_flush (MsgQueue_t *msgq)
 

Macro Definition Documentation

#define NR_MESSAGES   4

Definition at line 26 of file msgqueue.h.

Function Documentation

int msgqueue_addmsg ( MsgQueue_t msgq,
int  length,
  ... 
)

Definition at line 118 of file msgqueue.c.

void msgqueue_flush ( MsgQueue_t msgq)

Definition at line 151 of file msgqueue.c.

void msgqueue_free ( MsgQueue_t msgq)

Definition at line 73 of file msgqueue.c.

struct message* msgqueue_getmsg ( MsgQueue_t msgq,
int  msgno 
)
read

Definition at line 101 of file msgqueue.c.

void msgqueue_initialise ( MsgQueue_t msgq)

Definition at line 54 of file msgqueue.c.

int msgqueue_msglength ( MsgQueue_t msgq)

Definition at line 83 of file msgqueue.c.