land.h File Reference

#include <Aliases.h>
#include <AERegistry.h>
#include <standard.h>

Include dependency graph for land.h:

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

Go to the source code of this file.

Data Structures

struct  tyverbarrayelement
struct  typaramrecord
struct  tyverbrecord
struct  tymacnetglobals
struct  tynetworkaddress
struct  tyruntimemenurecord
struct  tymaceventsettings
struct  tyfastverbcontext
struct  tylandglobals

Defines

#define landinclude
#define THINKC
#define userlandclass   'land'
#define idappscriptrunner   'LAND'
#define runscripttoken   'dosc'
#define idscriptvalue   '----'
#define schedulescripttoken   'schs'
#define getmenuarraytoken   'gmry'
#define idmenuprogram   'menp'
#define idstartingresource   'res1'
#define getmenuhandletoken   'gmhd'
#define idarrayindex   'idix'
#define idrunmenuitem   'runm'
#define idmenuidvalue   'mid '
#define idmenuitemvalue   'mitm'
#define idupdatemenus   'updm'
#define idscriptcompleted   'done'
#define killscripttoken   'kill'
#define idrunning   'zzz?'
#define idgetverbs   'vbs?'
#define idopenstatswindow   'stat'
#define idstatsopen   'sts?'
#define returnedvaluekey   '----'
#define directparamkey   '----'
#define errornumberkey   'errn'
#define errorstringkey   'errs'
#define nosuchparamerror   1
#define wrongtypeerror   2
#define undefinedverberror   3
#define nohandlererror   4
#define outofmemoryerror   5
#define usercancellederror   6
#define lastinternalerror   usercancellederror

Typedefs

typedef unsigned char ** hdlbigstring
typedef pascal boolean(* landeventrecordcallback )(EventRecord *)
typedef pascal OSErr(* landnoparamcallback )(void)
typedef pascal OSErr(* landfilespeccallback )(FSSpec *)
typedef pascal boolean(* landqueuepopcallback )(Handle, long)
typedef pascal OSErr(* tyeventcreatecallback )(AEEventClass theAEEventClass, AEEventID theAEEventID, const AEAddressDesc *target, short returnID, long transactionID, AppleEvent *result)
typedef pascal OSErr(* tyeventsendcallback )(const AppleEvent *theAppleEvent, AppleEvent *reply, AESendMode sendMode, AESendPriority sendPriority, long timeOutInTicks, AEIdleUPP idleProc, AEFilterUPP filterProc)
typedef pascal OSErr(* tyeventhandler )(AppleEvent *, AppleEvent *, long)
typedef unsigned long tydate
typedef unsigned long tyenumerator
typedef AEKeyword typaramkeyword
typedef unsigned long tyapplicationid
typedef unsigned long tyverbclass
typedef unsigned long tyverbtoken
typedef short tysystem6processid
typedef tyverbarrayelement tyverbarray [1]
typedef tyverbarray ** hdlverbarray
typedef typaramrecordptrparamrecord
typedef tyverbrecordptrverbrecord
typedef tyverbrecord ** hdlverbrecord
typedef pascal boolean(* landverbrecordcallback )(hdlverbrecord)
typedef tyruntimemenurecord tymenuarray [1]
typedef tymenuarray ** hdlmenuarray
typedef tylandglobalsptrlandglobals
typedef tylandglobals ** hdllandglobals

Enumerations

enum  typaramtype {
  notype = typeWildCard, booleantype = typeBoolean, charactertype = 'char', inttype = typeShortInteger,
  longtype = typeLongInteger, datetype = 'date', floattype = 'flot', directiontype = 'dir ',
  pointtype = typeQDPoint, recttype = typeQDRectangle, enumtype = typeEnumerated, stringtype = 's255',
  texttype = typeChar, binarytype = 'BINA', pathtype = 'path', aliastype = typeAlias,
  ostype = typeType, singletype = typeShortFloat, doubletype = typeExtended, rgbtype = typeRGBColor,
  patterntype = 'tptn', fixedtype = typeFixed, fsspectype = typeFSS, objectspectype = cObjectSpecifier
}
enum  tytransport { macsystem7, macsystem6 }

Functions

