GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Functions | |
static int | iaddkeydescriptor (const int ihandle, struct keydesc *pskeydesc) |
static off_t | tdelkeydescriptor (const int ihandle, struct keydesc *pskeydesc, const int ikeynumber) |
static int | idelnodes (const int ihandle, const int ikeynumber, off_t trootnode) |
static int | imakekeysfromdata (const int ihandle, const int ikeynumber) |
int | isbuild (const char *pcfilename, const int imaxrowlength, struct keydesc *pskey, int imode) |
int | isaddindex (const int ihandle, struct keydesc *pskeydesc) |
int | isdelindex (const int ihandle, struct keydesc *pskeydesc) |
|
static |
Definition at line 25 of file isbuild.c.
References DICTNODE::cnodekeydesc, cvbnodetmp, inl_ldint(), inl_ldquad(), inl_stint(), inl_stquad(), DICTINFO::inodesize, iserrno, ivbblockread(), ivbblockwrite(), psvbfile, QUADSIZE, DICTINFO::sdictnode, tvbnodecountgetnext(), and VB_NODE_MAX.
Referenced by isaddindex().
|
static |
Definition at line 170 of file isbuild.c.
References inl_ldint(), inl_ldquad(), DICTINFO::inodesize, ivbblockread(), ivbnodefree(), DICTINFO::pskeydesc, psvbfile, QUADSIZE, and VB_NODE_MAX.
Referenced by isdelindex().
|
static |
Definition at line 248 of file isbuild.c.
References DICTNODE::cdatacount, VBKEY::ckey, inl_ldquad(), iserrno, ivbdataread(), ivbkeyinsert(), ivbkeyload(), ivbkeysearch(), NULL, DICTINFO::ppcrowbuffer, DICTINFO::pskeydesc, psvbfile, DICTINFO::sdictnode, VBKEY::tdupnumber, and vvbmakekey().
Referenced by isaddindex().
int isaddindex | ( | const int | ihandle, |
struct keydesc * | pskeydesc | ||
) |
Definition at line 577 of file isbuild.c.
References DICTNODE::cindexcount, iaddkeydescriptor(), DICTINFO::iisdictlocked, imakekeysfromdata(), DICTINFO::inkeys, inl_stint(), DICTINFO::iopenmode, isdelindex(), iserrno, ivbcheckkey(), ivbenter(), ivbexit(), ivbtranscreateindex(), MAXSUBS, DICTINFO::pskeydesc, psvbfile, pvvbmalloc(), and DICTINFO::sdictnode.
Referenced by indexed_open(), and ircvcreateindex().
int isbuild | ( | const char * | pcfilename, |
const int | imaxrowlength, | ||
struct keydesc * | pskey, | ||
int | imode | ||
) |
Definition at line 310 of file isbuild.c.
References DICTNODE::cdatacount, DICTNODE::cdatafree, DICTINFO::cfilename, DICTNODE::cfooterrsvd, DICTNODE::cheaderrsvd, DICTNODE::cindexcount, DICTNODE::clockmethod, DICTNODE::cmaxrowlength, DICTNODE::cminrowlength, DICTNODE::cnodeaudit, DICTNODE::cnodecount, DICTNODE::cnodefree, DICTNODE::cnodekeydesc, DICTNODE::cnodesize, DICTNODE::crfu1, DICTNODE::crfu2, DICTNODE::crsvdperkey, DICTNODE::ctransnumber, DICTNODE::cuniqueid, DICTNODE::cvalidation, cvbnodetmp, DICTINFO::idatahandle, DICTINFO::iindexhandle, DICTINFO::iisdictlocked, DICTINFO::iisopen, DICTINFO::imaxrowlength, DICTINFO::iminrowlength, DICTINFO::inkeys, inl_stint(), inl_stquad(), DICTINFO::inodesize, DICTINFO::iopenmode, isclose(), iserrno, isopen(), isreclen, ivbblockwrite(), ivbcheckkey(), ivbclose(), ivbclose3(), ivbfileopenlock(), ivbmaxusedhandle, ivbopen(), ivbtransbuild(), MAX_NODE_LENGTH, MAX_RESERVED_LENGTH, NULL, O_BINARY, DICTINFO::ppcrowbuffer, DICTINFO::pskeydesc, psvbfile, pvvbmalloc(), QUADSIZE, DICTINFO::sdictnode, VB_MAX_FILES, VB_NODE_MAX, and vvbfree().
Referenced by indexed_open(), and ircvbuild().
int isdelindex | ( | const int | ihandle, |
struct keydesc * | pskeydesc | ||
) |
Definition at line 644 of file isbuild.c.
References DICTNODE::cindexcount, idelnodes(), DICTINFO::iisdictlocked, DICTINFO::inkeys, inl_stint(), DICTINFO::iopenmode, iserrno, ivbcheckkey(), ivbenter(), ivbexit(), ivbtransdeleteindex(), MAXSUBS, NULL, DICTINFO::pskeycurr, DICTINFO::pskeydesc, DICTINFO::pskeyfree, DICTINFO::pstree, psvbfile, DICTINFO::sdictnode, tdelkeydescriptor(), vvbfree(), vvbkeyunmalloc(), and vvbtreeallfree().
Referenced by ircvdeleteindex(), and isaddindex().
|
static |
Definition at line 122 of file isbuild.c.
References DICTNODE::cnodekeydesc, cvbnodetmp, inl_ldint(), inl_ldquad(), inl_stint(), DICTINFO::inodesize, iserrno, ivbblockread(), ivbblockwrite(), DICTINFO::pskeydesc, psvbfile, QUADSIZE, DICTINFO::sdictnode, and VB_NODE_MAX.
Referenced by isdelindex().