Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
isam.h File Reference

Go to the source code of this file.

Classes

struct  keypart
struct  keydesc
struct  dictinfo
struct  audhead

Defines

#define CHARTYPE   0
#define DECIMALTYPE   0
#define CHARSIZE   1
#define INTTYPE   1
#define INTSIZE   2
#define LONGTYPE   2
#define LONGSIZE   4
#define DOUBLETYPE   3
#define DOUBLESIZE   (sizeof(double))
#define FLOATTYPE   4
#define FLOATSIZE   (sizeof(float))
#define PACKTYPE   100
#define PACKSIZE   0
#define USERCOLL(x)   ((x))
#define COLLATE1   0x10
#define COLLATE2   0x20
#define COLLATE3   0x30
#define COLLATE4   0x40
#define COLLATE5   0x50
#define COLLATE6   0x60
#define COLLATE7   0x70
#define MAXTYPE   5
#define ISDESC   0x80 /* add to make descending type */
#define TYPEMASK   0x7F /* type mask */
#define BYTEMASK   0xFF /* mask for one byte */
#define BYTESHFT   8 /* shift for one byte */
#define ldint(p)   ((short)(((p)[0]<<BYTESHFT)+((p)[1]&BYTEMASK)))
#define stint(i, p)   ((p)[0]=(i)>>BYTESHFT,(p)[1]=(i))
#define ISFIRST   0 /* position to first record */
#define ISLAST   1 /* position to last record */
#define ISNEXT   2 /* position to next record */
#define ISPREV   3 /* position to previous record */
#define ISCURR   4 /* position to current record */
#define ISEQUAL   5 /* position to equal value */
#define ISGREAT   6 /* position to greater value */
#define ISGTEQ   7 /* position to >= value */
#define ISLOCK   0x100 /* record lock */
#define ISWAIT   0x400 /* wait for record lock */
#define ISLCKW   0x500 /* ISLOCK + ISWAIT */
#define ISSLEEPLOCK   0x1000 /* IAG */
#define ISAUTOLOCK   0x200 /* automatic record lock */
#define ISMANULOCK   0x400 /* manual record lock */
#define ISEXCLLOCK   0x800 /* exclusive isam file lock */
#define ISINPUT   0 /* open for input only */
#define ISOUTPUT   1 /* open for output only */
#define ISINOUT   2 /* open for input and output */
#define ISTRANS   4 /* open for transaction proc */
#define ISNOLOG   8 /* no loggin for this file */
#define AUDSETNAME   0 /* set new audit trail name */
#define AUDGETNAME   1 /* get audit trail name */
#define AUDSTART   2 /* start audit trail */
#define AUDSTOP   3 /* stop audit trail */
#define AUDINFO   4 /* audit trail running ? */
#define MAXKEYSIZE   120 /* max number of bytes in key */
#define NPARTS   8 /* max number of key parts */
#define k_start   k_part[0].kp_start
#define k_leng   k_part[0].kp_leng
#define k_type   k_part[0].kp_type
#define ISNODUPS   000 /* no duplicates allowed */
#define ISDUPS   001 /* duplicates allowed */
#define DCOMPRESS   002 /* duplicate compression */
#define LCOMPRESS   004 /* leading compression */
#define TCOMPRESS   010 /* trailing compression */
#define COMPRESS   016 /* all compression */
#define ISCLUSTER   020 /* index is a cluster one */
#define ISAM_ERR_OFFSET   31
#define EDUPL   100+ISAM_ERR_OFFSET /* Duplicate record */
#define ENOTOPEN   101+ISAM_ERR_OFFSET /* File not open */
#define EBADARG   102+ISAM_ERR_OFFSET /* Illegal argument */
#define EBADKEY   103+ISAM_ERR_OFFSET /* Illegal key desc */
#define ETOOMANY   104+ISAM_ERR_OFFSET /* Too many files open */
#define EBADFILE   105+ISAM_ERR_OFFSET /* Bad isam file format */
#define ENOTEXCL   106+ISAM_ERR_OFFSET /* Non-exclusive access */
#define ELOCKED   107+ISAM_ERR_OFFSET /* Record locked */
#define EKEXISTS   108+ISAM_ERR_OFFSET /* Key already exists */
#define EPRIMKEY   109+ISAM_ERR_OFFSET /* Is primary key */
#define EENDFILE   110+ISAM_ERR_OFFSET /* End/begin of file */
#define ENOREC   111+ISAM_ERR_OFFSET /* No record found */
#define ENOCURR   112+ISAM_ERR_OFFSET /* No current record */
#define EFLOCKED   113+ISAM_ERR_OFFSET /* File locked */
#define EFNAME   114+ISAM_ERR_OFFSET /* File name too long */
#define ENOLOK   115+ISAM_ERR_OFFSET /* Can't create lock file */
#define EDUPWARN   116+ISAM_ERR_OFFSET /* Duplicate record (warning) */
#define ENOCRP   117+ISAM_ERR_OFFSET /* Current record pointer undefined */
#define EBADMEM   118+ISAM_ERR_OFFSET /* Can't alloc memory */
#define EBADCOLL   119+ISAM_ERR_OFFSET /* Bad custom collating */
#define EINVOP   120+ISAM_ERR_OFFSET /* Invalid operation */
#define EBOUNDARY   121+ISAM_ERR_OFFSET /* Boundary violation on write */
#define EBOUNDSQ   122+ISAM_ERR_OFFSET /* Boundary violation on sq file */
#define EFNOTAVL   123+ISAM_ERR_OFFSET /* Not available, closed w/ lock */
#define EINVOPN   124+ISAM_ERR_OFFSET /* Inconsistent attributes */
#define EOPKYAPP   125+ISAM_ERR_OFFSET /* Open -APPEND on KEYED file */
#define EOPILDAM   126+ISAM_ERR_OFFSET /* Open -DAM on non-IDRECT file */
#define EOPKYSAM   127+ISAM_ERR_OFFSET /* Open -SAM on KEYED file */
#define EILLREAD   128+ISAM_ERR_OFFSET /* Read on output file */
#define EILLWRITE   129+ISAM_ERR_OFFSET /* Write on input file */
#define ENOTCLOS   130+ISAM_ERR_OFFSET /* Open on file not yet closed */
#define EKEYSEQ   131+ISAM_ERR_OFFSET /* KEY specified on sequential file */
#define EKEYSTR   132+ISAM_ERR_OFFSET /* KEY specified on stream file */
#define ENKYKEY   133+ISAM_ERR_OFFSET /* No KEY specified on KEYED file */
#define ENPRINT   134+ISAM_ERR_OFFSET /* Not a PRINT file */
#define ENSTREAM   135+ISAM_ERR_OFFSET /* Not a STREAM file */
#define ECALLNF   136+ISAM_ERR_OFFSET /* CALL dataname name not found */
#define EBFORMAT   137+ISAM_ERR_OFFSET /* B-format error (35) */
#define EBIFORMAT   138+ISAM_ERR_OFFSET /* BI format error (36) */
#define ECFORMAT   139+ISAM_ERR_OFFSET /* C format error (32) */
#define EEFORMAT   140+ISAM_ERR_OFFSET /* E format error (34) */
#define EIOSTACK   141+ISAM_ERR_OFFSET /* I/O stack overflow */
#define ECONVERT   142+ISAM_ERR_OFFSET /* Conversion error */
#define ELISTOVF   143+ISAM_ERR_OFFSET /* LIST input item too long */
#define EIMPOPEN   144+ISAM_ERR_OFFSET /* Implicit open failed */
#define EEOFFMT   145+ISAM_ERR_OFFSET /* EOF found while parsing edited input */
#define EENDSTR   146+ISAM_ERR_OFFSET /* End of string on GET/PUT STRING */
#define EINVSFMT   147+ISAM_ERR_OFFSET /* Invalid format item for GET/PUT STRING */
#define EINVIFMT   148+ISAM_ERR_OFFSET /* Invalid format for GET */
#define ERPGSCR   149+ISAM_ERR_OFFSET /* Cannot initialize RPG screens */
#define ENOTOPRD   150+ISAM_ERR_OFFSET /* Not open for read */
#define EILLREW   151+ISAM_ERR_OFFSET /* REWRITE on input file */
#define ENOPOPEN   152+ISAM_ERR_OFFSET /* File not OPEN on NON-OPTIONAL */
#define EOPOPEN   153+ISAM_ERR_OFFSET /* File OPEN on OPTIONAL */
#define ESEQERR   154+ISAM_ERR_OFFSET /* Sequential error on REW or DELE COBOL85 */
#define ESEQERNR   155+ISAM_ERR_OFFSET /* Sequential error no next record COBOL85 */
#define EBADSIZE   156+ISAM_ERR_OFFSET /* Bad record size on variable length record */
#define ELOGREAD   157+ISAM_ERR_OFFSET /* Cannot read log rec */
#define EBADLOG   158+ISAM_ERR_OFFSET /* Bad log record */
#define ELOGOPEN   159+ISAM_ERR_OFFSET /* Cannot open log file */
#define ELOGWRIT   160+ISAM_ERR_OFFSET /* Cannot write log rec */
#define ENOTRANS   161+ISAM_ERR_OFFSET /* No transaction */
#define ENOSHMEM   162+ISAM_ERR_OFFSET /* No shared memory */
#define ENOBEGIN   163+ISAM_ERR_OFFSET /* No begin work yet */
#define ENONFS   164+ISAM_ERR_OFFSET /* Can't use nfs */
#define EAUDIT   165+ISAM_ERR_OFFSET /* Audit trail exists */
#define EFFORMAT   166+ISAM_ERR_OFFSET /* F format error */
#define EBIGRECN   167+ISAM_ERR_OFFSET /* Record number tobig for data item */
#define IO_OPEN   0x10 /* open() */
#define IO_CREA   0x20 /* creat() */
#define IO_SEEK   0x30 /* lseek() */
#define IO_READ   0x40 /* read() */
#define IO_WRIT   0x50 /* write() */
#define IO_LOCK   0x60 /* locking() */
#define IO_IOCTL   0x70 /* ioctl() */
#define IO_IDX   0x01 /* index file */
#define IO_DAT   0x02 /* data file */
#define IO_AUD   0x03 /* audit file */
#define IO_LOK   0x04 /* lock file */
#define IO_SEM   0x05 /* semaphore file */
#define AUDHEADSIZE   14 /* num of bytes in audit header */