pascal boolean landinit (void)
pascal boolean landaddverb (tyverbtoken)
pascal boolean landaddfastverb (tyverbtoken)
pascal boolean landaddclass (tyverbclass)
pascal boolean landdeleteverb (tyverbclass, tyverbtoken)
pascal boolean landeventfilter (EventRecord *)
pascal boolean landsettimeout (long)
pascal boolean landsettransactionid (long)
pascal boolean landsetinteractionlevel (short)
pascal boolean landapprunning (tyapplicationid)
pascal boolean landclose (void)
pascal boolean landsetapplicationid (tyapplicationid)
pascal boolean landacceptanyverb (boolean)
pascal boolean landclaimparam (hdlverbrecord, typaramkeyword)
pascal boolean landefaultbreakembrace (EventRecord *)
pascal OSErr landsystem7defaultcreate (AEEventClass, AEEventID, const AEAddressDesc *, short, long, AppleEvent *)
pascal OSErr landsystem7defaultsend (const AppleEvent *, AppleEvent *, AESendMode, AESendPriority, long, AEIdleUPP, AEFilterUPP)
pascal void landseterror (OSErr)
pascal OSErr landgeterror (void)
pascal boolean landvisitsleepingthreads (landqueuepopcallback, long)
pascal OSErr landsystem7callhandler (hdlverbrecord, tyeventhandler)
pascal OSErr landsystem7suspendevent (hdlverbrecord)
pascal OSErr landsystem7resumeevent (hdlverbrecord)
pascal boolean landsystem7installfasthandler (tyverbclass, tyverbtoken, tyeventhandler)
pascal boolean landsystem7removefasthandler (tyverbclass, tyverbtoken)
pascal boolean landsystem7unpackverb (AppleEvent *, AppleEvent *, hdlverbrecord *)
pascal boolean landruntext (Handle, boolean, Str255)
pascal boolean landrunstring (Str255, boolean, Str255)
pascal boolean landgetmenuarray (short, hdlmenuarray *)
pascal boolean landinstallmenuarray (short, hdlmenuarray)
pascal boolean landmenuhit (short, hdlmenuarray)
pascal boolean landrunmenuitem (short, short, hdlmenuarray)
pascal boolean landcancelmenuscript (void)
pascal boolean landremovemenuarray (hdlmenuarray)
pascal boolean landdisposemenuarray (hdlmenuarray)
pascal boolean landenablemenuarray (hdlmenuarray, boolean)
pascal boolean landmenuneedsupdate (void)
pascal boolean landopenstatswindow (void)
pascal boolean landclosestatswindow (void)
pascal boolean landisstatswindow (WindowPtr)
pascal boolean landnewverb (tyapplicationid, ProcessSerialNumber *, tyverbclass, tyverbtoken, short, hdlverbrecord *)
pascal boolean landpushparam (hdlverbrecord, typaramtype, Handle, void *, long, typaramkeyword)
pascal boolean landpushbooleanparam (hdlverbrecord, Boolean, typaramkeyword)
pascal boolean landpushcharparam (hdlverbrecord, char, typaramkeyword)
pascal boolean landpushintparam (hdlverbrecord, short, typaramkeyword)
pascal boolean landpushlongparam (hdlverbrecord, long, typaramkeyword)
pascal boolean landpushdateparam (hdlverbrecord, tydate, typaramkeyword)
pascal boolean landpushfloatparam (hdlverbrecord, float, typaramkeyword)
pascal boolean landpushdirectionparam (hdlverbrecord, tydirection, typaramkeyword)
pascal boolean landpushpointparam (hdlverbrecord, Point, typaramkeyword)
pascal boolean landpushrectparam (hdlverbrecord, Rect *, typaramkeyword)
pascal boolean landpushenumparam (hdlverbrecord, tyenumerator, typaramkeyword)
pascal boolean landpushstringparam (hdlverbrecord, Str255, typaramkeyword)
pascal boolean landpushtextparam (hdlverbrecord, Handle, typaramkeyword)
pascal boolean landpushbinaryparam (hdlverbrecord, Handle, typaramkeyword)
pascal boolean landpushaliasparam (hdlverbrecord, AliasHandle, typaramkeyword)
pascal boolean landpushpathparam (hdlverbrecord, Str255, typaramkeyword)
pascal boolean landpushosparam (hdlverbrecord, OSType, typaramkeyword)
pascal boolean landpushsingleparam (hdlverbrecord, float, typaramkeyword)
pascal boolean landpushdoubleparam (hdlverbrecord, double *, typaramkeyword)
pascal boolean landpushrgbparam (hdlverbrecord, RGBColor *, typaramkeyword)
pascal boolean landpushpatternparam (hdlverbrecord, Pattern *, typaramkeyword)
pascal boolean landpushfixedparam (hdlverbrecord, Fixed *, typaramkeyword)
pascal boolean landpushfsspecparam (hdlverbrecord, FSSpec *, typaramkeyword)
pascal boolean landpushobjectspecparam (hdlverbrecord, AEDesc *, typaramkeyword)
pascal boolean landpushkeybinaryparam (hdlverbrecord, Handle, typaramkeyword)
pascal boolean landsendverb (hdlverbrecord, typaramrecord *, Str255, short *)
pascal boolean landcomplexsend (hdlverbrecord, hdlverbrecord *)
pascal boolean landdisposeparamrecord (const typaramrecord *)
pascal boolean landdisposeverb (hdlverbrecord)
pascal boolean landgetparam (hdlverbrecord, typaramkeyword, typaramtype, typaramrecord *)
pascal boolean landgetbooleanparam (hdlverbrecord, typaramkeyword, Boolean *)
pascal boolean landgetcharparam (hdlverbrecord, typaramkeyword, char *)
pascal boolean landgetintparam (hdlverbrecord, typaramkeyword, short *)
pascal boolean landgetlongparam (hdlverbrecord, typaramkeyword, long *)
pascal boolean landgetdateparam (hdlverbrecord, typaramkeyword, tydate *)
pascal boolean landgetfloatparam (hdlverbrecord, typaramkeyword, float *)
pascal boolean landgetdirectionparam (hdlverbrecord, typaramkeyword, tydirection *)
pascal boolean landgetpointparam (hdlverbrecord, typaramkeyword, Point *)
pascal boolean landgetrectparam (hdlverbrecord, typaramkeyword, Rect *)
pascal boolean landgetenumparam (hdlverbrecord, typaramkeyword, tyenumerator *)
pascal boolean landgetstringparam (hdlverbrecord, typaramkeyword, Str255)
pascal boolean landgettextparam (hdlverbrecord, typaramkeyword, Handle *)
pascal boolean landgetbinaryparam (hdlverbrecord, typaramkeyword, Handle *)
pascal boolean landgetaliasparam (hdlverbrecord, typaramkeyword, AliasHandle *)
pascal boolean landgetpathparam (hdlverbrecord, typaramkeyword, Str255)
pascal boolean landgetosparam (hdlverbrecord, typaramkeyword, OSType *)
pascal boolean landgetsingleparam (hdlverbrecord, typaramkeyword, float *)
pascal boolean landgetdoubleparam (hdlverbrecord, typaramkeyword, double *)
pascal boolean landgetrgbparam (hdlverbrecord, typaramkeyword, RGBColor *)
pascal boolean landgetpatternparam (hdlverbrecord, typaramkeyword, Pattern *)
pascal boolean landgetfixedparam (hdlverbrecord, typaramkeyword, Fixed *)
pascal boolean landgetfsspecparam (hdlverbrecord, typaramkeyword, FSSpec *)
pascal boolean landgetobjectspecparam (hdlverbrecord, typaramkeyword, AEDesc *)
pascal boolean landgetkeybinaryparam (hdlverbrecord, typaramkeyword, Handle *)
pascal boolean landgetnthparam (hdlverbrecord, short, typaramrecord *)
pascal boolean landreturnboolean (hdlverbrecord, Boolean)
pascal boolean landreturnchar (hdlverbrecord, char)
pascal boolean landreturnint (hdlverbrecord, short)
pascal boolean landreturnlong (hdlverbrecord, long)
pascal boolean landreturndate (hdlverbrecord, tydate)
pascal boolean landreturnfloat (hdlverbrecord, float)
pascal boolean landreturndirection (hdlverbrecord, tydirection)
pascal boolean landreturnpoint (hdlverbrecord, Point)
pascal boolean landreturnrect (hdlverbrecord, Rect *)
pascal boolean landreturnenum (hdlverbrecord, tyenumerator)
pascal boolean landreturnstring (hdlverbrecord, Str255)
pascal boolean landreturntext (hdlverbrecord, Handle)
pascal boolean landreturnbinary (hdlverbrecord, Handle)
pascal boolean landreturnalias (hdlverbrecord, AliasHandle)
pascal boolean landreturnpath (hdlverbrecord, Str255)
pascal boolean landreturnos (hdlverbrecord, OSType)
pascal boolean landreturnsingle (hdlverbrecord, float)
pascal boolean landreturndouble (hdlverbrecord, double *)
pascal boolean landreturnrgb (hdlverbrecord, RGBColor *)
pascal boolean landreturnpattern (hdlverbrecord, Pattern *)
pascal boolean landreturnfixed (hdlverbrecord, Fixed *)
pascal boolean landreturnfsspec (hdlverbrecord, FSSpec *)
pascal boolean landreturnobjectspec (hdlverbrecord, AEDesc *)
pascal boolean landreturnkeybinaryparam (hdlverbrecord, Handle)
pascal boolean landreturnerror (hdlverbrecord, short)
pascal boolean landstartreturn (hdlverbrecord)
pascal boolean landgetappverbs (tyapplicationid, hdlverbarray *)
pascal boolean landverbinarray (tyverbclass, tyverbtoken, hdlverbarray)
pascal boolean landnextparamisoptional (hdlverbrecord)
pascal boolean landverbgetsnoreply (hdlverbrecord)
pascal boolean landstring2networkaddress (ConstStr255Param, tynetworkaddress *)
pascal boolean landbrowsenetworkapps (ConstStr255Param, tynetworkaddress *, tyapplicationid)
pascal boolean landnewnetworkverb (tynetworkaddress *, tyverbclass, tyverbtoken, short, hdlverbrecord *)
pascal OSErr landgetverbattr (hdlverbrecord, OSType, DescType, AEDesc *)
pascal OSErr landsetverbattr (hdlverbrecord, OSType, DescType, const void *attrdata, long)
pascal hdllandglobals landgetglobals (void)


