HIPC  0.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Enumerations | Functions
mockio.h File Reference
#include <hipc.h>
Include dependency graph for mockio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MockIOOp
 
struct  MockIO
 

Enumerations

enum  MOCK_errno {
  MOCK_SUCESS, MOCK_ERR_OVERRUN, MOCK_ERR_OPCODE, MOCK_ERR_SIZE,
  MOCK_ERR_DATA, MOCK_N_ERR
}
 

Functions

void mockIOInit (struct MockIO *mio_p, const struct MockIOOp *ops, const unsigned int nops)
 
int mockIOCheckCompletion (struct MockIO *mio_p)
 
enum HIPC_errno mockIORead (struct MockIO *mio_p, void *buf, const size_t size)
 
enum HIPC_errno mockIOWrite (struct MockIO *mio_p, const void *buf, const size_t size)
 

Enumeration Type Documentation

enum MOCK_errno
Enumerator
MOCK_SUCESS 
MOCK_ERR_OVERRUN 
MOCK_ERR_OPCODE 
MOCK_ERR_SIZE 
MOCK_ERR_DATA 
MOCK_N_ERR 

Definition at line 3 of file mockio.h.

Function Documentation

void mockIOInit ( struct MockIO mio_p,
const struct MockIOOp ops,
const unsigned int  nops 
)
int mockIOCheckCompletion ( struct MockIO mio_p)
enum HIPC_errno mockIORead ( struct MockIO mio_p,
void *  buf,
const size_t  size 
)
enum HIPC_errno mockIOWrite ( struct MockIO mio_p,
const void *  buf,
const size_t  size 
)