Functions

int ldlong (char *)
double ldfloat (char *)
double lddbl (char *)
double ldfltnull (char *, short *)
double lddblnull (char *, short *)
int mkidxname (char *, char *)
int mkdatname (char *, char *)
int mklokname (char *, char *)

Variables

int iserrno
int iserrio
int isrecnum
char isstat1
char isstat2
char * isversnumber
char * isserial
int issingleuser
int is_nerr
char * is_errlist []

Define Documentation

#define AUDGETNAME   1 /* get audit trail name */

Definition at line 166 of file isam.h.

#define AUDHEADSIZE   14 /* num of bytes in audit header */

Definition at line 293 of file isam.h.

#define AUDINFO   4 /* audit trail running ? */

Definition at line 169 of file isam.h.

#define AUDSETNAME   0 /* set new audit trail name */

Definition at line 165 of file isam.h.

#define AUDSTART   2 /* start audit trail */

Definition at line 167 of file isam.h.

#define AUDSTOP   3 /* stop audit trail */

Definition at line 168 of file isam.h.

#define BYTEMASK   0xFF /* mask for one byte */

Definition at line 129 of file isam.h.

#define BYTESHFT   8 /* shift for one byte */

Definition at line 130 of file isam.h.

#define CHARSIZE   1

Definition at line 90 of file isam.h.

