fileverbs.c File Reference

#include "frontier.h"
#include "standard.h"
#include "error.h"
#include "memory.h"
#include "strings.h"
#include "ops.h"
#include "resources.h"
#include "lang.h"
#include "langexternal.h"
#include "langinternal.h"
#include "langsystem7.h"
#include "process.h"
#include "kernelverbs.h"
#include "file.h"
#include "filesystem7.h"
#include "filealias.h"
#include "tablestructure.h"
#include "kernelverbdefs.h"
#include "shell.rsrc.h"
#include "byteorder.h"
#include "oplist.h"

Include dependency graph for fileverbs.c:

Go to the source code of this file.

Enumerations

enum  tyfiletoken {
  filecreatedfunc, filemodifiedfunc, filetypefunc, filecreatorfunc,
  setfilecreatedfunc, setfilemodifiedfunc, setfiletypefunc, setfilecreatorfunc,
  fileisfolderfunc, fileisvolumefunc, fileislockedfunc, filelockfunc,
  fileunlockfunc, filecopyfunc, filecopydataforkfunc, filecopyresourceforkfunc,
  filedeletefunc, filerenamefunc, fileexistsfunc, filesizefunc,
  filefullpathfunc, filegetpathfunc, filesetpathfunc, filefrompathfunc,
  folderfrompathfunc, getsystempathfunc, getspecialpathfunc, newfunc,
  newfolderfunc, newaliasfunc, sfgetfilefunc, sfputfilefunc,
  sfgetfolderfunc, sfgetdiskfunc, filegeticonposfunc, fileseticonposfunc,
  getshortversionfunc, setshortversionfunc, getlongversionfunc, setlongversionfunc,
  filegetcommentfunc, filesetcommentfunc, filegetlabelfunc, filesetlabelfunc,
  filefindappfunc, fileisbusyfunc, filehasbundlefunc, filesetbundlefunc,
  fileisaliasfunc, fileisvisiblefunc, filesetvisiblefunc, filefollowaliasfunc,
  filemovefunc, volumeejectfunc, volumeisejectablefunc, volumefreespacefunc,
  volumesizefunc, volumeblocksizefunc, filesonvolumefunc, foldersonvolumefunc,
  unmountvolumefunc, mountservervolumefunc, findinfilefunc, countlinesfunc,
  openfilefunc, closefilefunc, endoffilefunc, setendoffilefunc,
  getendoffilefunc, setpositionfunc, getpositionfunc, readlinefunc,
  writelinefunc, readfunc, writefunc, comparefunc,
  writewholefilefunc, getpathcharfunc, volumefreespacedoublefunc, volumesizedoublefunc,
  getmp3infofunc, readwholefilefunc, getlabelindexfunc, setlabelindexfunc,
  getlabelnamesfunc, ctfileverbs
}
enum  tyreztoken {
  rezgetresourcefunc, rezputresourcefunc, rezgetnamedresourcefunc, rezputnamedresourcefunc,
  rezcountrestypesfunc, rezgetnthrestypefunc, rezcountresourcesfunc, rezgetnthresourcefunc,
  rezgetnthresinfofunc, rezresourceexistsfunc, reznamedresourceexistsfunc, rezdeleteresourcefunc,
  rezdeletenamedresourcefunc, rezgetresourceattrsfunc, rezsetresourceattrsfunc, ctrezverbs
}

Functions