Define Documentation

#define directparamkey   '----'
 

Definition at line 542 of file land.h.

#define errornumberkey   'errn'
 

Definition at line 544 of file land.h.

Referenced by landreturnerror(), landsendverb(), and langipcerrorroutine().

#define errorstringkey   'errs'
 

Definition at line 546 of file land.h.

Referenced by landreturnerror(), landsendverb(), and langipcerrorroutine().

#define getmenuarraytoken   'gmry'
 

Definition at line 504 of file land.h.

Referenced by landgetmenuarray(), langipchandleverb(), and langipcstart().

#define getmenuhandletoken   'gmhd'
 

Definition at line 510 of file land.h.

Referenced by landgetmenuhandles(), langipchandleverb(), and langipcstart().

#define idappscriptrunner   'LAND'
 

Definition at line 493 of file land.h.

Referenced by landgetscriptid().

#define idarrayindex   'idix'
 

Definition at line 512 of file land.h.

Referenced by landgetmenuhandles().

#define idgetverbs   'vbs?'
 

Definition at line 531 of file land.h.

#define idmenuidvalue   'mid '
 

Definition at line 516 of file land.h.

Referenced by landrunmenuitem().

#define idmenuitemvalue   'mitm'
 

Definition at line 518 of file land.h.

Referenced by landrunmenuitem().

#define idmenuprogram   'menp'
 

Definition at line 506 of file land.h.

Referenced by landgetmenuarray(), landgetmenuhandles(), and landrunmenuitem().

#define idopenstatswindow   'stat'
 

Definition at line 533 of file land.h.

#define idrunmenuitem   'runm'
 

Definition at line 514 of file land.h.

Referenced by landrunmenuitem(), langipchandleverb(), and langipcstart().

#define idrunning   'zzz?'
 

Definition at line 529 of file land.h.

Referenced by landinit(), and langipchandleverb().

#define idscriptcompleted   'done'
 

Definition at line 522 of file land.h.

Referenced by langipcerrorroutine(), langipcmenuprocesskilled(), and langipcrunitem().

#define idscriptvalue   '----'
 

Definition at line 497 of file land.h.

Referenced by langipchandlerunscript().

#define idstartingresource   'res1'
 

Definition at line 508 of file land.h.

Referenced by landgetmenuarray().

#define idstatsopen   'sts?'
 

Definition at line 535 of file land.h.

#define idupdatemenus   'updm'
 

Definition at line 520 of file land.h.

Referenced by langipcmenubarchanged(), langipcsymbolchanged(), notifyappvisit(), and sendmenusharingshutdownevent().

#define killscripttoken   'kill'
 

Definition at line 524 of file land.h.

Referenced by langipchandleverb(), and langipcstart().

#define landinclude
 

Definition at line 28 of file land.h.

#define lastinternalerror   usercancellederror
 

Definition at line 563 of file land.h.

#define nohandlererror   4
 

Definition at line 557 of file land.h.

Referenced by landreturnerror().

#define nosuchparamerror   1
 

Definition at line 551 of file land.h.

Referenced by landgetparam(), and landreturnerror().

#define outofmemoryerror   5
 

Definition at line 559 of file land.h.

Referenced by landreturnerror().

#define returnedvaluekey   '----'
 

Definition at line 540 of file land.h.

Referenced by getverbresult(), landreturnbinary(), landreturnboolean(), landreturnlong(), landreturnstring(), landsendverb(), langipcruncode(), and osaDoEvent().

#define runscripttoken   'dosc'
 

Definition at line 495 of file land.h.

