odbinternal.h File Reference

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

Go to the source code of this file.

Data Structures

union  odbValueData
struct  odbValueRecord

Typedefs

typedef odb_ * odbref

Enumerations

enum  odbValueType {
  unknownT = '\?\?\?\?', charT = 'char', shortT = 'shor', longT = 'long',
  binaryT = 'data', booleanT = 'bool', tokenT = 'tokn', dateT = 'date',
  addressT = 'addr', codeT = 'code', extendedT = 'exte', stringT = 'TEXT',
  externalT = 'xtrn', directionT = 'dir ', string4T = 'type', pointT = 'QDpt',
  rectT = 'qdrt', patternT = 'tptn', rgbT = 'cRGB', fixedT = 'fixd',
  singleT = 'sing', doubleT = 'doub', objspecT = 'obj ', filespecT = 'fss ',
  aliasT = 'alis', enumeratorT = 'enum', listT = 'list', recordT = 'reco',
  outlineT = 'optx', wptextT = 'wptx', tableT = 'tabl', scriptT = 'scpt',
  menubarT = 'mbar', pictureT = 'pict'
}

Functions

pascal boolean odbUpdateOdbref (WindowPtr w, odbref odb)
pascal boolean odbAccessWindow (WindowPtr w, odbref *odb)
pascal boolean odbNewFile (hdlfilenum)
pascal boolean odbOpenFile (hdlfilenum, odbref *odb, boolean flreadonly)
pascal boolean odbSaveFile (odbref odb)
pascal boolean odbCloseFile (odbref odb)
pascal boolean odbDefined (odbref odb, bigstring bspath)
pascal boolean odbDelete (odbref odb, bigstring bspath)
pascal boolean odbGetType (odbref odb, bigstring bspath, OSType *type)
pascal boolean odbGetValue (odbref odb, bigstring bspath, odbValueRecord *value)
pascal boolean odbSetValue (odbref odb, bigstring bspath, odbValueRecord *value)
pascal boolean odbNewTable (odbref odb, bigstring bspath)
pascal boolean odbCountItems (odbref odb, bigstring bspath, long *count)
pascal boolean odbGetNthItem (odbref odb, bigstring bspath, long n, bigstring bsname)
pascal boolean odbGetModDate (odbref odb, bigstring bspath, unsigned long *date)
pascal void odbInitValue (odbValueRecord *value)
pascal void odbDisposeValue (odbref odb, odbValueRecord *value)
pascal void odbGetError (bigstring bs)
pascal boolean odbInstallEventHandler (void)


Typedef Documentation

typedef struct odb_* odbref
 

Definition at line 28 of file odbinternal.h.


Enumeration Type Documentation

enum odbValueType
 

Enumerator:
unknownT 
charT 
shortT 
longT 
binaryT 
booleanT 
tokenT 
dateT 
addressT 
codeT 
extendedT 
stringT 
externalT 
directionT 
string4T 
pointT 
rectT 
patternT 
rgbT 
fixedT 
singleT 
doubleT 
objspecT 
filespecT 
aliasT 
enumeratorT 
listT 
recordT 
outlineT 
wptextT 
tableT 
scriptT 
menubarT 
pictureT 

Definition at line 30 of file odbinternal.h.


Function Documentation

pascal boolean odbAccessWindow WindowPtr  w,
odbref odb
 

Referenced by odbaccesswindow().

pascal boolean odbCloseFile odbref  odb  ) 
 

Definition at line 606 of file odbengine.c.

References bserror, clearcancoonglobals(), dbdispose(), disposecancoonrecord(), nil, setcancoonglobals(), and setemptystring.

Referenced by odbclosefile().

Here is the call graph for this function:

pascal boolean odbCountItems odbref  odb,
bigstring  bspath,
long count
 

Definition at line 840 of file odbengine.c.

References bigstring, bserror, hashcountitems(), hnode, langsymbolreference(), odbexpandtodotparams, odbvaltotable(), setcancoonglobals(), and setemptystring.

Referenced by odbcountitems().

Here is the call graph for this function:

pascal boolean odbDefined odbref  odb,
bigstring  bspath
 

Definition at line 634 of file odbengine.c.

References bigstring, bserror, disablelangerror(), enablelangerror(), fl, hashsymbolexists(), odbexpandtodotparams, pophashtable(), pushhashtable(), setcancoonglobals(), and setemptystring.

Referenced by odbdefined().

Here is the call graph for this function:

pascal boolean odbDelete odbref  odb,
bigstring  bspath
 

Definition at line 667 of file odbengine.c.

References bigstring, bserror, hashtabledelete(), odbexpandtodotparams, setcancoonglobals(), and setemptystring.

Referenced by odbdelete().

Here is the call graph for this function:

pascal void odbDisposeValue odbref  odb,
odbValueRecord value
 

Definition at line 923 of file odbengine.c.

