filepath.c File Reference

#include "frontier.h"
#include "standard.h"
#include "error.h"
#include "memory.h"
#include "strings.h"
#include "ops.h"
#include "file.h"
#include "launch.h"

Include dependency graph for filepath.c:

Go to the source code of this file.

Defines

#define flaux   false

Functions

boolean filegetdefaultpath (tyfilespec *fs)
boolean filesetdefaultpath (const tyfilespec *fs)
boolean filespectopath (const tyfilespec *fs, bigstring bspath)
boolean pathtofilespec (bigstring bspath, tyfilespec *fs)
boolean setfsfile (tyfilespec *fs, bigstring bsfile)
boolean getfsfile (const tyfilespec *fs, bigstring bsfile)
boolean getfsvolume (const tyfilespec *fs, long *vnum)
void initfsdefault (void)


Define Documentation

#define flaux   false
 

Definition at line 39 of file filepath.c.


Function Documentation

boolean filegetdefaultpath tyfilespec fs  ) 
 

Definition at line 92 of file filepath.c.

References fsname, nil, oserror(), and setstringlength.

Referenced by filefunctionvalue(), pathtofilespec(), and shellopendefaultfile().

Here is the call graph for this function:

boolean filesetdefaultpath const tyfilespec fs  ) 
 

Definition at line 119 of file filepath.c.

References clearbytes(), fsname, isemptystring, longsizeof, oserror(), and setoserrorparam().

Referenced by filefunctionvalue().

Here is the call graph for this function:

boolean filespectopath const tyfilespec fs,
bigstring  bspath
 

Definition at line 165 of file filepath.c.

References assurelastchariscolon(), convertcstring(), copyptocstring(), copystring(), directorytopath(), fileexists(), tyfileinfo::flfolder, fsname, isemptystring, lenbigstring, nullterminate, pushchar(), pushstring(), and setemptystring.

Referenced by aliastostring(), browserselectfile(), ccloadspecialfile(), coercetostring(), filespectoalias(), filespectoobjspec(), getfsfile(), langgetvalsize(), langpackfileval(), and windowgetpath().

Here is the call graph for this function:

boolean getfsfile const tyfilespec fs,
bigstring  bsfile
 

Definition at line 359 of file filepath.c.

References bigstring, copystring(), filefrompath(), filespectopath(), and fsname.

Referenced by fifopenfileerror(), langexternalzoomfilewindow(), newfilewindow(), shellsaveas(), and windowsetfspec().

Here is the call graph for this function:

boolean getfsvolume const tyfilespec fs,
long vnum
 

Definition at line 384 of file filepath.c.

References clearbytes(), fileparsevolname(), fsname, nil, and noErr.

Referenced by windowgetfspec().

Here is the call graph for this function:

void initfsdefault void   ) 
 

Definition at line 413 of file filepath.c.

References getapplicationfilespec(), and nil.

Referenced by shellinit().

Here is the call graph for this function:

boolean pathtofilespec bigstring  bspath,
tyfilespec fs
 

Definition at line 226 of file filepath.c.

References bigstring, clearbytes(), copystring(), filegetdefaultpath(), fileisvolume(), folderfrompath(), fsname, isallnumeric(), isemptystring, midstring(), noErr, nullterminate, poptrailingchars(), pushstring(), scanstring(), stringlength, and stringtoshort().

Referenced by coercetofilespec(), filemenufunctionvalue(), findapplication(), isstalepageaddress(), langunpackfileval(), openwindowsparamlinefiles(), parsepageaddress(), and stringtoalias().

Here is the call graph for this function:

boolean setfsfile tyfilespec fs,
bigstring  bsfile
 

Definition at line 311 of file filepath.c.

References bigstring, copystring(), folderfrompath(), fsname, nullterminate, and pushstring().

Referenced by shellopendefaultfile(), and shellsaveas().

Here is the call graph for this function:


Generated on Thu Jun 1 07:04:32 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6