Referenced by langipchandleverb(), and langipcstart().

#define schedulescripttoken   'schs'
 

Definition at line 499 of file land.h.

#define THINKC
 

Definition at line 34 of file land.h.

#define undefinedverberror   3
 

Definition at line 555 of file land.h.

Referenced by landreturnerror(), and langipchandleverb().

#define usercancellederror   6
 

Definition at line 561 of file land.h.

Referenced by landreturnerror(), landsendverb(), landsystem7send(), langipccomplexsend(), and langipcmessage().

#define userlandclass   'land'
 

Definition at line 488 of file land.h.

Referenced by landinit().

#define wrongtypeerror   2
 

Definition at line 553 of file land.h.

Referenced by landreturnerror().


Typedef Documentation

typedef unsigned char** hdlbigstring
 

Definition at line 80 of file land.h.

typedef struct tylandglobals ** hdllandglobals
 

typedef tymenuarray** hdlmenuarray
 

Definition at line 391 of file land.h.

typedef tyverbarray** hdlverbarray
 

Definition at line 121 of file land.h.

typedef struct tyverbrecord ** hdlverbrecord
 

typedef pascal boolean(* landeventrecordcallback)(EventRecord *)
 

Definition at line 82 of file land.h.

typedef pascal OSErr(* landfilespeccallback)(FSSpec *)
 

Definition at line 86 of file land.h.

typedef pascal OSErr(* landnoparamcallback)(void)
 

Definition at line 84 of file land.h.

typedef pascal boolean(* landqueuepopcallback)(Handle, long)
 

Definition at line 88 of file land.h.

typedef pascal boolean(* landverbrecordcallback)(hdlverbrecord)
 

Definition at line 341 of file land.h.

typedef struct tylandglobals * ptrlandglobals
 

typedef struct typaramrecord * ptrparamrecord
 

typedef struct tyverbrecord * ptrverbrecord
 

typedef unsigned long tyapplicationid
 

Definition at line 102 of file land.h.

typedef unsigned long tydate
 

Definition at line 96 of file land.h.

typedef unsigned long tyenumerator
 

Definition at line 98 of file land.h.

typedef pascal OSErr(* tyeventcreatecallback)(AEEventClass theAEEventClass, AEEventID theAEEventID, const AEAddressDesc *target, short returnID, long transactionID, AppleEvent *result)
 

Definition at line 90 of file land.h.

typedef pascal OSErr(* tyeventhandler)(AppleEvent *, AppleEvent *, long)
 

Definition at line 94 of file land.h.

typedef pascal OSErr(* tyeventsendcallback)(const AppleEvent *theAppleEvent, AppleEvent *reply, AESendMode sendMode, AESendPriority sendPriority, long timeOutInTicks, AEIdleUPP idleProc, AEFilterUPP filterProc)
 

Definition at line 92 of file land.h.

typedef tyruntimemenurecord tymenuarray[1]
 

Definition at line 389 of file land.h.

typedef AEKeyword typaramkeyword
 

Definition at line 100 of file land.h.

typedef short tysystem6processid
 

Definition at line 108 of file land.h.

typedef tyverbarrayelement tyverbarray[1]
 

Definition at line 119 of file land.h.

typedef unsigned long tyverbclass
 

Definition at line 104 of file land.h.

typedef unsigned long tyverbtoken
 

Definition at line 106 of file land.h.


Enumeration Type Documentation

enum typaramtype
 

Enumerator:
notype 
booleantype 
charactertype 
inttype 
longtype 
datetype 
floattype 
directiontype 
pointtype 
recttype 
enumtype 
stringtype 
texttype 
binarytype 
pathtype 
aliastype 
ostype 
singletype 
doubletype 
rgbtype 
patterntype 
fixedtype 
fsspectype 
objectspectype 

Definition at line 124 of file land.h.

enum tytransport
 

Enumerator:
macsystem7 
macsystem6 

Definition at line 344 of file land.h.


Function Documentation

pascal boolean landacceptanyverb boolean   ) 
 

Definition at line 624 of file land.c.

References landgetglobals(), landsystem7acceptanyverb(), and macsystem7.

Referenced by langipcstart().

Here is the call graph for this function:

pascal boolean landaddclass tyverbclass   ) 
 

Definition at line 35 of file landverbarray.c.

References fl, landgetglobals(), landsystem7addclass(), and macsystem7.

Referenced by landinit().

Here is the call graph for this function:

pascal boolean landaddfastverb tyverbtoken   ) 
 

Definition at line 102 of file landverbarray.c.

References landaddverbtoken().

Referenced by langipcstart().

Here is the call graph for this function:

pascal boolean landaddverb tyverbtoken   ) 
 

Definition at line 92 of file landverbarray.c.

References landaddverbtoken().

Referenced by landinit(), and langipcstart().

Here is the call graph for this function:

pascal boolean landapprunning tyapplicationid   ) 
 

pascal boolean landbrowsenetworkapps ConstStr255Param  ,
tynetworkaddress ,
tyapplicationid 
 

Definition at line 494 of file landsystem7.c.

References landbrowserfilterUPP, landgetglobals(), landseterror(), macsystem6, nil, noErr, RestoreA5, SetUpCurA5, and shellactivate().

Referenced by langipcbrowsenetwork().

Here is the call graph for this function:

pascal boolean landcancelmenuscript void   ) 
 

Definition at line 392 of file landruntime.c.

References landgetglobals().

Here is the call graph for this function:

pascal boolean landclaimparam hdlverbrecord  ,
typaramkeyword 
 

pascal boolean landclose void   ) 
 

Definition at line 535 of file land.c.

References landdisposehandle, landgetglobals(), and landsystem7close().

Referenced by langipcshutdown().

Here is the call graph for this function:

pascal boolean landclosestatswindow void   ) 
 

Definition at line 361 of file landwindow.c.

References landdisposehandle, landgetglobals(), nil, and refCon.

Referenced by landwindowmousedown().

Here is the call graph for this function:

pascal boolean landcomplexsend hdlverbrecord  ,
hdlverbrecord
 

Definition at line 292 of file land.c.

