28 lines
951 B
C
28 lines
951 B
C
|
|
#ifndef dbAddrh
|
|
#define dbAddrh
|
|
|
|
#ifdef __cplusplus
|
|
//
|
|
// for brain dead C++ compilers
|
|
//
|
|
struct dbCommon;
|
|
#endif
|
|
|
|
typedef struct dbAddr{
|
|
struct dbCommon *precord;/* address of record */
|
|
void *pfield; /* address of field */
|
|
void *pfldDes; /* address of struct fldDes */
|
|
void *asPvt; /* Access Security Private */
|
|
long no_elements; /* number of elements (arrays) */
|
|
short field_type; /* type of database field */
|
|
short field_size; /* size (bytes) of the field being accessed */
|
|
short special; /* special processing */
|
|
short dbr_field_type; /* field type as seen by database request*/
|
|
/*DBR_STRING,...,DBR_ENUM,DBR_NOACCESS*/
|
|
}dbAddr;
|
|
|
|
typedef dbAddr DBADDR;
|
|
|
|
#endif /* dbAddrh */
|