appletsyserror.c File Reference

#include "appletdefs.h"
#include "appletmemory.h"
#include "appletstrings.h"
#include "appletsyserror.h"

Include dependency graph for appletsyserror.c:

Go to the source code of this file.

Data Structures

struct  tyerrorrecord


#define systemerrorlist   258
#define ctsystemerrors   86
#define unknownsystemerror   ctsystemerrors + 1
#define errorcushionsize   0x1800


void setsyserrorparam (bigstring bs)
static boolean getsystemerrorstring (OSErr ec, bigstring bs)
static boolean getsafetycushion (void)
boolean syserror (OSErr ec)
boolean sysmemoryerror (void)
boolean initsyserror (void)


tyerrorrecord systemerrortable [ctsystemerrors]
static Handle herrorcushion = nil
static bigstring syserrorparam = ""

Define Documentation

#define ctsystemerrors   86

Definition at line 15 of file appletsyserror.c.

#define errorcushionsize   0x1800

Definition at line 118 of file appletsyserror.c.

#define systemerrorlist   258

Definition at line 13 of file appletsyserror.c.

#define unknownsystemerror   ctsystemerrors + 1

Definition at line 116 of file appletsyserror.c.

Function Documentation

static boolean getsafetycushion void   )  [static]

Definition at line 166 of file appletsyserror.c.

References appnewhandle(), errorcushionsize, herrorcushion, and nil.

Here is the call graph for this function:

static boolean getsystemerrorstring OSErr  ec,
bigstring  bs

Definition at line 133 of file appletsyserror.c.

References ctsystemerrors, errornumber, i, stringlength, systemerrorlist, and systemerrortable.

boolean initsyserror void   ) 

Definition at line 224 of file appletsyserror.c.

References getsafetycushion().

Referenced by appletinitmanagers().

Here is the call graph for this function:

void setsyserrorparam bigstring  bs  ) 

Definition at line 127 of file appletsyserror.c.

References copystring(), and syserrorparam.

Referenced by setfileerrorfile().

Here is the call graph for this function:

boolean syserror OSErr  ec  ) 

Definition at line 175 of file appletsyserror.c.

References alertdialog(), bigstring, getsystemerrorstring(), nil, noErr, parseparamstring(), setstringlength, and syserrorparam.

Referenced by fileerror(), launchdeskaccessoryfile(), and sysmemoryerror().

Here is the call graph for this function:

boolean sysmemoryerror void   ) 

Definition at line 204 of file appletsyserror.c.

References assert, fl, getsafetycushion(), herrorcushion, nil, setstringlength, syserror(), and syserrorparam.

Referenced by getnewhandle(), and largefilebuffer().

Here is the call graph for this function:

Variable Documentation

Handle herrorcushion = nil [static]

Definition at line 120 of file appletsyserror.c.

bigstring syserrorparam = "" [static]

Definition at line 122 of file appletsyserror.c.

Referenced by setsyserrorparam(), syserror(), and sysmemoryerror().

tyerrorrecord systemerrortable[ctsystemerrors]

Definition at line 26 of file appletsyserror.c.

Referenced by getsystemerrorstring().

Generated on Wed May 31 21:44:19 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6