osprey/include/isam.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  keypart
type  keydesc
type  dictinfo
type  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
#define TYPEMASK   0x7F
#define BYTEMASK   0xFF
#define BYTESHFT   8
#define ldint(p)   ((short)(((p)[0]<<BYTESHFT)+((p)[1]&BYTEMASK)))
#define stint(i, p)   ((p)[0]=(i)>>BYTESHFT,(p)[1]=(i))
#define ISFIRST   0
#define ISLAST   1
#define ISNEXT   2
#define ISPREV   3
#define ISCURR   4
#define ISEQUAL   5
#define ISGREAT   6
#define ISGTEQ   7
#define ISLOCK   0x100
#define ISWAIT   0x400
#define ISLCKW   0x500
#define ISSLEEPLOCK   0x1000
#define ISAUTOLOCK   0x200
#define ISMANULOCK   0x400
#define ISEXCLLOCK   0x800
#define ISINPUT   0
#define ISOUTPUT   1
#define ISINOUT   2
#define ISTRANS   4
#define ISNOLOG   8
#define AUDSETNAME   0
#define AUDGETNAME   1
#define AUDSTART   2
#define AUDSTOP   3
#define AUDINFO   4
#define MAXKEYSIZE   120
#define NPARTS   8
#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
#define ISDUPS   001
#define DCOMPRESS   002
#define LCOMPRESS   004
#define TCOMPRESS   010
#define COMPRESS   016
#define ISCLUSTER   020
#define ISAM_ERR_OFFSET   31
#define EDUPL   100+ISAM_ERR_OFFSET
#define ENOTOPEN   101+ISAM_ERR_OFFSET
#define EBADARG   102+ISAM_ERR_OFFSET
#define EBADKEY   103+ISAM_ERR_OFFSET
#define ETOOMANY   104+ISAM_ERR_OFFSET
#define EBADFILE   105+ISAM_ERR_OFFSET
#define ENOTEXCL   106+ISAM_ERR_OFFSET
#define ELOCKED   107+ISAM_ERR_OFFSET
#define EKEXISTS   108+ISAM_ERR_OFFSET
#define EPRIMKEY   109+ISAM_ERR_OFFSET
#define EENDFILE   110+ISAM_ERR_OFFSET
#define ENOREC   111+ISAM_ERR_OFFSET
#define ENOCURR   112+ISAM_ERR_OFFSET
#define EFLOCKED   113+ISAM_ERR_OFFSET
#define EFNAME   114+ISAM_ERR_OFFSET
#define ENOLOK   115+ISAM_ERR_OFFSET
#define EDUPWARN   116+ISAM_ERR_OFFSET
#define ENOCRP   117+ISAM_ERR_OFFSET
#define EBADMEM   118+ISAM_ERR_OFFSET
#define EBADCOLL   119+ISAM_ERR_OFFSET
#define EINVOP   120+ISAM_ERR_OFFSET
#define EBOUNDARY   121+ISAM_ERR_OFFSET
#define EBOUNDSQ   122+ISAM_ERR_OFFSET
#define EFNOTAVL   123+ISAM_ERR_OFFSET
#define EINVOPN   124+ISAM_ERR_OFFSET
#define EOPKYAPP   125+ISAM_ERR_OFFSET
#define EOPILDAM   126+ISAM_ERR_OFFSET
#define EOPKYSAM   127+ISAM_ERR_OFFSET
#define EILLREAD   128+ISAM_ERR_OFFSET
#define EILLWRITE   129+ISAM_ERR_OFFSET
#define ENOTCLOS   130+ISAM_ERR_OFFSET
#define EKEYSEQ   131+ISAM_ERR_OFFSET
#define EKEYSTR   132+ISAM_ERR_OFFSET
#define ENKYKEY   133+ISAM_ERR_OFFSET
#define ENPRINT   134+ISAM_ERR_OFFSET
#define ENSTREAM   135+ISAM_ERR_OFFSET
#define ECALLNF   136+ISAM_ERR_OFFSET
#define EBFORMAT   137+ISAM_ERR_OFFSET
#define EBIFORMAT   138+ISAM_ERR_OFFSET
#define ECFORMAT   139+ISAM_ERR_OFFSET
#define EEFORMAT   140+ISAM_ERR_OFFSET
#define EIOSTACK   141+ISAM_ERR_OFFSET
#define ECONVERT   142+ISAM_ERR_OFFSET
#define ELISTOVF   143+ISAM_ERR_OFFSET
#define EIMPOPEN   144+ISAM_ERR_OFFSET
#define EEOFFMT   145+ISAM_ERR_OFFSET
#define EENDSTR   146+ISAM_ERR_OFFSET
#define EINVSFMT   147+ISAM_ERR_OFFSET
#define EINVIFMT   148+ISAM_ERR_OFFSET
#define ERPGSCR   149+ISAM_ERR_OFFSET
#define ENOTOPRD   150+ISAM_ERR_OFFSET
#define EILLREW   151+ISAM_ERR_OFFSET
#define ENOPOPEN   152+ISAM_ERR_OFFSET
#define EOPOPEN   153+ISAM_ERR_OFFSET
#define ESEQERR   154+ISAM_ERR_OFFSET
#define ESEQERNR   155+ISAM_ERR_OFFSET
#define EBADSIZE   156+ISAM_ERR_OFFSET
#define ELOGREAD   157+ISAM_ERR_OFFSET
#define EBADLOG   158+ISAM_ERR_OFFSET
#define ELOGOPEN   159+ISAM_ERR_OFFSET
#define ELOGWRIT   160+ISAM_ERR_OFFSET
#define ENOTRANS   161+ISAM_ERR_OFFSET
#define ENOSHMEM   162+ISAM_ERR_OFFSET
#define ENOBEGIN   163+ISAM_ERR_OFFSET
#define ENONFS   164+ISAM_ERR_OFFSET
#define EAUDIT   165+ISAM_ERR_OFFSET
#define EFFORMAT   166+ISAM_ERR_OFFSET
#define EBIGRECN   167+ISAM_ERR_OFFSET
#define IO_OPEN   0x10
#define IO_CREA   0x20
#define IO_SEEK   0x30
#define IO_READ   0x40
#define IO_WRIT   0x50
#define IO_LOCK   0x60
#define IO_IOCTL   0x70
#define IO_IDX   0x01
#define IO_DAT   0x02
#define IO_AUD   0x03
#define IO_LOK   0x04
#define IO_SEM   0x05
#define AUDHEADSIZE   14