static boolean getpathvalue (hdltreenode hparam1, short pnum, tyfilespec *fspath)
static boolean getvolumevalue (hdltreenode hparam1, short pnum, tyfilespec *fsvol)
static boolean copyfileverb (boolean fldata, boolean flresources, hdltreenode hparam1, tyvaluerecord *v)
static boolean filefrompathverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean folderfrompathverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean gettypelistvalue (hdltreenode hparam1, short pnum, tysftypelist *filetypes, ptrsftypelist *x)
static boolean filedialogverb (tysfverb sfverb, hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean getstringorintvalue (hdltreenode hfirst, short pnum, boolean flstring, short *intval, bigstring bsval)
static boolean getresourceverb (hdltreenode hparam1, boolean flnamed, tyvaluerecord *v)
static boolean putresourceverb (hdltreenode hparam1, boolean flnamed, tyvaluerecord *v)
static boolean countrestypesverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean getnthrestypeverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean countresourcesverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean getnthresourceverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean getnthresinfoverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean resourceexistsverb (hdltreenode hparam1, boolean flnamed, tyvaluerecord *v)
static boolean getresourceattrsverb (hdltreenode hparam1, boolean flnamed, tyvaluerecord *v)
static boolean setresourceattrsverb (hdltreenode hparam1, boolean flnamed, tyvaluerecord *v)
static boolean deleteresourceverb (hdltreenode hparam1, boolean flnamed, tyvaluerecord *v)
static boolean geticonposverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean seticonposverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean findapplicationverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean findfileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean countlinesverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean openfileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean closefileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean endoffileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean setendoffileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean getendoffileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean setpositionverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean getpositionverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean readlineverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean writelineverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean readwholefileverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean readverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean writeverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean comparefilesverb (hdltreenode hparam1, tyvaluerecord *v)
static boolean filefunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
static boolean rezfunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
boolean fileinitverbs (void)
boolean filestart (void)

Variables

boolean flsupportslargevolumes = false


Enumeration Type Documentation

enum tyfiletoken
 

Enumerator:
filecreatedfunc 
filemodifiedfunc 
filetypefunc 
filecreatorfunc 
setfilecreatedfunc 
setfilemodifiedfunc 
setfiletypefunc 
setfilecreatorfunc 
fileisfolderfunc 
fileisvolumefunc 
fileislockedfunc 
filelockfunc 
fileunlockfunc 
filecopyfunc 
filecopydataforkfunc 
filecopyresourceforkfunc 
filedeletefunc 
filerenamefunc 
fileexistsfunc 
filesizefunc 
filefullpathfunc 
filegetpathfunc 
filesetpathfunc 
filefrompathfunc 
folderfrompathfunc 
getsystempathfunc 
getspecialpathfunc 
newfunc 
newfolderfunc 
newaliasfunc 
sfgetfilefunc 
sfputfilefunc 
sfgetfolderfunc 
sfgetdiskfunc 
filegeticonposfunc 
fileseticonposfunc 
getshortversionfunc 
setshortversionfunc 
getlongversionfunc 
setlongversionfunc 
filegetcommentfunc 
filesetcommentfunc 
filegetlabelfunc 
filesetlabelfunc 
filefindappfunc 
fileisbusyfunc 
filehasbundlefunc 
filesetbundlefunc 
fileisaliasfunc 
fileisvisiblefunc 
filesetvisiblefunc 
filefollowaliasfunc 
filemovefunc 
volumeejectfunc 
volumeisejectablefunc 
volumefreespacefunc 
volumesizefunc 
volumeblocksizefunc 
filesonvolumefunc 
foldersonvolumefunc 
unmountvolumefunc 
mountservervolumefunc 
findinfilefunc 
countlinesfunc 
openfilefunc 
closefilefunc 
endoffilefunc 
setendoffilefunc 
getendoffilefunc 
setpositionfunc 
getpositionfunc 
readlinefunc 
writelinefunc 
readfunc 
writefunc 
comparefunc 
writewholefilefunc 
getpathcharfunc 
volumefreespacedoublefunc 
volumesizedoublefunc 
getmp3infofunc 
readwholefilefunc 
getlabelindexfunc 
setlabelindexfunc 
getlabelnamesfunc 
ctfileverbs 

Definition at line 70 of file fileverbs.c.

enum tyreztoken
 

Enumerator:
rezgetresourcefunc 
rezputresourcefunc 
rezgetnamedresourcefunc 
rezputnamedresourcefunc 
rezcountrestypesfunc 
rezgetnthrestypefunc 
rezcountresourcesfunc 
rezgetnthresourcefunc 
rezgetnthresinfofunc 
rezresourceexistsfunc 
reznamedresourceexistsfunc 
rezdeleteresourcefunc 
rezdeletenamedresourcefunc 
rezgetresourceattrsfunc 
rezsetresourceattrsfunc 
ctrezverbs 

Definition at line 266 of file fileverbs.c.


Function Documentation

static boolean closefileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2286 of file fileverbs.c.

References fifclosefile(), flnextparamislast, and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean comparefilesverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2571 of file fileverbs.c.

References fifcomparefiles(), flnextparamislast, and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean copyfileverb boolean  fldata,
boolean  flresources,
hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 490 of file fileverbs.c.

References copyfile(), equalfilespecs(), flnextparamislast, and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean countlinesverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2249 of file fileverbs.c.

References chreturn, fifcharcounter(), flnextparamislast, getpathvalue(), setlongvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean countresourcesverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1047 of file fileverbs.c.

References BIGSTRING, tyvaluerecord::data, flnextparamislast, getnumresources(), getoptionalparamvalue(), getostypevalue(), getpathvalue(), tyvaluedata::intvalue, resourcefork, setintvalue(), setlongvalue(), and v.

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean countrestypesverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 963 of file fileverbs.c.

References BIGSTRING, tyvaluerecord::data, flnextparamislast, getnumresourcetypes(), getoptionalparamvalue(), getpathvalue(), tyvaluedata::intvalue, resourcefork, setintvalue(), setlongvalue(), and v.

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean deleteresourceverb hdltreenode  hparam1,
boolean  flnamed,
tyvaluerecord v
[static]
 

Definition at line 1349 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, deleteresource(), flnextparamislast, getoptionalparamvalue(), getostypevalue(), getpathvalue(), getstringorintvalue(), tyvaluedata::intvalue, resourcefork, and setintvalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean endoffileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2301 of file fileverbs.c.

References fifendoffile(), flnextparamislast, and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean filedialogverb tysfverb  sfverb,
hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 718 of file fileverbs.c.

References BIGSTRING, bigstring, clearbytes(), coercetofilespec(), copyvaluerecord(), tysftypelist::cttypes, tyvaluerecord::data, disablelangerror(), enablelangerror(), exemptfromtmpstack(), fl, flnextparamislast, fsname, getoptionalparamvalue(), getstringvalue(), gettypelistvalue(), getvarparam(), hashtablelookup(), hnode, kNavGenericSignature, langsetsymbolval(), lastword(), nil, ostype, tyvaluedata::ostypevalue, pophashtable(), pushhashtable(), setbooleanvalue(), setfilespecvalue(), setostypevalue(), sfdialog(), sfgetfileverb, sfputfileverb, stringlength, stringtoostype(), and tysftypelist::types.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean filefrompathverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 511 of file fileverbs.c.

References bigstring, coercetofilespec(), copystring(), endswithpathsep(), fileexists(), filefrompath(), tyfileinfo::flfolder, flnextparamislast, tyfsfilespec::fullSpecifier, getparamvalue(), pullstringvalue(), pushchar(), setstringlength, setstringvalue(), stringlength, stringvaluetype, and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean filefunctionvalue short  token,
hdltreenode  hparam1,
tyvaluerecord vreturned,
bigstring  bserror
[static]
 

Definition at line 2718 of file fileverbs.c.

References badnetworkvolumespecificationerror, BIGSTRING, bigstring, closefilefunc, closefileverb(), comparefilesverb(), comparefunc, copyctopstring(), copyfileverb(), countlinesfunc, countlinesverb(), countwords(), currentprocess, deletefile(), disablelangerror(), ejectvol(), enablelangerror(), endoffilefunc, endoffileverb(), fifclosefile(), fifopenfile(), filecopydataforkfunc, filecopyfunc, filecopyresourceforkfunc, filecreatedfunc, filecreatorfunc, filedeletefunc, filedialogverb(), fileexists(), fileexistsfunc, filefindappfunc, filefollowaliasfunc, filefrompathfunc, filefrompathverb(), filefullpathfunc, filegetcommentfunc, filegetdefaultpath(), filegeticonposfunc, filegetlabelfunc, filegetpath(), filegetpathfunc, filegetsystemvnum(), filehasbundle(), filehasbundlefunc, fileisalias(), fileisaliasfunc, fileisbusy(), fileisbusyfunc, fileisfolder(), fileisfolderfunc, fileislocked(), fileislockedfunc, fileisvisible(), fileisvisiblefunc, fileisvolume(), fileisvolumefunc, filelockfunc, filemodifiedfunc, filemovefunc, filerenamefunc, filesetbundle(), filesetbundlefunc, filesetcommentfunc, filesetdefaultpath(), fileseticonposfunc, filesetlabelfunc, filesetpathfunc, filesetvisible(), filesetvisiblefunc, filesize(), filesizefunc, filesonvolume(), filesonvolumefunc, filetypefunc, fileunlockfunc, findapplicationverb(), findfileverb(), findinfilefunc, fl, flnextparamislast, folderfrompathfunc, folderfrompathverb(), foldersonvolume(), foldersonvolumefunc, getbooleanvalue(), getdatevalue(), getendoffilefunc, getendoffileverb(), getfilecreator(), getfiledates(), getfiletype(), getfreespace(), geticonposverb(), getlabelindexfunc, getlabelnamesfunc, getlongversionfunc, getmp3info(), getmp3infofunc, getostypevalue(), getpathcharfunc, getpathvalue(), getpositionfunc, getpositionverb(), getshortversionfunc, getspecialfolderpath(), getspecialpathfunc, getstringlist(), getstringvalue(), getsystempathfunc, getvolumeblocksize(), getvolumesize(), getvolumevalue(), isejectable(), isvolumelocked(), langcheckparamcount(), langcheckstackspace(), langerrorlist, langgetextendedvolumeinfo(), langparamerror(), langsetbooleanvarparam(), langsetlongvarparam(), lockfile(), lockvolume(), mountservervolumefunc, mountvolume(), movefile(), newaliasfunc, newfile(), newfolder(), newfolderfunc, newfunc, offset, openfilefunc, openfileverb(), ostypetostring(), readfunc, readlinefunc, readlineverb(), readverb(), readwholefilefunc, readwholefileverb(), renamefile(), setbooleanvalue(), setdatevalue(), setdoublevalue(), setemptystring, setendoffilefunc, setendoffileverb(), setfilecreated(), setfilecreatedfunc, setfilecreator(), setfilecreatorfunc, setfilemodified(), setfilemodifiedfunc, setfilespecvalue(), setfiletype(), setfiletypefunc, seticonposverb(), setlabelindexfunc, setlongvalue(), setlongversionfunc, setostypevalue(), setpositionfunc, setpositionverb(), setshortversionfunc, setstringvalue(), sfgetdiskfunc, sfgetdiskverb, sfgetfilefunc, sfgetfileverb, sfgetfolderfunc, sfgetfolderverb, sfputfilefunc, sfputfileverb, unimplementedverberror, unlockfile(), unmountvolume(), unmountvolumefunc, v, volumeblocksizefunc, volumecreated(), volumeejectfunc, volumefreespacedoublefunc, volumefreespacefunc, volumeisejectablefunc, volumesizedoublefunc, volumesizefunc, writefunc, writelinefunc, writelineverb(), and writeverb().

Referenced by fileinitverbs().

Here is the call graph for this function:

boolean fileinitverbs void   ) 
 