References fl, landdisposeverb(), landgetglobals(), landsystem7send(), and noErr.

Referenced by landsendverb(), and langipccomplexsend().

Here is the call graph for this function:

pascal boolean landdeleteverb tyverbclass  ,
tyverbtoken 
 

pascal boolean landdisposemenuarray hdlmenuarray   ) 
 

Definition at line 237 of file landruntime.c.

References tyruntimemenurecord::flinserted, tyruntimemenurecord::hmenu, i, tyruntimemenurecord::idmenu, landcountmenuarray(), and nil.

Here is the call graph for this function:

pascal boolean landdisposeparamrecord const typaramrecord  ) 
 

Definition at line 126 of file land.c.

References h, and landdisposehandle.

Referenced by landgetintparam(), landgetlongparam(), landgetmenuarray(), landgetstringparam(), landrunmenuitem(), langipcmenuprocesskilled(), and langipcsendmenumessage().

pascal boolean landdisposeverb hdlverbrecord   ) 
 

Definition at line 155 of file land.c.

References landdisposehandle, landsystem7disposeverb(), and nil.

Referenced by landcomplexsend(), landhandleverb(), landnewnetworkverb(), landnewverb(), landsendverb(), landsystem7handleevent(), langipcbuildmessage(), langipctablemessage(), osaDoEvent(), and osaExecuteEvent().

Here is the call graph for this function:

pascal boolean landefaultbreakembrace EventRecord  ) 
 

Definition at line 561 of file land.c.

References keys.

Referenced by landinit(), and langipcbreakembrace().

pascal boolean landenablemenuarray hdlmenuarray  ,
boolean 
 

Definition at line 271 of file landruntime.c.

References i, and landcountmenuarray().

Referenced by landmenuscriptcompleted(), and landrunmenuitem().

Here is the call graph for this function:

pascal boolean landeventfilter EventRecord  ) 
 

Definition at line 1417 of file megastubs.c.

References landgetglobals(), and landsystem7eventfilter().

Here is the call graph for this function:

pascal boolean landgetaliasparam hdlverbrecord  ,
typaramkeyword  ,
AliasHandle
 

pascal boolean landgetappverbs tyapplicationid  ,
hdlverbarray
 

pascal boolean landgetbinaryparam hdlverbrecord  ,
typaramkeyword  ,
Handle
 

pascal boolean landgetbooleanparam hdlverbrecord  ,
typaramkeyword  ,
Boolean
 

pascal boolean landgetcharparam hdlverbrecord  ,
typaramkeyword  ,
char * 
 

pascal boolean landgetdateparam hdlverbrecord  ,
typaramkeyword  ,
tydate
 

pascal boolean landgetdirectionparam hdlverbrecord  ,
typaramkeyword  ,
tydirection
 

pascal boolean landgetdoubleparam hdlverbrecord  ,
typaramkeyword  ,
double * 
 

pascal boolean landgetenumparam hdlverbrecord  ,
typaramkeyword  ,
tyenumerator
 

pascal OSErr landgeterror void   ) 
 

Definition at line 593 of file land.c.

References landgetglobals().

Referenced by getipcaddressvalue(), landsystem7handleevent(), landsystem7send(), langipcbrowsenetwork(), langipccomplexsend(), langipchandleverb(), and langipcmessage().

Here is the call graph for this function:

pascal boolean landgetfixedparam hdlverbrecord  ,
typaramkeyword  ,
Fixed
 

pascal boolean landgetfloatparam hdlverbrecord  ,
typaramkeyword  ,
float * 
 

pascal boolean landgetfsspecparam hdlverbrecord  ,
typaramkeyword  ,
FSSpec
 

pascal hdllandglobals landgetglobals void   ) 
 

Definition at line 120 of file land.c.

References landgetlandglobals.

Referenced by callosafunction(), ccloadspecialfile(), copythreadglobals(), getipcaddressvalue(), ipcOpen(), landacceptanyverb(), landactivatestatswindow(), landaddclass(), landaddverbtoken(), landbitmapupdate(), landbreakembrace(), landbrowsenetworkapps(), landbrowserfilter(), landcancelmenuscript(), landclose(), landclosebitmap(), landclosestatswindow(), landcomplexsend(), landeventfilter(), landgeterror(), landgetmenuarray(), landgetmenuhandles(), landhandleverb(), landinit(), landinitbitmaps(), landinitstatswindow(), landinstallmenuarray(), landisstatswindow(), landmenuneedsupdate(), landmenuscriptcompleted(), landopenbitmap(), landopenstatswindow(), landpopqueue(), landpopqueueitem(), landpushqueue(), landreturnerror(), landrunmenuitem(), landsendverb(), landseterror(), landsetinteractionlevel(), landsetmemstats(), landsetstatsinfo(), landsettimeout(), landsettransactionid(), landsetupnewverb(), landstatswindowisopen(), landstatswindowline(), landsystem6close(), landsystem6init(), landsystem6poll(), landsystem6returnhandle(), landsystem6send(), landsystem6setapplicationid(), landsystem7close(), landsystem7handleevent(), landsystem7init(), landsystem7openapproutine(), landsystem7opendocsroutine(), landsystem7packverb(), landsystem7printdocsroutine(), landsystem7quitapproutine(), landsystem7send(), landsystem7unpackverb(), landsystem7visitdoclist(), landupdatestatswindow(), landwindoweventfilter(), langipcbuildmessage(), langipcsendevent(), langipcstart(), osaclientsend(), osahandleevent(), shellstart(), and swapinthreadglobals().

pascal boolean landgetintparam hdlverbrecord  ,
typaramkeyword  ,
short
 

Definition at line 107 of file landgetparam.c.

References copydatahandle(), tyAEDesc::dataHandle, typaramrecord::desc, disposehandle(), h, inttype, landdisposeparamrecord(), and landgetparam().

Referenced by landsendverb().

Here is the call graph for this function:

pascal boolean landgetkeybinaryparam hdlverbrecord  ,
typaramkeyword  ,
Handle
 

pascal boolean landgetlongparam hdlverbrecord  ,
typaramkeyword  ,
long
 