#define CHARTYPE   0

Definition at line 88 of file isam.h.

#define COLLATE1   0x10

Definition at line 110 of file isam.h.

#define COLLATE2   0x20

Definition at line 111 of file isam.h.

#define COLLATE3   0x30

Definition at line 115 of file isam.h.

#define COLLATE4   0x40

Definition at line 116 of file isam.h.

#define COLLATE5   0x50

Definition at line 117 of file isam.h.

#define COLLATE6   0x60

Definition at line 118 of file isam.h.

#define COLLATE7   0x70

Definition at line 119 of file isam.h.

#define COMPRESS   016 /* all compression */

Definition at line 183 of file isam.h.

#define DCOMPRESS   002 /* duplicate compression */

Definition at line 180 of file isam.h.

#define DECIMALTYPE   0

Definition at line 89 of file isam.h.

#define DOUBLESIZE   (sizeof(double))

Definition at line 99 of file isam.h.

#define DOUBLETYPE   3

Definition at line 98 of file isam.h.

#define EAUDIT   165+ISAM_ERR_OFFSET /* Audit trail exists */

Definition at line 257 of file isam.h.

#define EBADARG   102+ISAM_ERR_OFFSET /* Illegal argument */

Definition at line 189 of file isam.h.

#define EBADCOLL   119+ISAM_ERR_OFFSET /* Bad custom collating */