Functions/Subroutines

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

Definition at line 166 of file isam.h.

#define AUDHEADSIZE   14

Definition at line 293 of file isam.h.

#define AUDINFO   4

Definition at line 169 of file isam.h.

#define AUDSETNAME   0

Definition at line 165 of file isam.h.

#define AUDSTART   2

Definition at line 167 of file isam.h.

#define AUDSTOP   3

Definition at line 168 of file isam.h.

#define BYTEMASK   0xFF

Definition at line 129 of file isam.h.

#define BYTESHFT   8

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.

Referenced by idxread(), and lower_io_statement().

#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

Definition at line 183 of file isam.h.

#define DCOMPRESS   002

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

Definition at line 257 of file isam.h.

#define EBADARG   102+ISAM_ERR_OFFSET

Definition at line 189 of file isam.h.

#define EBADCOLL   119+ISAM_ERR_OFFSET

Definition at line 209 of file isam.h.

#define EBADFILE   105+ISAM_ERR_OFFSET

Definition at line 192 of file isam.h.

#define EBADKEY   103+ISAM_ERR_OFFSET

Definition at line 190 of file isam.h.

#define EBADLOG   158+ISAM_ERR_OFFSET

Definition at line 250 of file isam.h.

#define EBADMEM   118+ISAM_ERR_OFFSET

Definition at line 208 of file isam.h.

#define EBADSIZE   156+ISAM_ERR_OFFSET

Definition at line 247 of file isam.h.

#define EBFORMAT   137+ISAM_ERR_OFFSET

Definition at line 228 of file isam.h.

#define EBIFORMAT   138+ISAM_ERR_OFFSET

Definition at line 229 of file isam.h.

#define EBIGRECN   167+ISAM_ERR_OFFSET

Definition at line 260 of file isam.h.

#define EBOUNDARY   121+ISAM_ERR_OFFSET

Definition at line 212 of file isam.h.

#define EBOUNDSQ   122+ISAM_ERR_OFFSET

Definition at line 213 of file isam.h.

#define ECALLNF   136+ISAM_ERR_OFFSET

Definition at line 227 of file isam.h.

#define ECFORMAT   139+ISAM_ERR_OFFSET

Definition at line 230 of file isam.h.

#define ECONVERT   142+ISAM_ERR_OFFSET

Definition at line 233 of file isam.h.

#define EDUPL   100+ISAM_ERR_OFFSET

Definition at line 187 of file isam.h.

#define EDUPWARN   116+ISAM_ERR_OFFSET

Definition at line 206 of file isam.h.

#define EEFORMAT   140+ISAM_ERR_OFFSET

Definition at line 231 of file isam.h.

#define EENDFILE   110+ISAM_ERR_OFFSET