Definition at line 138 of file landgetparam.c.

References copydatahandle(), tyAEDesc::dataHandle, typaramrecord::desc, disposehandle(), landdisposeparamrecord(), landgetparam(), lockhandle(), longtype, and unlockhandle().

Referenced by langipcfindtraphandler(), and langipchandletrapverb().

Here is the call graph for this function:

pascal boolean landgetmenuarray short  ,
hdlmenuarray
 

Definition at line 153 of file landruntime.c.

References bigstring, binarytype, bserror, fl, getmenuarraytoken, idmenuprogram, idstartingresource, landdisposeparamrecord(), landgetglobals(), landgetmenuhandles(), landgetscriptid(), landnewverb(), landpushintparam(), landpushlongparam(), landsendverb(), nil, and setemptystring.

Here is the call graph for this function:

pascal boolean landgetnthparam hdlverbrecord  ,
short  ,
typaramrecord
 

Definition at line 83 of file landgetparam.c.

References landsystem7geteventrecords(), and landsystem7getnthparam().

Referenced by landsendverb(), and langipccomplexsend().

Here is the call graph for this function:

pascal boolean landgetobjectspecparam hdlverbrecord  ,
typaramkeyword  ,
AEDesc
 

pascal boolean landgetosparam hdlverbrecord  ,
typaramkeyword  ,
OSType
 

pascal boolean landgetparam hdlverbrecord  ,
typaramkeyword  ,
typaramtype  ,
typaramrecord
 

Definition at line 39 of file landgetparam.c.

References fl, landreturnerror(), landseterror(), landsystem7geteventrecords(), landsystem7getparam(), noErr, and nosuchparamerror.

Referenced by landgetintparam(), landgetlongparam(), landgetstringparam(), landgettextparam(), and landsendverb().

Here is the call graph for this function:

pascal boolean landgetpathparam hdlverbrecord  ,
typaramkeyword  ,
Str255 
 

pascal boolean landgetpatternparam hdlverbrecord  ,
typaramkeyword  ,
Pattern
 

pascal boolean landgetpointparam hdlverbrecord  ,
typaramkeyword  ,
Point
 

pascal boolean landgetrectparam hdlverbrecord  ,
typaramkeyword  ,
Rect
 

pascal boolean landgetrgbparam hdlverbrecord  ,
typaramkeyword  ,
RGBColor
 

pascal boolean landgetsingleparam hdlverbrecord  ,
typaramkeyword  ,
float * 
 

pascal boolean landgetstringparam hdlverbrecord  ,
typaramkeyword  ,
Str255 
 

Referenced by landsendverb(), langipcfindtraphandler(), and osahandletrapverb().

pascal boolean landgettextparam hdlverbrecord  ,
typaramkeyword  ,
Handle
 

Definition at line 200 of file landgetparam.c.

References copydatahandle(), tyAEDesc::dataHandle, typaramrecord::desc, landgetparam(), and texttype.

Referenced by langipchandlerunscript().

Here is the call graph for this function:

pascal OSErr landgetverbattr hdlverbrecord  ,
OSType  ,
DescType  ,
AEDesc
 

Definition at line 569 of file landsystem7.c.

References return().

Referenced by langipcgeteventattr(), and langipchandleverb().

Here is the call graph for this function:

pascal boolean landinit void   ) 
 

Definition at line 687 of file land.c.

References gestalt(), idrunning, landaddclass(), landaddverb(), landefaultbreakembrace(), landgetappcreator(), landgetglobals(), landnewclearhandle, landresfile, landresmap, landsetlandglobals, landsystem7init(), landzone, longsizeof, macsystem7, nil, tylandglobals::transport, and userlandclass.

Referenced by langipcstart().

Here is the call graph for this function:

pascal boolean landinstallmenuarray short  ,
hdlmenuarray 
 

Definition at line 65 of file landruntime.c.

References ct, tyruntimemenurecord::flhierarchic, tyruntimemenurecord::flinserted, tyruntimemenurecord::hmenu, i, landcountmenuarray(), and landgetglobals().

Here is the call graph for this function:

pascal boolean landisstatswindow WindowPtr   ) 
 

Definition at line 379 of file landwindow.c.

References landgetglobals(), nil, and statswindow.

Here is the call graph for this function:

pascal boolean landmenuhit short  ,
hdlmenuarray 
 

Definition at line 367 of file landruntime.c.

References ct, i, tyruntimemenurecord::idmenu, landcountmenuarray(), and return().

Here is the call graph for this function:

pascal boolean landmenuneedsupdate void   ) 
 

Definition at line 415 of file landruntime.c.

References landgetglobals().

Here is the call graph for this function:

pascal boolean landnewnetworkverb tynetworkaddress ,
tyverbclass  ,
tyverbtoken  ,
short  ,
hdlverbrecord
 

Definition at line 266 of file land.c.

References idnet, landdisposeverb(), landsetupnewverb(), landsystem7newnetworkverb(), and nil.

Referenced by langipcbuildmessage().

Here is the call graph for this function:

pascal boolean landnewverb tyapplicationid  ,
ProcessSerialNumber ,
tyverbclass  ,
tyverbtoken  ,
short  ,
hdlverbrecord
 

Definition at line 223 of file land.c.

References fl, landdisposeverb(), landsetupnewverb(), landsystem7newverb(), and nil.

Referenced by landgetmenuarray(), landgetmenuhandles(), landrunmenuitem(), landsystem6send(), landsystem6unpackverb(), landsystem7send(), landsystem7unpackverb(), langipcbuildmessage(), langipcrunitem(), and langipcsendmenumessage().

Here is the call graph for this function:

pascal boolean landnextparamisoptional hdlverbrecord   ) 
 

Definition at line 608 of file land.c.

Referenced by landsendverb().

pascal boolean landopenstatswindow void   ) 
 

Definition at line 305 of file landwindow.c.

References bigstring, landcopystring, landdisposehandle, landgetglobals(), landinitbitmaps(), landnewclearhandle, long, longsizeof, nil, and r.

Here is the call graph for this function:

