ARPDAS_QNX6 1.0
Functions | Variables
DG_data.cc File Reference
#include "DG_data.h"
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
#include "nortlib.h"
#include "nl_assert.h"
#include "tm.h"
Include dependency graph for DG_data.cc:

Go to the source code of this file.

Functions

static struct data_dev_ocbocb_calloc (resmgr_context_t *ctp, data_dev_attr *device)
static void ocb_free (struct data_dev_ocb *ocb)
int DG_data_io_write (resmgr_context_t *ctp, io_write_t *msg, IOFUNC_OCB_T *ocb)
int DG_data_io_notify (resmgr_context_t *ctp, io_notify_t *msg, IOFUNC_OCB_T *ocb)
int DG_data_io_close_ocb (resmgr_context_t *ctp, void *rsvd, IOFUNC_OCB_T *ocb)

Variables

static iofunc_funcs_t ocb_funcs
static iofunc_mount_t DGdata_mountpoint = { 0, 0, 0, 0, &ocb_funcs }

Function Documentation

int DG_data_io_close_ocb ( resmgr_context_t *  ctp,
void *  rsvd,
IOFUNC_OCB_T *  ocb 
)

Definition at line 163 of file DG_data.cc.

References IOFUNC_ATTR_T, and wr_attr.

Referenced by DG_data::DG_data().

Here is the caller graph for this function:

int DG_data_io_notify ( resmgr_context_t *  ctp,
io_notify_t *  msg,
IOFUNC_OCB_T *  ocb 
)

Definition at line 155 of file DG_data.cc.

References IOFUNC_ATTR_T, and wr_attr.

Referenced by DG_data::DG_data().

Here is the caller graph for this function:

int DG_data_io_write ( resmgr_context_t *  ctp,
io_write_t *  msg,
IOFUNC_OCB_T *  ocb 
)

Definition at line 141 of file DG_data.cc.

Referenced by DG_data::DG_data().

Here is the caller graph for this function:

static struct data_dev_ocb * ocb_calloc ( resmgr_context_t *  ctp,
data_dev_attr device 
) [static, read]

Definition at line 36 of file DG_data.cc.

References data_dev_ocb::msgsize, and data_dev_ocb::rcvid.

static void ocb_free ( struct data_dev_ocb ocb) [static]

Definition at line 46 of file DG_data.cc.


Variable Documentation

iofunc_mount_t DGdata_mountpoint = { 0, 0, 0, 0, &ocb_funcs } [static]

Definition at line 34 of file DG_data.cc.

Referenced by DG_data::DG_data().

iofunc_funcs_t ocb_funcs [static]
Initial value:
 {
  _IOFUNC_NFUNCS,
  ocb_calloc,
  ocb_free
}

Definition at line 28 of file DG_data.cc.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines