Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dbPrivate.h File Reference

#include "msg.h"
#include "lccErrors.h"
#include "ccsRtap.h"

Include dependency graph for dbPrivate.h:

Include dependency graph

Go to the source code of this file.

Classes

struct  dbLinkStatus
struct  dbDIRECT_ADDR
struct  dbSYMBOLIC_ADDR
struct  dbDB_ADDRESS
struct  dbREAD_WRITE

Defines

#define LCU_DATABASE   "rdbServer"
#define dbLCU_TIMEOUT   30000
#define MAX_CONNECTIONS   100
#define dbLINK_DOWN   0
#define dbLINK_UP   1
#define dbLINK_NEW   2
#define dbLINK_CLOSED   3

Typedefs

typedef vltUINT16 dbDIRECT_TYPE

Enumerations

enum  dbADDRESS_TYPE { dbDB_DIRECT, dbDB_SYMBOLIC }
enum  dbSYMBOLIC_TYPE { dbSYM_HIERARCHICAL, dbSYM_ALIAS, dbSYM_UNKNOWN }

Functions

ccsCOMPL_STAT dbSendCmd (msgCMD command, ccsENVNAME envName, char *cmdParam, msgLENGTH paramLen, msgCHECKFLAG flag, char **recvMsg, ccsERROR *error)
ccsCOMPL_STAT dbParseIndex (char *attrName, dbATTRTYPE attrType, vltUINT8 fieldCnt, vltUINT16 recCnt, vltUINT16 *startRec, vltUINT16 *endRec, vltUINT8 *startField, vltUINT8 *endField)
char * dbPadString (dbTYPE dataType, char *buffer, vltINT32 size, vltINT32 *newSize)
ccsCOMPL_STAT dbOpenLink (const ccsENVNAME envName, int lkIndex, ccsERROR *error)
ccsCOMPL_STAT dbCloseLink (int index, ccsERROR *error)
ccsCOMPL_STAT dbSetLinkStatus (const ccsENVNAME envName, vltUINT8 newStatus)
ccsCOMPL_STAT dbStringToString (char *source, vltINT32 size, unsigned char *buffer)
dbVIEW dbParseView (const dbSYMADDRESS fullName, dbSYMADDRESS **pointName)
ccsCOMPL_STAT dbGetAddrType (dbSYMADDRESS *address, dbSYMADDRESS **pointName, rtDbAddress *dbAddress)
ccsCOMPL_STAT dbAddPoint (const dbSYMADDRESS parentPoint, const dbSYMADDRESS pointName, const dbSYMADDRESS alias, dbRESIDENCE residence, ccsERROR *error)
ccsCOMPL_STAT dbAddScalar (const dbSYMADDRESS pointName, const dbATTRIBUTE attrName, dbTYPE dataType, ccsERROR *error)
ccsCOMPL_STAT dbAddVector (const dbSYMADDRESS pointName, const dbATTRIBUTE attrName, dbTYPE dataType, vltUINT16 elemCnt, ccsERROR *error)
ccsCOMPL_STAT dbDelAttr (const dbSYMADDRESS pointName, const dbATTRIBUTE attrName, dbATTRTYPE type, ccsERROR *error)
ccsCOMPL_STAT dbChangeAlias (const dbSYMADDRESS pointName, const dbSYMADDRESS newAlias, ccsERROR *error)
ccsCOMPL_STAT dbChangeName (const dbSYMADDRESS pointName, const dbSYMADDRESS newName, ccsERROR *error)
ccsCOMPL_STAT dbChangeAttrName (const dbSYMADDRESS pointName, const dbATTRIBUTE attrName, const dbATTRIBUTE newAttrName, ccsERROR *error)
ccsCOMPL_STAT dbCopyAttr (const dbATTRIBUTE attrName, const dbSYMADDRESS origPoint, const dbATTRIBUTE newName, const dbSYMADDRESS destPoint, ccsERROR *error)
ccsCOMPL_STAT dbCopyBranch (const dbSYMADDRESS origPoint, const dbSYMADDRESS destPoint, ccsERROR *error)
ccsCOMPL_STAT dbCopyPoint (const dbSYMADDRESS origPoint, const dbSYMADDRESS destPoint, ccsERROR *error)
ccsCOMPL_STAT dbDelBranch (const dbSYMADDRESS origPoint, ccsERROR *error)
ccsCOMPL_STAT dbDelPoint (const dbSYMADDRESS origPoint, ccsERROR *error)
ccsCOMPL_STAT dbMovePoint (const dbSYMADDRESS origPoint, const dbSYMADDRESS destPoint, ccsERROR *error)
ccsCOMPL_STAT dbChangeResidence (const dbSYMADDRESS origPoint, ccsERROR *error)
ccsCOMPL_STAT dbGetClass (const dbSYMADDRESS point, dbSYMADDRESS classAddr, ccsERROR *error)
ccsCOMPL_STAT dbTestSymaddr (const dbSYMADDRESS point, vltLOGICAL *result, ccsERROR *error)
ccsCOMPL_STAT dbXrefToAlias (const ccsENVNAME env, const DB_XREF *addr, char *string, ccsERROR *error)
ccsCOMPL_STAT dbLcuMultiRead (dbLISTID listId, ccsERROR *error)
ccsCOMPL_STAT dbLcuMultiWrite (dbLISTID listId, vltUINT8 writemode, ccsERROR *error)
ccsCOMPL_STAT dbConnectLite (const ccsENVNAME envName, ccsERROR *error)
ccsCOMPL_STAT dbDisconnectLite (const ccsENVNAME envName, ccsERROR *error)
ccsCOMPL_STAT dbCmdToServer (msgCMD command, ccsENVNAME envName, char *buffer, msgLENGTH bufLen, char **recParam, ccsERROR *error)