Definition at line 209 of file isam.h.

#define EBADFILE   105+ISAM_ERR_OFFSET /* Bad isam file format */

Definition at line 192 of file isam.h.

#define EBADKEY   103+ISAM_ERR_OFFSET /* Illegal key desc */

Definition at line 190 of file isam.h.

#define EBADLOG   158+ISAM_ERR_OFFSET /* Bad log record */

Definition at line 250 of file isam.h.

#define EBADMEM   118+ISAM_ERR_OFFSET /* Can't alloc memory */

Definition at line 208 of file isam.h.

#define EBADSIZE   156+ISAM_ERR_OFFSET /* Bad record size on variable length record */

Definition at line 247 of file isam.h.

#define EBFORMAT   137+ISAM_ERR_OFFSET /* B-format error (35) */

Definition at line 228 of file isam.h.

#define EBIFORMAT   138+ISAM_ERR_OFFSET /* BI format error (36) */

Definition at line 229 of file isam.h.

#define EBIGRECN   167+ISAM_ERR_OFFSET /* Record number tobig for data item */

Definition at line 260 of file isam.h.

#define EBOUNDARY   121+ISAM_ERR_OFFSET /* Boundary violation on write */

Definition at line 212 of file isam.h.

#define EBOUNDSQ   122+ISAM_ERR_OFFSET /* Boundary violation on sq file */

Definition at line 213 of file isam.h.

#define ECALLNF   136+ISAM_ERR_OFFSET /* CALL dataname name not found */

Definition at line 227 of file isam.h.

#define ECFORMAT   139+ISAM_ERR_OFFSET /* C format error (32) */

Definition at line 230 of file isam.h.

#define ECONVERT   142+ISAM_ERR_OFFSET /* Conversion error */

Definition at line 233 of file isam.h.

#define EDUPL   100+ISAM_ERR_OFFSET /* Duplicate record */

Definition at line 187 of file isam.h.

#define EDUPWARN   116+ISAM_ERR_OFFSET /* Duplicate record (warning) */

Definition at line 206 of file isam.h.

#define EEFORMAT   140+ISAM_ERR_OFFSET /* E format error (34) */

Definition at line 231 of file isam.h.

#define EENDFILE   110+ISAM_ERR_OFFSET /* End/begin of file */

Definition at line 197 of file isam.h.

#define EENDSTR   146+ISAM_ERR_OFFSET /* End of string on GET/PUT STRING */

Definition at line 237 of file isam.h.

#define EEOFFMT   145+ISAM_ERR_OFFSET /* EOF found while parsing edited input */

Definition at line 236 of file isam.h.

#define EFFORMAT   166+ISAM_ERR_OFFSET /* F format error */

Definition at line 259 of file isam.h.