Definition at line 3829 of file fileverbs.c.

References filefunctionvalue(), idfileverbs, idrezverbs, loadfunctionprocessor(), and rezfunctionvalue().

Referenced by shellinit().

Here is the call graph for this function:

boolean filestart void   ) 
 

Definition at line 3855 of file fileverbs.c.

References flsupportslargevolumes, nil, and NULL.

Referenced by frontierstart().

static boolean findapplicationverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2008 of file fileverbs.c.

References clearbytes(), findapplication(), flnextparamislast, getostypevalue(), setfilespecvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean findfileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2219 of file fileverbs.c.

References bigstring, fiffindinfile(), flnextparamislast, getpathvalue(), getstringvalue(), pattern, setbooleanvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean folderfrompathverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 589 of file fileverbs.c.

References bigstring, cleanendoffilename(), coercetofilespec(), coercetostring(), copystring(), flnextparamislast, folderfrompath(), getfileparentfolder(), getparamvalue(), pullstringvalue(), setfilespecvalue(), setstringvalue(), stringvaluetype, and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean getendoffileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2335 of file fileverbs.c.

References fifgetendoffile(), flnextparamislast, getpathvalue(), setlongvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean geticonposverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1387 of file fileverbs.c.

References getfilepos(), getpathvalue(), tyPoint::h, langcheckparamcount(), setintvarparam(), and tyPoint::v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean getnthresinfoverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1157 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, fl, getintvalue(), getnthresourcehandle(), getoptionalparamvalue(), getostypevalue(), getpathvalue(), getvarparam(), tyvaluedata::intvalue, langsetlongvarparam(), langsetstringval(), nil, pophashtable(), pushhashtable(), resourcefork, and setintvalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean getnthresourceverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1084 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, disposehandle(), fl, flnextparamislast, getintvalue(), getnthresourcehandle(), getoptionalparamvalue(), getostypevalue(), getpathvalue(), getvarparam(), h, insertinhandle(), tyvaluedata::intvalue, langsetbinaryval(), langsetstringval(), pophashtable(), pushhashtable(), resourcefork, and setintvalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean getnthrestypeverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 996 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, fl, flnextparamislast, getintvalue(), getnthresourcetype(), getoptionalparamvalue(), getpathvalue(), getvarparam(), tyvaluedata::intvalue, langsetsymboltableval(), resourcefork, setintvalue(), and setostypevalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean getpathvalue hdltreenode  hparam1,
short  pnum,
tyfilespec fspath
[static]
 