Variables

vltUINT32 numbLinks
dbLinkStatus linkTable [MAX_CONNECTIONS]


Define Documentation

#define dbLCU_TIMEOUT   30000
 

#define dbLINK_CLOSED   3
 

#define dbLINK_DOWN   0
 

#define dbLINK_NEW   2
 

#define dbLINK_UP   1
 

#define LCU_DATABASE   "rdbServer"
 

#define MAX_CONNECTIONS   100
 


Typedef Documentation

typedef vltUINT16 dbDIRECT_TYPE
 


Enumeration Type Documentation

enum dbADDRESS_TYPE
 

Enumeration values:
dbDB_DIRECT 
dbDB_SYMBOLIC 

enum dbSYMBOLIC_TYPE
 

Enumeration values:
dbSYM_HIERARCHICAL 
dbSYM_ALIAS 
dbSYM_UNKNOWN 


Function Documentation

ccsCOMPL_STAT dbAddPoint const dbSYMADDRESS  parentPoint,
const dbSYMADDRESS  pointName,
const dbSYMADDRESS  alias,
dbRESIDENCE  residence,
ccsERROR *  error
 

ccsCOMPL_STAT dbAddScalar const dbSYMADDRESS  pointName,
const dbATTRIBUTE  attrName,
dbTYPE  dataType,
ccsERROR *  error
 

ccsCOMPL_STAT dbAddVector const dbSYMADDRESS  pointName,
const dbATTRIBUTE  attrName,
dbTYPE  dataType,
vltUINT16  elemCnt,
ccsERROR *  error
 

ccsCOMPL_STAT dbChangeAlias const dbSYMADDRESS  pointName,
const dbSYMADDRESS  newAlias,
ccsERROR *  error
 

ccsCOMPL_STAT dbChangeAttrName const dbSYMADDRESS  pointName,
const dbATTRIBUTE  attrName,
const dbATTRIBUTE  newAttrName,
ccsERROR *  error
 

