GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Data Structures | |
struct | RCV_HDL |
struct | STRANS |
Functions | |
static int | ircvrollback (void) |
static int | irollbackall (void) |
static void | vcloseall (void) |
static int | igetrcvhandle (const int ihandle, const int ipid) |
static int | ircvchecktrans (const int ilength, const int ipid) |
static int | iignore (const int ipid) |
static int | ircvbuild (char *pcbuffer) |
static int | ircvbegin (char *pcbuffer, const int ilength) |
static int | ircvcreateindex (char *pcbuffer) |
static int | ircvcluster (char *pcbuffer) |
static int | ircvcommit (char *pcbuffer) |
static int | ircvdelete (char *pcbuffer) |
static int | ircvdeleteindex (char *pcbuffer) |
static int | ircvfileerase (char *pcbuffer) |
static int | ircvfileclose (char *pcbuffer) |
static int | ircvfileopen (char *pcbuffer) |
static int | ircvinsert (char *pcbuffer) |
static int | ircvfilerename (char *pcbuffer) |
static int | ircvsetunique (char *pcbuffer) |
static int | ircvuniqueid (char *pcbuffer) |
static int | ircvupdate (char *pcbuffer) |
int | isrecover () |
Variables | |
static int | ivbrecvmode = 0x00 |
static struct STRANS * | pstranshead = ((void*)0) |
static struct SLOGHDR * | psvblogheader |
static struct RCV_HDL * | psrecoverhandle [128+1] |
static char * | clclbuffer = ((void*)0) |
static char * | cvbrtransbuffer = ((void*)0) |
|
static |
Definition at line 96 of file isrecover.c.
References RCV_HDL::ihandle, RCV_HDL::ipid, and RCV_HDL::psnext.
Referenced by ircvcreateindex(), ircvdelete(), ircvdeleteindex(), ircvfileopen(), ircvinsert(), ircvsetunique(), ircvuniqueid(), and ircvupdate().
|
static |
Definition at line 153 of file isrecover.c.
References STRANS::iignoreme, STRANS::ipid, STRANS::psnext, and pstranshead.
Referenced by ircvbuild(), ircvcluster(), ircvcreateindex(), ircvdelete(), ircvdeleteindex(), ircvfileclose(), ircvfileerase(), ircvfileopen(), ircvfilerename(), ircvinsert(), ircvsetunique(), ircvuniqueid(), and ircvupdate().
|
static |
Definition at line 200 of file isrecover.c.
References SLOGHDR::cpid, STRANS::iignoreme, inl_ldint(), STRANS::ipid, ircvchecktrans(), ircvrollback(), NULL, STRANS::psnext, STRANS::psprev, pstranshead, and pvvbmalloc().
Referenced by isrecover().
|
static |
Definition at line 167 of file isrecover.c.
References SLOGHDR::cpid, iignore(), inl_ldint(), STRANS::ipid, isbuild(), isclose(), iserrno, and isreclen.
Referenced by isrecover().
|
static |
Definition at line 110 of file isrecover.c.
References clclbuffer, SLOGHDR::coperation, SLOGHDR::cpid, cvbrtransbuffer, inl_ldint(), ivblogfilehandle, ivbrecvmode, MAX_BUFFER_LENGTH, pvvbmalloc(), RECOV_VB, tvblseek(), tvbread(), VBL_BEGIN, VBL_COMMIT, and VBL_ROLLBACK.
Referenced by ircvbegin().
|
static |
Definition at line 269 of file isrecover.c.
References SLOGHDR::cpid, iignore(), and inl_ldint().
Referenced by isrecover().
|
static |
Definition at line 284 of file isrecover.c.
References SLOGHDR::cpid, RCV_HDL::ihandle, inl_ldint(), STRANS::ipid, isrelease(), RCV_HDL::itranslock, RCV_HDL::psnext, STRANS::psnext, STRANS::psprev, pstranshead, VB_MAX_FILES, and vvbfree().
Referenced by isrecover().
|
static |
Definition at line 228 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), iignore(), inl_ldint(), DICTINFO::iopenmode, STRANS::ipid, isaddindex(), iserrno, ivbfileopenlock(), and psvbfile.
Referenced by isrecover().
|
static |
Definition at line 320 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), iignore(), inl_ldint(), inl_ldquad(), STRANS::ipid, isdelrec(), iserrno, and QUADSIZE.
Referenced by isrecover().
|
static |
Definition at line 342 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), iignore(), inl_ldint(), DICTINFO::iopenmode, STRANS::ipid, isdelindex(), iserrno, ivbfileopenlock(), and psvbfile.
Referenced by isrecover().
|
static |
Definition at line 396 of file isrecover.c.
References SLOGHDR::cpid, RCV_HDL::ihandle, iignore(), inl_ldint(), RCV_HDL::ipid, isclose(), iserrno, RCV_HDL::psnext, and RCV_HDL::psprev.
Referenced by isrecover().
|
static |
Definition at line 383 of file isrecover.c.
References SLOGHDR::cpid, iignore(), inl_ldint(), iserase(), and iserrno.
Referenced by isrecover().
|
static |
Definition at line 429 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), RCV_HDL::ihandle, iignore(), inl_ldint(), RCV_HDL::ipid, iserrno, isopen(), NULL, RCV_HDL::psnext, RCV_HDL::psprev, pvvbmalloc(), and vvbfree().
Referenced by isrecover().
|
static |
Definition at line 498 of file isrecover.c.
References SLOGHDR::cpid, iignore(), inl_ldint(), RCV_HDL::ipid, iserrno, and isrename().
Referenced by isrecover().
|
static |
Definition at line 464 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), RCV_HDL::ihandle, iignore(), DICTINFO::iisdictlocked, inl_ldint(), inl_ldquad(), RCV_HDL::ipid, iserrno, isreclen, ivbenter(), ivbexit(), ivbforcedataallocate(), ivbwriterow(), psvbfile, and QUADSIZE.
Referenced by isrecover().
|
static |
Definition at line 47 of file isrecover.c.
References SLOGHDR::cpid, inl_ldint(), STRANS::ipid, STRANS::psnext, STRANS::psprev, pstranshead, and vvbfree().
Referenced by ircvbegin(), irollbackall(), and isrecover().
|
static |
Definition at line 515 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), RCV_HDL::ihandle, iignore(), inl_ldint(), inl_ldquad(), RCV_HDL::ipid, iserrno, and issetunique().
Referenced by isrecover().
|
static |
Definition at line 535 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), RCV_HDL::ihandle, iignore(), inl_ldint(), inl_ldquad(), RCV_HDL::ipid, isuniqueid(), and psvbfile.
Referenced by isrecover().
|
static |
Definition at line 558 of file isrecover.c.
References SLOGHDR::cpid, igetrcvhandle(), RCV_HDL::ihandle, iignore(), inl_ldint(), inl_ldquad(), RCV_HDL::ipid, iserrno, isreclen, isrewrec(), and QUADSIZE.
Referenced by isrecover().
|
static |
Definition at line 72 of file isrecover.c.
References SLOGHDR::cpid, inl_stint(), STRANS::ipid, and ircvrollback().
Referenced by isrecover().
int isrecover | ( | ) |
Definition at line 584 of file isrecover.c.
References SLOGHDR::coperation, cvbrtransbuffer, inl_ldint(), ircvbegin(), ircvbuild(), ircvcluster(), ircvcommit(), ircvcreateindex(), ircvdelete(), ircvdeleteindex(), ircvfileclose(), ircvfileerase(), ircvfileopen(), ircvfilerename(), ircvinsert(), ircvrollback(), ircvsetunique(), ircvuniqueid(), ircvupdate(), irollbackall(), iserrno, ivbintrans, ivblogfilehandle, MAX_BUFFER_LENGTH, NULL, psvbfile, pvvbmalloc(), tvblseek(), tvbread(), VB_MAX_FILES, VBL_BEGIN, VBL_BUILD, VBL_CLUSTER, VBL_COMMIT, VBL_CREINDEX, VBL_DELETE, VBL_DELINDEX, VBL_FILECLOSE, VBL_FILEERASE, VBL_FILEOPEN, VBL_INSERT, VBL_RENAME, VBL_ROLLBACK, VBL_SETUNIQUE, VBL_UNIQUEID, VBL_UPDATE, VBRECOVER, vcloseall(), and vvbfree().
|
static |
Definition at line 82 of file isrecover.c.
References DICTINFO::iisopen, isclose(), psvbfile, and VB_MAX_FILES.
Referenced by isrecover().
|
static |
Definition at line 41 of file isrecover.c.
Referenced by ircvchecktrans().
|
static |
Definition at line 42 of file isrecover.c.
Referenced by ircvchecktrans(), and isrecover().
|
static |
Definition at line 37 of file isrecover.c.
Referenced by ircvchecktrans().
|
static |
Definition at line 40 of file isrecover.c.
|
static |
Definition at line 38 of file isrecover.c.
Referenced by iignore(), ircvbegin(), ircvcommit(), and ircvrollback().
|
static |
Definition at line 39 of file isrecover.c.