pascal boolean landpushaliasparam hdlverbrecord  ,
AliasHandle  ,
typaramkeyword 
 

pascal boolean landpushbinaryparam hdlverbrecord  ,
Handle  ,
typaramkeyword 
 

pascal boolean landpushbooleanparam hdlverbrecord  ,
Boolean  ,
typaramkeyword 
 

pascal boolean landpushcharparam hdlverbrecord  ,
char  ,
typaramkeyword 
 

pascal boolean landpushdateparam hdlverbrecord  ,
tydate  ,
typaramkeyword 
 

pascal boolean landpushdirectionparam hdlverbrecord  ,
tydirection  ,
typaramkeyword 
 

pascal boolean landpushdoubleparam hdlverbrecord  ,
double *  ,
typaramkeyword 
 

pascal boolean landpushenumparam hdlverbrecord  ,
tyenumerator  ,
typaramkeyword 
 

pascal boolean landpushfixedparam hdlverbrecord  ,
Fixed ,
typaramkeyword 
 

pascal boolean landpushfloatparam hdlverbrecord  ,
float  ,
typaramkeyword 
 

pascal boolean landpushfsspecparam hdlverbrecord  ,
FSSpec ,
typaramkeyword 
 

pascal boolean landpushintparam hdlverbrecord  ,
short  ,
typaramkeyword 
 

Definition at line 61 of file landpush.c.

References inttype, landpushparam(), longsizeof, and nil.

Referenced by landgetmenuarray(), landgetmenuhandles(), landreturnerror(), landrunmenuitem(), and langipcerrorroutine().

Here is the call graph for this function:

pascal boolean landpushkeybinaryparam hdlverbrecord  ,
Handle  ,
typaramkeyword 
 

pascal boolean landpushlongparam hdlverbrecord  ,
long  ,
typaramkeyword 
 

Definition at line 67 of file landpush.c.

References landpushparam(), longsizeof, longtype, and nil.

Referenced by landgetmenuarray(), landgetmenuhandles(), landreturnlong(), and landrunmenuitem().

Here is the call graph for this function:

pascal boolean landpushobjectspecparam hdlverbrecord  ,
AEDesc ,
typaramkeyword 
 

pascal boolean landpushosparam hdlverbrecord  ,
OSType  ,
typaramkeyword 
 

pascal boolean landpushparam hdlverbrecord  ,
typaramtype  ,
Handle  ,
void *  ,
long  ,
typaramkeyword 
 

Definition at line 35 of file landpush.c.

References landsystem7geteventrecords(), landsystem7pushparam(), and returntoken.

Referenced by landpushintparam(), landpushlongparam(), landpushstringparam(), landreturnbinary(), landreturnboolean(), and langipcpushparam().

Here is the call graph for this function:

pascal boolean landpushpathparam hdlverbrecord  ,
Str255  ,
typaramkeyword 
 

pascal boolean landpushpatternparam hdlverbrecord  ,
Pattern ,
typaramkeyword 
 

pascal boolean landpushpointparam hdlverbrecord  ,
Point  ,
typaramkeyword 
 

pascal boolean landpushrectparam hdlverbrecord  ,
Rect ,
typaramkeyword 
 

pascal boolean landpushrgbparam hdlverbrecord  ,
RGBColor ,
typaramkeyword 
 

pascal boolean landpushsingleparam hdlverbrecord  ,
float  ,
typaramkeyword 
 

pascal boolean landpushstringparam hdlverbrecord  ,
Str255  ,
typaramkeyword 
 

Referenced by landreturnerror(), landreturnstring(), langipcerrorroutine(), and langipcfindtraphandler().

pascal boolean landpushtextparam hdlverbrecord  ,
Handle  ,
typaramkeyword 
 

pascal boolean landremovemenuarray hdlmenuarray   ) 
 

Definition at line 212 of file landruntime.c.

References i, and landcountmenuarray().

Here is the call graph for this function:

pascal boolean landreturnalias hdlverbrecord  ,
AliasHandle 
 

pascal boolean landreturnbinary hdlverbrecord  ,
Handle 
 

Definition at line 96 of file landreturn.c.

References binarytype, landpushparam(), landstartreturn(), nil, and returnedvaluekey.

Here is the call graph for this function:

pascal boolean landreturnboolean hdlverbrecord  ,
Boolean 
 

Definition at line 68 of file landreturn.c.

References bitboolean, booleantype, landpushparam(), landstartreturn(), longsizeof, nil, and returnedvaluekey.

Referenced by langipchandleverb().

Here is the call graph for this function:

pascal boolean landreturnchar hdlverbrecord  ,
char 
 

pascal boolean landreturndate hdlverbrecord  ,
tydate 
 

pascal boolean landreturndirection hdlverbrecord  ,
tydirection 
 

pascal boolean landreturndouble hdlverbrecord  ,
double * 
 

pascal boolean landreturnenum hdlverbrecord  ,
tyenumerator 
 

pascal boolean landreturnerror hdlverbrecord  ,
short 
 

Definition at line 104 of file landreturn.c.

References bigstring, errornumberkey, errorstringkey, landgetglobals(), landpushintparam(), landpushstringparam(), landseterror(), landstartreturn(), nohandlererror, nosuchparamerror, outofmemoryerror, undefinedverberror, usercancellederror, and wrongtypeerror.

Referenced by landgetparam(), langipcfileopen(), and langipchandleverb().

Here is the call graph for this function:

pascal boolean landreturnfixed hdlverbrecord  ,
Fixed
 

pascal boolean landreturnfloat hdlverbrecord  ,
float 
 

pascal boolean landreturnfsspec hdlverbrecord  ,
FSSpec
 

pascal boolean landreturnint hdlverbrecord  ,
short 
 

pascal boolean landreturnkeybinaryparam hdlverbrecord  ,
Handle 
 

pascal boolean landreturnlong hdlverbrecord  ,
long 
 

Definition at line 80 of file landreturn.c.

References landpushlongparam(), landstartreturn(), and returnedvaluekey.

Referenced by langipchandleverb().

Here is the call graph for this function:

pascal boolean landreturnobjectspec hdlverbrecord  ,
AEDesc
 