ccsCOMPL_STAT dbChangeName const dbSYMADDRESS  pointName,
const dbSYMADDRESS  newName,
ccsERROR *  error
 

ccsCOMPL_STAT dbChangeResidence const dbSYMADDRESS  origPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbCloseLink int  index,
ccsERROR *  error
 

ccsCOMPL_STAT dbCmdToServer msgCMD  command,
ccsENVNAME  envName,
char *  buffer,
msgLENGTH  bufLen,
char **  recParam,
ccsERROR *  error
 

ccsCOMPL_STAT dbConnectLite const ccsENVNAME  envName,
ccsERROR *  error
 

ccsCOMPL_STAT dbCopyAttr const dbATTRIBUTE  attrName,
const dbSYMADDRESS  origPoint,
const dbATTRIBUTE  newName,
const dbSYMADDRESS  destPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbCopyBranch const dbSYMADDRESS  origPoint,
const dbSYMADDRESS  destPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbCopyPoint const dbSYMADDRESS  origPoint,
const dbSYMADDRESS  destPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbDelAttr const dbSYMADDRESS  pointName,
const dbATTRIBUTE  attrName,
dbATTRTYPE  type,
ccsERROR *  error
 

ccsCOMPL_STAT dbDelBranch const dbSYMADDRESS  origPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbDelPoint const dbSYMADDRESS  origPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbDisconnectLite const ccsENVNAME  envName,
ccsERROR *  error
 

ccsCOMPL_STAT dbGetAddrType dbSYMADDRESS *  address,
dbSYMADDRESS **  pointName,
rtDbAddress *  dbAddress
 

ccsCOMPL_STAT dbGetClass const dbSYMADDRESS  point,
dbSYMADDRESS  classAddr,
ccsERROR *  error
 

ccsCOMPL_STAT dbLcuMultiRead dbLISTID  listId,
ccsERROR *  error
 

ccsCOMPL_STAT dbLcuMultiWrite dbLISTID  listId,
vltUINT8  writemode,
ccsERROR *  error
 

ccsCOMPL_STAT dbMovePoint const dbSYMADDRESS  origPoint,
const dbSYMADDRESS  destPoint,
ccsERROR *  error
 

ccsCOMPL_STAT dbOpenLink const ccsENVNAME  envName,
int  lkIndex,
ccsERROR *  error
 

char* dbPadString dbTYPE  dataType,
char *  buffer,
vltINT32  size,
vltINT32 *  newSize
 

ccsCOMPL_STAT dbParseIndex char *  attrName,
dbATTRTYPE  attrType,
vltUINT8  fieldCnt,
vltUINT16  recCnt,
vltUINT16 *  startRec,
vltUINT16 *  endRec,
vltUINT8 *  startField,
vltUINT8 *  endField
 

dbVIEW dbParseView const dbSYMADDRESS  fullName,
dbSYMADDRESS **  pointName
 

ccsCOMPL_STAT dbSendCmd msgCMD  command,
ccsENVNAME  envName,
char *  cmdParam,
msgLENGTH  paramLen,
msgCHECKFLAG  flag,
char **  recvMsg,
ccsERROR *  error
 

ccsCOMPL_STAT dbSetLinkStatus const ccsENVNAME  envName,
vltUINT8  newStatus
 

ccsCOMPL_STAT dbStringToString char *  source,
vltINT32  size,
unsigned char *  buffer
 

ccsCOMPL_STAT dbTestSymaddr const dbSYMADDRESS  point,
vltLOGICAL *  result,
ccsERROR *  error
 

ccsCOMPL_STAT dbXrefToAlias const ccsENVNAME  env,
const DB_XREF *  addr,
char *  string,
ccsERROR *  error
 


Variable Documentation

dbLinkStatus linkTable[MAX_CONNECTIONS]
 

vltUINT32 numbLinks
 


Generated on Thu Apr 30 02:34:39 2009 for ACS C++ API by doxygen 1.3.8