Definition at line 197 of file isam.h.

Referenced by idxread().

#define EENDSTR   146+ISAM_ERR_OFFSET

Definition at line 237 of file isam.h.

#define EEOFFMT   145+ISAM_ERR_OFFSET

Definition at line 236 of file isam.h.

#define EFFORMAT   166+ISAM_ERR_OFFSET

Definition at line 259 of file isam.h.

#define EFLOCKED   113+ISAM_ERR_OFFSET

Definition at line 200 of file isam.h.

#define EFNAME   114+ISAM_ERR_OFFSET

Definition at line 201 of file isam.h.

#define EFNOTAVL   123+ISAM_ERR_OFFSET

Definition at line 214 of file isam.h.

#define EILLREAD   128+ISAM_ERR_OFFSET

Definition at line 219 of file isam.h.

#define EILLREW   151+ISAM_ERR_OFFSET

Definition at line 242 of file isam.h.

#define EILLWRITE   129+ISAM_ERR_OFFSET

Definition at line 220 of file isam.h.

#define EIMPOPEN   144+ISAM_ERR_OFFSET

Definition at line 235 of file isam.h.

#define EINVIFMT   148+ISAM_ERR_OFFSET

Definition at line 239 of file isam.h.

#define EINVOP   120+ISAM_ERR_OFFSET

Definition at line 211 of file isam.h.

#define EINVOPN   124+ISAM_ERR_OFFSET

Definition at line 215 of file isam.h.

#define EINVSFMT   147+ISAM_ERR_OFFSET

Definition at line 238 of file isam.h.

#define EIOSTACK   141+ISAM_ERR_OFFSET

Definition at line 232 of file isam.h.

#define EKEXISTS   108+ISAM_ERR_OFFSET

Definition at line 195 of file isam.h.

#define EKEYSEQ   131+ISAM_ERR_OFFSET

Definition at line 222 of file isam.h.

#define EKEYSTR   132+ISAM_ERR_OFFSET

Definition at line 223 of file isam.h.

#define ELISTOVF   143+ISAM_ERR_OFFSET

Definition at line 234 of file isam.h.

#define ELOCKED   107+ISAM_ERR_OFFSET

Definition at line 194 of file isam.h.

#define ELOGOPEN   159+ISAM_ERR_OFFSET

Definition at line 251 of file isam.h.

#define ELOGREAD   157+ISAM_ERR_OFFSET

Definition at line 249 of file isam.h.

#define ELOGWRIT   160+ISAM_ERR_OFFSET

Definition at line 252 of file isam.h.

#define ENKYKEY   133+ISAM_ERR_OFFSET

Definition at line 224 of file isam.h.

#define ENOBEGIN   163+ISAM_ERR_OFFSET

Definition at line 255 of file isam.h.

#define ENOCRP   117+ISAM_ERR_OFFSET

Definition at line 207 of file isam.h.

#define ENOCURR   112+ISAM_ERR_OFFSET

Definition at line 199 of file isam.h.

#define ENOLOK   115+ISAM_ERR_OFFSET

Definition at line 202 of file isam.h.

#define ENONFS   164+ISAM_ERR_OFFSET

Definition at line 256 of file isam.h.

#define ENOPOPEN   152+ISAM_ERR_OFFSET

Definition at line 243 of file isam.h.

#define ENOREC   111+ISAM_ERR_OFFSET

Definition at line 198 of file isam.h.

#define ENOSHMEM   162+ISAM_ERR_OFFSET

Definition at line 254 of file isam.h.

#define ENOTCLOS   130+ISAM_ERR_OFFSET

Definition at line 221 of file isam.h.

#define ENOTEXCL   106+ISAM_ERR_OFFSET

Definition at line 193 of file isam.h.

#define ENOTOPEN   101+ISAM_ERR_OFFSET

Definition at line 188 of file isam.h.

#define ENOTOPRD   150+ISAM_ERR_OFFSET

Definition at line 241 of file isam.h.

#define ENOTRANS   161+ISAM_ERR_OFFSET

Definition at line 253 of file isam.h.

#define ENPRINT   134+ISAM_ERR_OFFSET

Definition at line 225 of file isam.h.

#define ENSTREAM   135+ISAM_ERR_OFFSET

Definition at line 226 of file isam.h.

#define EOPILDAM   126+ISAM_ERR_OFFSET

Definition at line 217 of file isam.h.

#define EOPKYAPP   125+ISAM_ERR_OFFSET

Definition at line 216 of file isam.h.

#define EOPKYSAM   127+ISAM_ERR_OFFSET

Definition at line 218 of file isam.h.