pascal boolean landreturnos hdlverbrecord  ,
OSType 
 

pascal boolean landreturnpath hdlverbrecord  ,
Str255 
 

pascal boolean landreturnpattern hdlverbrecord  ,
Pattern
 

pascal boolean landreturnpoint hdlverbrecord  ,
Point 
 

pascal boolean landreturnrect hdlverbrecord  ,
Rect
 

pascal boolean landreturnrgb hdlverbrecord  ,
RGBColor
 

pascal boolean landreturnsingle hdlverbrecord  ,
float 
 

pascal boolean landreturnstring hdlverbrecord  ,
Str255 
 

pascal boolean landreturntext hdlverbrecord  ,
Handle 
 

pascal boolean landrunmenuitem short  ,
short  ,
hdlmenuarray 
 

Definition at line 302 of file landruntime.c.

References bigstring, bserror, idmenuidvalue, idmenuitemvalue, idmenuprogram, idrunmenuitem, landdisposeparamrecord(), landenablemenuarray(), landgetglobals(), landgetscriptid(), landnewverb(), landpushintparam(), landpushlongparam(), landsendverb(), nil, and setemptystring.

Here is the call graph for this function:

pascal boolean landrunstring Str255  ,
boolean  ,
Str255 
 

pascal boolean landruntext Handle  ,
boolean  ,
Str255 
 

pascal boolean landsendverb hdlverbrecord  ,
typaramrecord ,
Str255  ,
short
 

Referenced by landgetmenuarray(), landgetmenuhandles(), landrunmenuitem(), langipcmenuprocesskilled(), langipcmessage(), and langipcsendmenumessage().

pascal boolean landsetapplicationid tyapplicationid   ) 
 

Definition at line 637 of file land.c.

pascal void landseterror OSErr   ) 
 

Definition at line 581 of file land.c.

References landgetglobals().

Referenced by landbrowsenetworkapps(), landgetparam(), landreturnerror(), landsendverb(), landstring2networkaddress(), landsystem7getnthparam(), landsystem7getparam(), landsystem7pushparam(), landsystem7send(), and langipchandleverb().

Here is the call graph for this function:

pascal boolean landsetinteractionlevel short   ) 
 

Definition at line 469 of file land.c.

References landgetglobals().

Referenced by langipcsetinteractionlevel().

Here is the call graph for this function:

pascal boolean landsettimeout long   ) 
 

Definition at line 449 of file land.c.

References landgetglobals().

Referenced by langipcsettimeout().

Here is the call graph for this function:

pascal boolean landsettransactionid long   ) 
 

Definition at line 459 of file land.c.

References landgetglobals().

Referenced by langipcsettransactionid().

Here is the call graph for this function:

pascal OSErr landsetverbattr hdlverbrecord  ,
OSType  ,
DescType  ,
const void *  attrdata,
long 
 

Definition at line 578 of file landsystem7.c.

References return().

Referenced by langipcbuildmessage().

Here is the call graph for this function:

pascal boolean landstartreturn hdlverbrecord   ) 
 

Definition at line 48 of file landreturn.c.

References returntoken, and tyverbrecord::verbtoken.

Referenced by landreturnbinary(), landreturnboolean(), landreturnerror(), landreturnlong(), landreturnstring(), langipcerrorroutine(), langipcruncode(), and osaDoEvent().

pascal boolean landstring2networkaddress ConstStr255Param  ,
tynetworkaddress
 

Definition at line 430 of file landsystem7.c.

References landseterror().

Referenced by getipcaddressvalue().

Here is the call graph for this function:

pascal OSErr landsystem7callhandler hdlverbrecord  ,
tyeventhandler 
 

pascal OSErr landsystem7defaultcreate AEEventClass  ,
AEEventID  ,
const AEAddressDesc ,
short  ,
long  ,
AppleEvent
 

Referenced by langipcstart(), and newthreadglobals().

pascal OSErr landsystem7defaultsend const AppleEvent ,
AppleEvent ,
AESendMode  ,
AESendPriority  ,
long  ,
AEIdleUPP  ,
AEFilterUPP 
 

Referenced by langipcstart(), and newthreadglobals().

pascal boolean landsystem7installfasthandler tyverbclass  ,
tyverbtoken  ,
tyeventhandler 
 

Definition at line 1759 of file landsystem7.c.

References landsystem7installfasthandlerUPP().

Referenced by langipcinstallfastscript().

Here is the call graph for this function:

pascal boolean landsystem7removefasthandler tyverbclass  ,
tyverbtoken 
 

Definition at line 1812 of file landsystem7.c.

Referenced by langipcremovefastscript(), and removefasthandlers().

pascal OSErr landsystem7resumeevent hdlverbrecord   ) 
 

pascal OSErr landsystem7suspendevent hdlverbrecord   ) 
 

pascal boolean landsystem7unpackverb AppleEvent ,
AppleEvent ,
hdlverbrecord
 

Definition at line 753 of file landsystem7.c.

References idnull, tyverbrecord::idreceiver, keyEventClassAttr, keyEventIDAttr, keyTransactionIDAttr, landgetglobals(), landnewverb(), landsystem7eventisdirect(), landsystem7getlongattr(), nil, noErr, nulltoken, tysys7transportinfo::sys7message, typeLongInteger, and typeType.

Referenced by landsystem7handleevent(), osaDoEvent(), and osaExecuteEvent().

Here is the call graph for this function:

pascal boolean landverbgetsnoreply hdlverbrecord   ) 
 

Definition at line 616 of file land.c.

Referenced by langipcmenuprocesskilled(), langipcmessage(), and langipcsendmenumessage().

pascal boolean landverbinarray tyverbclass  ,
tyverbtoken  ,
hdlverbarray 
 

pascal boolean landvisitsleepingthreads landqueuepopcallback  ,
long 
 

Definition at line 670 of file land.c.

References landpopqueueitem(), sleepingthreadvisit(), and threadvisit.

Referenced by visitprocessthreads(), and wakeprocessthread().

Here is the call graph for this function:


Generated on Fri Jun 2 07:44:18 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6