#define EFLOCKED   113+ISAM_ERR_OFFSET /* File locked */

Definition at line 200 of file isam.h.

#define EFNAME   114+ISAM_ERR_OFFSET /* File name too long */

Definition at line 201 of file isam.h.

#define EFNOTAVL   123+ISAM_ERR_OFFSET /* Not available, closed w/ lock */

Definition at line 214 of file isam.h.

#define EILLREAD   128+ISAM_ERR_OFFSET /* Read on output file */

Definition at line 219 of file isam.h.

#define EILLREW   151+ISAM_ERR_OFFSET /* REWRITE on input file */

Definition at line 242 of file isam.h.

#define EILLWRITE   129+ISAM_ERR_OFFSET /* Write on input file */

Definition at line 220 of file isam.h.

#define EIMPOPEN   144+ISAM_ERR_OFFSET /* Implicit open failed */

Definition at line 235 of file isam.h.

#define EINVIFMT   148+ISAM_ERR_OFFSET /* Invalid format for GET */

Definition at line 239 of file isam.h.

#define EINVOP   120+ISAM_ERR_OFFSET /* Invalid operation */

Definition at line 211 of file isam.h.

#define EINVOPN   124+ISAM_ERR_OFFSET /* Inconsistent attributes */

Definition at line 215 of file isam.h.

#define EINVSFMT   147+ISAM_ERR_OFFSET /* Invalid format item for GET/PUT STRING */

Definition at line 238 of file isam.h.

#define EIOSTACK   141+ISAM_ERR_OFFSET /* I/O stack overflow */

Definition at line 232 of file isam.h.

#define EKEXISTS   108+ISAM_ERR_OFFSET /* Key already exists */

Definition at line 195 of file isam.h.

#define EKEYSEQ   131+ISAM_ERR_OFFSET /* KEY specified on sequential file */

Definition at line 222 of file isam.h.

#define EKEYSTR   132+ISAM_ERR_OFFSET /* KEY specified on stream file */

Definition at line 223 of file isam.h.

#define ELISTOVF   143+ISAM_ERR_OFFSET /* LIST input item too long */

Definition at line 234 of file isam.h.

#define ELOCKED   107+ISAM_ERR_OFFSET /* Record locked */

Definition at line 194 of file isam.h.

#define ELOGOPEN   159+ISAM_ERR_OFFSET /* Cannot open log file */

Definition at line 251 of file isam.h.

#define ELOGREAD   157+ISAM_ERR_OFFSET /* Cannot read log rec */

Definition at line 249 of file isam.h.

#define ELOGWRIT   160+ISAM_ERR_OFFSET /* Cannot write log rec */

Definition at line 252 of file isam.h.

#define ENKYKEY   133+ISAM_ERR_OFFSET /* No KEY specified on KEYED file */

Definition at line 224 of file isam.h.

#define ENOBEGIN   163+ISAM_ERR_OFFSET /* No begin work yet */

Definition at line 255 of file isam.h.

#define ENOCRP   117+ISAM_ERR_OFFSET /* Current record pointer undefined */

Definition at line 207 of file isam.h.

#define ENOCURR   112+ISAM_ERR_OFFSET /* No current record */

Definition at line 199 of file isam.h.

#define ENOLOK   115+ISAM_ERR_OFFSET /* Can't create lock file */

Definition at line 202 of file isam.h.

#define ENONFS   164+ISAM_ERR_OFFSET /* Can't use nfs */

Definition at line 256 of file isam.h.

#define ENOPOPEN   152+ISAM_ERR_OFFSET /* File not OPEN on NON-OPTIONAL */

Definition at line 243 of file isam.h.

#define ENOREC   111+ISAM_ERR_OFFSET /* No record found */

Definition at line 198 of file isam.h.

#define ENOSHMEM   162+ISAM_ERR_OFFSET /* No shared memory */

Definition at line 254 of file isam.h.

#define ENOTCLOS   130+ISAM_ERR_OFFSET /* Open on file not yet closed */