#define EOPOPEN   153+ISAM_ERR_OFFSET

Definition at line 244 of file isam.h.

#define EPRIMKEY   109+ISAM_ERR_OFFSET

Definition at line 196 of file isam.h.

#define ERPGSCR   149+ISAM_ERR_OFFSET

Definition at line 240 of file isam.h.

#define ESEQERNR   155+ISAM_ERR_OFFSET

Definition at line 246 of file isam.h.

#define ESEQERR   154+ISAM_ERR_OFFSET

Definition at line 245 of file isam.h.

#define ETOOMANY   104+ISAM_ERR_OFFSET

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

Definition at line 289 of file isam.h.

#define IO_CREA   0x20

Definition at line 280 of file isam.h.

#define IO_DAT   0x02

Definition at line 288 of file isam.h.

#define IO_IDX   0x01

Definition at line 287 of file isam.h.

#define IO_IOCTL   0x70

Definition at line 285 of file isam.h.

#define IO_LOCK   0x60

Definition at line 284 of file isam.h.

#define IO_LOK   0x04

Definition at line 290 of file isam.h.

#define IO_OPEN   0x10

Definition at line 279 of file isam.h.

#define IO_READ   0x40

Definition at line 282 of file isam.h.

#define IO_SEEK   0x30

Definition at line 281 of file isam.h.

#define IO_SEM   0x05

Definition at line 291 of file isam.h.

#define IO_WRIT   0x50

Definition at line 283 of file isam.h.

#define ISAM_ERR_OFFSET   31

Definition at line 186 of file isam.h.

#define ISAUTOLOCK   0x200

Definition at line 154 of file isam.h.

Referenced by idxopen().

#define ISCLUSTER   020

Definition at line 184 of file isam.h.

#define ISCURR   4

Definition at line 142 of file isam.h.

Referenced by idxread().

#define ISDESC   0x80

Definition at line 122 of file isam.h.

#define ISDUPS   001

Definition at line 179 of file isam.h.

Referenced by idxopen().

#define ISEQUAL   5

Definition at line 143 of file isam.h.

Referenced by lower_io_statement().

#define ISEXCLLOCK   0x800

Definition at line 156 of file isam.h.

Referenced by idxopen().

#define ISFIRST   0

Definition at line 138 of file isam.h.

Referenced by idxread().

#define ISGREAT   6

Definition at line 144 of file isam.h.

Referenced by lower_io_statement().

#define ISGTEQ   7

Definition at line 145 of file isam.h.

Referenced by lower_io_statement().

#define ISINOUT   2

Definition at line 160 of file isam.h.

Referenced by idxopen().

#define ISINPUT   0

Definition at line 158 of file isam.h.

Referenced by idxopen().

#define ISLAST   1

Definition at line 139 of file isam.h.

#define ISLCKW   0x500

Definition at line 150 of file isam.h.

#define ISLOCK   0x100

Definition at line 148 of file isam.h.

#define ISMANULOCK   0x400

Definition at line 155 of file isam.h.

#define ISNEXT   2

Definition at line 140 of file isam.h.

Referenced by idxread().

#define ISNODUPS   000

Definition at line 178 of file isam.h.

Referenced by idxopen().

#define ISNOLOG   8

Definition at line 162 of file isam.h.

#define ISOUTPUT   1

Definition at line 159 of file isam.h.

#define ISPREV   3

Definition at line 141 of file isam.h.

#define ISSLEEPLOCK   0x1000

Definition at line 151 of file isam.h.

#define ISTRANS   4

Definition at line 161 of file isam.h.

#define ISWAIT   0x400

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

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.

Referenced by lower_io_statement().

#define MAXKEYSIZE   120

Definition at line 171 of file isam.h.

#define MAXTYPE   5

Definition at line 121 of file isam.h.

#define NPARTS   8

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   )     ((p)[0]=(i)>>BYTESHFT,(p)[1]=(i))

Definition at line 135 of file isam.h.

#define TCOMPRESS   010

Definition at line 182 of file isam.h.

#define TYPEMASK   0x7F

Definition at line 123 of file isam.h.

#define USERCOLL (  )     ((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 *   
)

Referenced by absent().

int mkidxname ( char *  ,
char *   
)

Referenced by absent(), f_inqu0_com(), and f_open_com().

int mklokname ( char *  ,
char *   
)

Referenced by absent().


Variable Documentation

char* is_errlist[]

int is_nerr

int iserrio

int iserrno

int isrecnum

char* isserial

char isstat1

char isstat2

char* isversnumber


Generated on Wed Apr 8 15:07:49 2009 for Open64 by  doxygen 1.5.6