Definition at line 366 of file fileverbs.c.

References getfilespecvalue().

Referenced by closefileverb(), comparefilesverb(), copyfileverb(), countlinesverb(), countresourcesverb(), countrestypesverb(), deleteresourceverb(), endoffileverb(), filefunctionvalue(), findfileverb(), getendoffileverb(), geticonposverb(), getnthresinfoverb(), getnthresourceverb(), getnthrestypeverb(), getpositionverb(), getresourceattrsverb(), getresourceverb(), openfileverb(), putresourceverb(), readlineverb(), readverb(), readwholefileverb(), resourceexistsverb(), setendoffileverb(), seticonposverb(), setpositionverb(), setresourceattrsverb(), writelineverb(), and writeverb().

Here is the call graph for this function:

static boolean getpositionverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2371 of file fileverbs.c.

References fifgetposition(), flnextparamislast, getpathvalue(), setlongvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean getresourceattrsverb hdltreenode  hparam1,
boolean  flnamed,
tyvaluerecord v
[static]
 

Definition at line 1262 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, flnextparamislast, getoptionalparamvalue(), getostypevalue(), getpathvalue(), getresourceattributes(), getstringorintvalue(), tyvaluedata::intvalue, resourcefork, setintvalue(), and v.

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean getresourceverb hdltreenode  hparam1,
boolean  flnamed,
tyvaluerecord v
[static]
 