Definition at line 221 of file isam.h.

#define ENOTEXCL   106+ISAM_ERR_OFFSET /* Non-exclusive access */

Definition at line 193 of file isam.h.

#define ENOTOPEN   101+ISAM_ERR_OFFSET /* File not open */

Definition at line 188 of file isam.h.

#define ENOTOPRD   150+ISAM_ERR_OFFSET /* Not open for read */

Definition at line 241 of file isam.h.

#define ENOTRANS   161+ISAM_ERR_OFFSET /* No transaction */

Definition at line 253 of file isam.h.

#define ENPRINT   134+ISAM_ERR_OFFSET /* Not a PRINT file */

Definition at line 225 of file isam.h.

#define ENSTREAM   135+ISAM_ERR_OFFSET /* Not a STREAM file */

Definition at line 226 of file isam.h.

#define EOPILDAM   126+ISAM_ERR_OFFSET /* Open -DAM on non-IDRECT file */

Definition at line 217 of file isam.h.

#define EOPKYAPP   125+ISAM_ERR_OFFSET /* Open -APPEND on KEYED file */

Definition at line 216 of file isam.h.

#define EOPKYSAM   127+ISAM_ERR_OFFSET /* Open -SAM on KEYED file */

Definition at line 218 of file isam.h.

#define EOPOPEN   153+ISAM_ERR_OFFSET /* File OPEN on OPTIONAL */

Definition at line 244 of file isam.h.

#define EPRIMKEY   109+ISAM_ERR_OFFSET /* Is primary key */

Definition at line 196 of file isam.h.

#define ERPGSCR   149+ISAM_ERR_OFFSET /* Cannot initialize RPG screens */

Definition at line 240 of file isam.h.

#define ESEQERNR   155+ISAM_ERR_OFFSET /* Sequential error no next record COBOL85 */

Definition at line 246 of file isam.h.

#define ESEQERR   154+ISAM_ERR_OFFSET /* Sequential error on REW or DELE COBOL85 */

Definition at line 245 of file isam.h.

#define ETOOMANY   104+ISAM_ERR_OFFSET /* Too many files open */

Definition at line 191 of file isam.h.

#define FLOATSIZE   (sizeof(float))

Definition at line 102 of file isam.h.

#define FLOATTYPE   4

Definition at line 101 of file isam.h.

#define INTSIZE   2

Definition at line 93 of file isam.h.

#define INTTYPE   1

Definition at line 92 of file isam.h.

#define IO_AUD   0x03 /* audit file */

Definition at line 289 of file isam.h.

#define IO_CREA   0x20 /* creat() */

Definition at line 280 of file isam.h.

#define IO_DAT   0x02 /* data file */

Definition at line 288 of file isam.h.

#define IO_IDX   0x01 /* index file */

Definition at line 287 of file isam.h.

#define IO_IOCTL   0x70 /* ioctl() */

Definition at line 285 of file isam.h.

#define IO_LOCK   0x60 /* locking() */

Definition at line 284 of file isam.h.

#define IO_LOK   0x04 /* lock file */

Definition at line 290 of file isam.h.

#define IO_OPEN   0x10 /* open() */

Definition at line 279 of file isam.h.

#define IO_READ   0x40 /* read() */

Definition at line 282 of file isam.h.

#define IO_SEEK   0x30 /* lseek() */

Definition at line 281 of file isam.h.

#define IO_SEM   0x05 /* semaphore file */

Definition at line 291 of file isam.h.

#define IO_WRIT   0x50 /* write() */

Definition at line 283 of file isam.h.

#define ISAM_ERR_OFFSET   31

Definition at line 186 of file isam.h.

#define ISAUTOLOCK   0x200 /* automatic record lock */

Definition at line 154 of file isam.h.

#define ISCLUSTER   020 /* index is a cluster one */

Definition at line 184 of file isam.h.

#define ISCURR   4 /* position to current record */

Definition at line 142 of file isam.h.

#define ISDESC   0x80 /* add to make descending type */