References tyvaluedata::binaryvalue, binaryvaluetype, bserror, tyvaluerecord::data, disposevaluerecord(), initvalue(), langexternalgetvaluetype(), setcancoonglobals(), and setemptystring.

Referenced by odbdisposevalue().

Here is the call graph for this function:

pascal void odbGetError bigstring  bs  ) 
 

Definition at line 945 of file odbengine.c.

Referenced by extOdbGetError().

pascal boolean odbGetModDate odbref  odb,
bigstring  bspath,
unsigned long date
 

Definition at line 897 of file odbengine.c.

References bigstring, bserror, hnode, langsymbolreference(), odbexpandtodotparams, odbvaltotable(), setcancoonglobals(), and setemptystring.

Referenced by odbgetmoddate().

Here is the call graph for this function:

pascal boolean odbGetNthItem odbref  odb,
bigstring  bspath,
long  n,
bigstring  bsname
 

Definition at line 870 of file odbengine.c.

References bserror, hashgetiteminfo(), hnode, langsymbolreference(), nil, odbexpandtodotparams, odbvaltotable(), setcancoonglobals(), and setemptystring.

Referenced by odbgetnthitem().

Here is the call graph for this function:

pascal boolean odbGetType odbref  odb,
bigstring  bspath,
OSType type
 

Definition at line 683 of file odbengine.c.

References bigstring, tyvaluedata::binaryvalue, binaryvaluetype, bserror, tyvaluerecord::data, getbinarytypeid(), hnode, langexternalgettypeid(), langsymbolreference(), odbexpandtodotparams, setcancoonglobals(), setemptystring, and tyvaluerecord::valuetype.

Referenced by odbgettype().

Here is the call graph for this function:

pascal boolean odbGetValue odbref  odb,
bigstring  bspath,
odbValueRecord value
 

Definition at line 709 of file odbengine.c.

References bigstring, bserror, canthandlethistypeerror, copyvaluedata(), copyvaluerecord(), exemptfromtmpstack(), externalvaluetype, hnode, langerrormessage(), langexternalgettypeid(), langsymbolreference(), odbexpandtodotparams, setcancoonglobals(), setemptystring, and tyvaluerecord::valuetype.

Referenced by odbgetvalue().

Here is the call graph for this function:

pascal void odbInitValue odbValueRecord value  ) 
 

pascal boolean odbInstallEventHandler void   ) 
 

pascal boolean odbNewFile hdlfilenum   ) 
 

Definition at line 463 of file odbengine.c.

References bserror, cancoonversionnumber, cancoonview, clearbytes(), dbassign(), dbclose(), dbdispose(), dbnew(), dbsetview(), fl, info, nil, nildbaddress, and setemptystring.

Referenced by ccstart(), and odbnewfile().

Here is the call graph for this function:

pascal boolean odbNewTable odbref  odb,
bigstring  bspath
 

Definition at line 811 of file odbengine.c.

References bigstring, bserror, disposevaluerecord(), exemptfromtmpstack(), hashtableassign(), idtableprocessor, langexternalnewvalue(), nil, odbexpandtodotparams, setcancoonglobals(), and setemptystring.

Referenced by odbnewtable().

Here is the call graph for this function:

pascal boolean odbOpenFile hdlfilenum  ,
odbref odb,
boolean  flreadonly
 

Definition at line 499 of file odbengine.c.

References alertdialog(), bserror, cancoonversionnumber, cancoonview, clearcancoonglobals(), databasedata, dbdispose(), dbgetview(), dbopenfile(), dbreference(), disposecancoonrecord(), error, tycancoonrecord::hdatabase, initlangcallbacks(), loadversion2cancoonfile(), newcancoonrecord(), nil, and setemptystring.

Referenced by ccstart(), and odbopenfile().

Here is the call graph for this function:

pascal boolean odbSaveFile odbref  odb  ) 
 

Definition at line 559 of file odbengine.c.

References bserror, cancoonversionnumber, cancoonview, clearbytes(), dbassign(), dbflushreleasestack(), dbgetview(), dbreference(), dbsetview(), info, nildbaddress, setcancoonglobals(), setemptystring, shellsave(), sizeof(), and tablesavesystemtable().

Referenced by odbsavefile().

Here is the call graph for this function:

pascal boolean odbSetValue odbref  odb,
bigstring  bspath,
odbValueRecord value
 

Definition at line 758 of file odbengine.c.

References bigstring, tyvaluedata::binaryvalue, bserror, canthandlethistypeerror, copyvaluerecord(), tyvaluerecord::data, disposevaluerecord(), exemptfromtmpstack(), externalvaluetype, hashtableassign(), initvalue(), langerrormessage(), langexternalgetvaluetype(), odbexpandtodotparams, setbinaryvalue(), setcancoonglobals(), setemptystring, and value.

Referenced by odbsetvalue().

Here is the call graph for this function:

pascal boolean odbUpdateOdbref WindowPtr  w,
odbref  odb
 

Referenced by extOdbGetCurrentRoot().


Generated on Thu Jun 8 01:52:14 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6