Definition at line 859 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, disposehandle(), flnextparamislast, getoptionalparamvalue(), getostypevalue(), getpathvalue(), getstringorintvalue(), getvarparam(), h, insertinhandle(), tyvaluedata::intvalue, langsetbinaryval(), loadresourcehandle(), resourcefork, and setintvalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean getstringorintvalue hdltreenode  hfirst,
short  pnum,
boolean  flstring,
short intval,
bigstring  bsval
[static]
 

Definition at line 830 of file fileverbs.c.

References getintvalue(), getstringvalue(), and setemptystring.

Referenced by deleteresourceverb(), getresourceattrsverb(), getresourceverb(), putresourceverb(), resourceexistsverb(), and setresourceattrsverb().

Here is the call graph for this function:

static boolean gettypelistvalue hdltreenode  hparam1,
short  pnum,
tysftypelist filetypes,
ptrsftypelist x
[static]
 

Definition at line 656 of file fileverbs.c.

References coercetoostype(), filetype, getparamvalue(), i, langgetlistitem(), langgetlistsize(), maxsftypelist, min, nil, short, and tyvaluerecord::valuetype.

Referenced by filedialogverb().

Here is the call graph for this function:

static boolean getvolumevalue hdltreenode  hparam1,
short  pnum,
tyfilespec fsvol
[static]
 

Definition at line 416 of file fileverbs.c.

References bigstring, coercetofilespec(), fileparsevolname(), getparamvalue(), oserror(), pullstringvalue(), setoserrorparam(), stringvaluetype, and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean openfileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2267 of file fileverbs.c.