Definition at line 122 of file isam.h.

#define ISDUPS   001 /* duplicates allowed */

Definition at line 179 of file isam.h.

#define ISEQUAL   5 /* position to equal value */

Definition at line 143 of file isam.h.

#define ISEXCLLOCK   0x800 /* exclusive isam file lock */

Definition at line 156 of file isam.h.

#define ISFIRST   0 /* position to first record */

Definition at line 138 of file isam.h.

#define ISGREAT   6 /* position to greater value */

Definition at line 144 of file isam.h.

#define ISGTEQ   7 /* position to >= value */

Definition at line 145 of file isam.h.

#define ISINOUT   2 /* open for input and output */

Definition at line 160 of file isam.h.

#define ISINPUT   0 /* open for input only */

Definition at line 158 of file isam.h.

#define ISLAST   1 /* position to last record */

Definition at line 139 of file isam.h.

#define ISLCKW   0x500 /* ISLOCK + ISWAIT */

Definition at line 150 of file isam.h.

#define ISLOCK   0x100 /* record lock */

Definition at line 148 of file isam.h.

#define ISMANULOCK   0x400 /* manual record lock */

Definition at line 155 of file isam.h.

#define ISNEXT   2 /* position to next record */

Definition at line 140 of file isam.h.

#define ISNODUPS   000 /* no duplicates allowed */

Definition at line 178 of file isam.h.

#define ISNOLOG   8 /* no loggin for this file */

Definition at line 162 of file isam.h.

#define ISOUTPUT   1 /* open for output only */

Definition at line 159 of file isam.h.

#define ISPREV   3 /* position to previous record */

Definition at line 141 of file isam.h.

#define ISSLEEPLOCK   0x1000 /* IAG */

Definition at line 151 of file isam.h.

#define ISTRANS   4 /* open for transaction proc */

Definition at line 161 of file isam.h.

#define ISWAIT   0x400 /* wait for record lock */

Definition at line 149 of file isam.h.

#define k_leng   k_part[0].kp_leng

Definition at line 175 of file isam.h.

#define k_start   k_part[0].kp_start

Definition at line 174 of file isam.h.

#define k_type   k_part[0].kp_type

Definition at line 176 of file isam.h.

#define LCOMPRESS   004 /* leading compression */

Definition at line 181 of file isam.h.

#define ldint (   p)    ((short)(((p)[0]<<BYTESHFT)+((p)[1]&BYTEMASK)))

Definition at line 134 of file isam.h.

#define LONGSIZE   4

Definition at line 96 of file isam.h.

#define LONGTYPE   2

Definition at line 95 of file isam.h.

#define MAXKEYSIZE   120 /* max number of bytes in key */

Definition at line 171 of file isam.h.

#define MAXTYPE   5

Definition at line 121 of file isam.h.

#define NPARTS   8 /* max number of key parts */

Definition at line 172 of file isam.h.

#define PACKSIZE   0

Definition at line 106 of file isam.h.

#define PACKTYPE   100

Definition at line 105 of file isam.h.

#define stint (   i,
 
)    ((p)[0]=(i)>>BYTESHFT,(p)[1]=(i))

Definition at line 135 of file isam.h.

#define TCOMPRESS   010 /* trailing compression */

Definition at line 182 of file isam.h.

#define TYPEMASK   0x7F /* type mask */

Definition at line 123 of file isam.h.

#define USERCOLL (   x)    ((x))

Definition at line 108 of file isam.h.


Function Documentation

double lddbl ( char *  )
double lddblnull ( char *  ,
short *   
)
double ldfloat ( char *  )
double ldfltnull ( char *  ,
short *   
)
int ldlong ( char *  )
int mkdatname ( char *  ,
char *   
)
int mkidxname ( char *  ,
char *   
)
int mklokname ( char *  ,
char *   
)

Variable Documentation

char* is_errlist[]
int is_nerr
int iserrio
int iserrno
int isrecnum
char* isserial
char isstat1
char isstat2
char* isversnumber
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines