tablepack.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "quickdraw.h"
#include "strings.h"
#include "db.h"
#include "langexternal.h"
#include "tablestructure.h"
#include "tableinternal.h"
#include "tableverbs.h"
#include "byteorder.h"

Include dependency graph for tablepack.c:

Go to the source code of this file.

Functions

boolean tablepacktable (hdlhashtable htable, boolean flmemory, Handle *hpacked, boolean *flmustsave)
boolean tableunpacktable (Handle hpacked, boolean flmemory, hdlhashtable *htable)
boolean tableverbmemorypack (hdlexternalvariable h, Handle *hpacked, hdlhashnode hnode)
boolean tableverbmemoryunpack (Handle hpacked, long *ixload, hdlexternalvariable *h, boolean flxml)
boolean tableverbpack (hdlexternalvariable h, Handle *hpacked, boolean *flnewdbaddress)
boolean tableverbunpack (Handle hpacked, long *ixload, hdlexternalvariable *h, boolean flxml)
static boolean tablepacktotextvisit (bigstring bsname, hdlhashnode hnode, tyvaluerecord val, ptrvoid refcon)
boolean tableverbpacktotext (hdlexternalvariable h, Handle htext)
boolean tableverbgettimes (hdlexternalvariable h, long *timecreated, long *timemodified, hdlhashnode hnode)
boolean tableverbsettimes (hdlexternalvariable h, long timecreated, long timemodified, hdlhashnode hnode)
static boolean findusedblocksvisit (hdlhashnode hnode, ptrvoid refcon)
boolean tableverbfindusedblocks (hdlexternalvariable h, bigstring bspath)


Function Documentation

static boolean findusedblocksvisit hdlhashnode  hnode,
ptrvoid  refcon
[static]
 

Definition at line 480 of file tablepack.c.

References bigstring, tyvaluerecord::data, tyvaluedata::diskvalue, tyvaluedata::externalvalue, externalvaluetype, tyvaluerecord::fldiskval, gethashkey, hnode, insertchar(), insertstring(), langexternalfindusedblocks(), nil, statsblockinuse(), and tyvaluerecord::valuetype.

Referenced by tableverbfindusedblocks().

Here is the call graph for this function:

boolean tablepacktable hdlhashtable  htable,
boolean  flmemory,
Handle hpacked,
boolean flmustsave
 

Definition at line 43 of file tablepack.c.

References disposehandle(), fl, hashpacktable(), mergehandles(), nil, tablepackformats(), tablepopformats(), and tablepushformats().

Referenced by neutertags(), tableverbmemorypack(), tableverbpack(), and threadcallscriptverb().

Here is the call graph for this function:

static boolean tablepacktotextvisit bigstring  bsname,
hdlhashnode  hnode,
tyvaluerecord  val,
ptrvoid  refcon
[static]
 

Definition at line 378 of file tablepack.c.

References chtab, copyvaluerecord(), disposevaluerecord(), exemptfromtmpstack(), fl, tyvaluerecord::fldiskval, langvaluetotextscrap(), pushchar(), and pushtexthandle().

Referenced by tableverbpacktotext().

Here is the call graph for this function:

boolean tableunpacktable Handle  hpacked,
boolean  flmemory,
hdlhashtable htable
 

Definition at line 91 of file tablepack.c.

References disposehandle(), disposehashtable(), disposetableformats(), error, hashunpacktable(), newhashtable(), newtableformats(), nil, popport(), pushscratchport(), tablelinkformats(), tableunpackformats(), and unmergehandles().

Referenced by neutertags(), tableverbinmemory(), tableverbmemoryunpack(), and threadcallscriptverb().

Here is the call graph for this function:

boolean tableverbfindusedblocks hdlexternalvariable  h,
bigstring  bspath
 

Definition at line 512 of file tablepack.c.

References filewindowtable, findusedblocksvisit(), fl, h, hashtablevisit(), HNoNode, statsblockinuse(), tableverbinmemory(), and tableverbunload().

Referenced by langexternalfindusedblocks().

Here is the call graph for this function:

boolean tableverbgettimes hdlexternalvariable  h,
long timecreated,
long timemodified,
hdlhashnode  hnode
 

Definition at line 444 of file tablepack.c.

References h, hnode, return(), tableverbinmemory(), and tyhashtable::timecreated.

Referenced by langexternalgettimes().

Here is the call graph for this function:

boolean tableverbmemorypack hdlexternalvariable  h,
Handle hpacked,
hdlhashnode  hnode
 

Definition at line 166 of file tablepack.c.

References disposehandle(), fl, h, hnode, pushhandle(), tablecheckwindowrect(), tablepacktable(), tableverbinmemory(), and tableverbunload().

Referenced by langexternalmemorypack().

Here is the call graph for this function:

boolean tableverbmemoryunpack Handle  hpacked,
long ixload,
hdlexternalvariable h,
boolean  flxml
 

Definition at line 200 of file tablepack.c.

References h, loadhandleremains(), long, newtablevariable(), tabledisposetable(), and tableunpacktable().

Referenced by langexternalmemoryunpack().

Here is the call graph for this function:

boolean tableverbpack hdlexternalvariable  h,
Handle hpacked,
boolean flnewdbaddress
 

Definition at line 235 of file tablepack.c.

References assert, dbrefhandle(), dbsavehandle(), disposehandle(), enlargehandle(), equalhandles(), fl, fldatabasesaveas, gethandlesize(), h, HNoNode, pullfromhandle(), sethandlesize(), shellsetwindowchanges(), tablecheckwindowrect(), tablenosubsdirty(), tablepacktable(), tableverbinmemory(), tableverbunload(), and tablewindowopen().

Referenced by langexternalpack(), and tablesavesystemtable().

Here is the call graph for this function:

boolean tableverbpacktotext hdlexternalvariable  h,
Handle  htext
 

Definition at line 409 of file tablepack.c.

References fl, h, HNoNode, tablepacktotextvisit(), tablesortedinversesearch(), tableverbinmemory(), and tableverbunload().

Referenced by langexternalpacktotext().

Here is the call graph for this function:

boolean tableverbsettimes hdlexternalvariable  h,
long  timecreated,
long  timemodified,
hdlhashnode  hnode
 

Definition at line 462 of file tablepack.c.

References h, hnode, return(), tableverbinmemory(), and tyhashtable::timecreated.

Referenced by langexternalsettimes().

Here is the call graph for this function:

boolean tableverbunpack Handle  hpacked,
long ixload,
hdlexternalvariable h,
boolean  flxml
 

Definition at line 367 of file tablepack.c.

References h, loadlongfromdiskhandle(), and newtablevariable().

Referenced by langexternalunpack().

Here is the call graph for this function:


Generated on Tue Jun 13 21:49:06 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6