GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Functions | |
int | ivbforceexit (const int ihandle) |
int | ivbclose2 (const int ihandle) |
void | ivbclose3 (const int ihandle) |
int | iscleanup (void) |
int | isclose (const int ihandle) |
int | isfullclose (const int ihandle) |
int | isindexinfo (const int ihandle, void *pskeydesc, const int ikeynumber) |
int | isopen (const char *pcfilename, int imode) |
int | issetcollate (const int ihandle, const unsigned char *collating_sequence) |
int iscleanup | ( | void | ) |
Definition at line 152 of file isopen.c.
References DICTINFO::iisopen, isclose(), iserrno, islogclose(), ivbclose2(), ivbclose3(), ivblogfilehandle, ivbmaxusedhandle, and psvbfile.
Referenced by cob_exit_fileio().
int isclose | ( | const int | ihandle | ) |
Definition at line 182 of file isopen.c.
References DICTINFO::iindexchanged, DICTINFO::iisopen, DICTINFO::iopenmode, iserrno, ivbclose2(), ivbforceexit(), ivbintrans, ivbmaxusedhandle, psvbfile, unlikely, VBBEGIN, VBNEEDFLUSH, and VBRECOVER.
Referenced by ircvbuild(), ircvfileclose(), isbuild(), iscleanup(), iserase(), isfullclose(), ivbrollmeback(), ivbrollmeforward(), and vcloseall().
int isfullclose | ( | const int | ihandle | ) |
Definition at line 209 of file isopen.c.
References isclose(), iserrno, ivbclose3(), ivbmaxusedhandle, and unlikely.
Referenced by indexed_close(), indexed_open(), and ischeck().
int isindexinfo | ( | const int | ihandle, |
void * | pskeydesc, | ||
const int | ikeynumber | ||
) |
Definition at line 221 of file isopen.c.
References DICTINFO::iisopen, DICTINFO::imaxrowlength, DICTINFO::iminrowlength, DICTINFO::inkeys, DICTINFO::inodesize, DICTINFO::iopenmode, iserrno, isreclen, ivbenter(), ivbexit(), ivbmaxusedhandle, DICTINFO::pskeydesc, psvbfile, and unlikely.
Referenced by indexed_open().
int isopen | ( | const char * | pcfilename, |
int | imode | ||
) |
Definition at line 270 of file isopen.c.
References DICTINFO::cfilename, DICTNODE::cindexcount, DICTNODE::cmaxrowlength, DICTNODE::cminrowlength, DICTNODE::cnodekeydesc, DICTNODE::cnodesize, DICTNODE::cvalidation, cvbnodetmp, DICTINFO::idatahandle, DICTINFO::iindexhandle, DICTINFO::iisopen, DICTINFO::imaxrowlength, DICTINFO::iminrowlength, DICTINFO::inkeys, inl_ldint(), inl_ldquad(), DICTINFO::inodesize, DICTINFO::iopenmode, iserrno, isstart(), DICTINFO::itransyet, ivbblockread(), ivbclose(), ivbenter(), ivbexit(), ivbfileopenlock(), ivbintrans, ivblogfilehandle, ivbmaxusedhandle, ivbopen(), ivbtransopen(), MAX_NODE_LENGTH, MAX_RESERVED_LENGTH, MAXSUBS, NULL, O_BINARY, DICTINFO::ppcrowbuffer, DICTINFO::pskeydesc, psvbfile, pvvbmalloc(), QUADSIZE, DICTINFO::sdictnode, VB_MAX_FILES, VB_NODE_MAX, VBNOTRANS, and vvbfree().
Referenced by indexed_open(), ircvfileopen(), isbuild(), ischeck(), ivbrollmeback(), and ivbrollmeforward().
int issetcollate | ( | const int | ihandle, |
const unsigned char * | collating_sequence | ||
) |
Definition at line 540 of file isopen.c.
References DICTINFO::collating_sequence, DICTINFO::iisopen, iserrno, ivbmaxusedhandle, psvbfile, and unlikely.
int ivbclose2 | ( | const int | ihandle | ) |
Definition at line 83 of file isopen.c.
References DICTINFO::cfilename, DICTINFO::idatahandle, DICTINFO::iindexhandle, DICTINFO::iisopen, iserrno, isrelease(), DICTINFO::itransyet, ivbclose(), ivbtransclose(), MAXSUBS, NULL, DICTINFO::pskeycurr, VBFILE::pslockhead, VBFILE::pslocktail, VBLOCK::psnext, psvbfile, svbfile, DICTINFO::tdupnumber, DICTINFO::trownumber, and vvblockfree().
Referenced by iscleanup(), isclose(), iscommit(), and isrollback().
void ivbclose3 | ( | const int | ihandle | ) |
Definition at line 125 of file isopen.c.
References DICTINFO::cfilename, MAXSUBS, NULL, DICTINFO::ppcrowbuffer, DICTINFO::pskeydesc, DICTINFO::pstree, psvbfile, vvbfree(), vvbkeyunmalloc(), and vvbtreeallfree().
Referenced by isbuild(), iscleanup(), iserase(), and isfullclose().
int ivbforceexit | ( | const int | ihandle | ) |
Definition at line 50 of file isopen.c.
References cvbnodetmp, DICTINFO::iisdictlocked, iserrno, ivbblockwrite(), psvbfile, DICTINFO::sdictnode, and VB_NODE_MAX.
Referenced by isclose().