References currentprocess, fifopenfile(), flnextparamislast, and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean putresourceverb hdltreenode  hparam1,
boolean  flnamed,
tyvaluerecord v
[static]
 

Definition at line 919 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, flnextparamislast, getbinaryvalue(), getoptionalparamvalue(), getostypevalue(), getpathvalue(), getstringorintvalue(), tyvaluedata::intvalue, pullfromhandle(), resourcefork, saveresourcehandle(), and setintvalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean readlineverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2388 of file fileverbs.c.

References fifreadline(), flnextparamislast, getpathvalue(), setheapvalue(), stringvaluetype, and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean readverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2466 of file fileverbs.c.

References disposehandle(), fifreadhandle(), flnextparamislast, gethandlesize(), getlongvalue(), getpathvalue(), longinfinity, setbinaryvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean readwholefileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2423 of file fileverbs.c.

References currentprocess, disablelangerror(), enablelangerror(), fifclosefile(), fifopenfile(), fifreadfile(), fl, flnextparamislast, getpathvalue(), setbinaryvalue(), and v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean resourceexistsverb hdltreenode  hparam1,
boolean  flnamed,
tyvaluerecord v
[static]
 

Definition at line 1224 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, flnextparamislast, getoptionalparamvalue(), getostypevalue(), getpathvalue(), getstringorintvalue(), tyvaluedata::intvalue, loadresourcehandle(), nil, resourcefork, and setintvalue().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean rezfunctionvalue short  token,
hdltreenode  hparam1,
tyvaluerecord vreturned,
bigstring  bserror
[static]
 

Definition at line 3765 of file fileverbs.c.

References countresourcesverb(), countrestypesverb(), deleteresourceverb(), getnthresinfoverb(), getnthresourceverb(), getnthrestypeverb(), getresourceattrsverb(), getresourceverb(), getstringlist(), langerrorlist, putresourceverb(), resourceexistsverb(), rezcountresourcesfunc, rezcountrestypesfunc, rezdeletenamedresourcefunc, rezdeleteresourcefunc, rezgetnamedresourcefunc, rezgetnthresinfofunc, rezgetnthresourcefunc, rezgetnthrestypefunc, rezgetresourceattrsfunc, rezgetresourcefunc, reznamedresourceexistsfunc, rezputnamedresourcefunc, rezputresourcefunc, rezresourceexistsfunc, rezsetresourceattrsfunc, setbooleanvalue(), setresourceattrsverb(), unimplementedverberror, and v.

Referenced by fileinitverbs().

Here is the call graph for this function:

static boolean setendoffileverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2316 of file fileverbs.c.

References fifsetendoffile(), flnextparamislast, getlongvalue(), and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean seticonposverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 1441 of file fileverbs.c.

References flnextparamislast, getintvalue(), getpathvalue(), tyPoint::h, setfilepos(), and tyPoint::v.

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean setpositionverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2352 of file fileverbs.c.

References fifsetposition(), flnextparamislast, getlongvalue(), and getpathvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean setresourceattrsverb hdltreenode  hparam1,
boolean  flnamed,
tyvaluerecord v
[static]
 

Definition at line 1303 of file fileverbs.c.

References BIGSTRING, bigstring, tyvaluerecord::data, flnextparamislast, getintvalue(), getoptionalparamvalue(), getostypevalue(), getpathvalue(), getstringorintvalue(), tyvaluedata::intvalue, resourcefork, setintvalue(), and setresourceattributes().

Referenced by rezfunctionvalue().

Here is the call graph for this function:

static boolean writelineverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2404 of file fileverbs.c.

References fifwriteline(), flnextparamislast, getpathvalue(), and gettextvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:

static boolean writeverb hdltreenode  hparam1,
tyvaluerecord v
[static]
 

Definition at line 2494 of file fileverbs.c.

References fifwritehandle(), flnextparamislast, getpathvalue(), and getreadonlytextvalue().

Referenced by filefunctionvalue().

Here is the call graph for this function:


Variable Documentation

boolean flsupportslargevolumes = false
 

Definition at line 60 of file fileverbs.c.

Referenced by filestart(), and langgetextendedvolumeinfo().


Generated on Thu Jun 1 10:42:36 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6