land.c File Reference

#include "frontier.h"
#include "standard.h"
#include "landinternal.h"
#include "ops.h"
#include "process.h"

Include dependency graph for land.c:

Go to the source code of this file.

Data Structures

struct  tytransportinfo

Defines

#define landsetlandglobals(x)   (hlandglobals = x)
#define landgetlandglobals()   (hlandglobals)

Typedefs

typedef tytransportinfoptrtransportinfo
typedef tytransportinfo ** hdltransportinfo

Functions

pascal boolean landpushfastcontext (tyfastverbcontext *savecontext)
pascal void landpopfastcontext (const tyfastverbcontext *savecontext)
pascal hdllandglobals landgetglobals (void)
pascal boolean landdisposeparamrecord (const typaramrecord *p)
pascal boolean landdisposeverb (hdlverbrecord hverb)
static boolean landsetupnewverb (tyapplicationid idreceiver, tyverbclass class, tyverbtoken token, short ctparams, hdlverbrecord *hverb)
pascal boolean landnewverb (tyapplicationid idreceiver, ProcessSerialNumber *psn, tyverbclass class, tyverbtoken token, short ctparams, hdlverbrecord *hverb)
pascal boolean landnewnetworkverb (tynetworkaddress *adr, tyverbclass class, tyverbtoken token, short ctparams, hdlverbrecord *hverb)
pascal boolean landcomplexsend (hdlverbrecord hverb, hdlverbrecord *hresult)
pascal boolean landsendverb (hdlverbrecord hverb, typaramrecord *result, bigstring bserror, short *iderror)
boolean landhandleverb (hdlverbrecord hverb)
pascal boolean landsettimeout (long ticks)
pascal boolean landsettransactionid (long id)
pascal boolean landsetinteractionlevel (short level)
pascal boolean landeventfilter (EventRecord *ev)
pascal boolean landclose (void)
pascal boolean landefaultbreakembrace (EventRecord *ev)
pascal void landseterror (OSErr errorcode)
pascal OSErr landgeterror (void)
pascal boolean landnextparamisoptional (hdlverbrecord hverb)
pascal boolean landverbgetsnoreply (hdlverbrecord hverb)
pascal boolean landacceptanyverb (boolean flacceptanyverb)
pascal boolean landsetapplicationid (tyapplicationid tynewid)
static pascal boolean sleepingthreadvisit (Handle htinfo, long refcon)
pascal boolean landvisitsleepingthreads (landqueuepopcallback visitroutine, long refcon)
pascal boolean landinit (void)

Variables

static hdllandglobals hlandglobals = nil
static THz landzone
static Handle landresmap
static short landresfile
static landqueuepopcallback threadvisit


Define Documentation

#define landgetlandglobals void   )     (hlandglobals)
 

Definition at line 48 of file land.c.

Referenced by landgetglobals().

#define landsetlandglobals  )     (hlandglobals = x)
 

Definition at line 47 of file land.c.

Referenced by landinit().


Typedef Documentation

typedef struct tytransportinfo ** hdltransportinfo
 

typedef struct tytransportinfo * ptrtransportinfo
 


Function Documentation

pascal boolean landacceptanyverb boolean  flacceptanyverb  ) 
 

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 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 landcomplexsend hdlverbrecord  hverb,
hdlverbrecord hresult
 

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 landdisposeparamrecord const typaramrecord p  ) 
 

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  hverb  ) 
 

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 ev  ) 
 

Definition at line 561 of file land.c.

References keys.

Referenced by landinit(), and langipcbreakembrace().

pascal boolean landeventfilter EventRecord ev  ) 
 

Definition at line 492 of file land.c.

References landgetglobals(), and landsystem7eventfilter().

Here is the call graph for this function:

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 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().

boolean landhandleverb hdlverbrecord  hverb  ) 
 

Definition at line 421 of file land.c.

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

Referenced by eventthreadmain(), landsystem6eventfilter(), and landsystem7handleevent().

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 landnewnetworkverb tynetworkaddress adr,
tyverbclass  class,
tyverbtoken  token,
short  ctparams,
hdlverbrecord hverb
 

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  idreceiver,
ProcessSerialNumber psn,
tyverbclass  class,
tyverbtoken  token,
short  ctparams,
hdlverbrecord hverb
 

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  hverb  ) 
 

Definition at line 608 of file land.c.

Referenced by landsendverb().

pascal void landpopfastcontext const tyfastverbcontext savecontext  ) 
 

Definition at line 103 of file land.c.

Referenced by landsystem7handleevent(), langipcfastgetobject(), langipcfastsetobject(), and langipchandlefastscript().

pascal boolean landpushfastcontext tyfastverbcontext savecontext  ) 
 

Definition at line 69 of file land.c.

References landresfile, landresmap, landzone, and tyfastverbcontext::savezone.

Referenced by landsystem7handleevent(), langipcfastgetobject(), langipcfastsetobject(), and langipchandlefastscript().

pascal boolean landsendverb hdlverbrecord  hverb,
typaramrecord result,
bigstring  bserror,
short iderror
 

landsetstatsinfo (hverb, false);

Definition at line 323 of file land.c.

References errornumberkey, errorstringkey, fl, landclearbytes, landcomplexsend(), landdisposeverb(), landgetglobals(), landgetintparam(), landgetnthparam(), landgetparam(), landgetstringparam(), landnextparamisoptional(), landseterror(), longsizeof, noErr, notype, returnedvaluekey, setemptystring, and usercancellederror.

Here is the call graph for this function:

pascal boolean landsetapplicationid tyapplicationid  tynewid  ) 
 

Definition at line 637 of file land.c.

pascal void landseterror OSErr  errorcode  ) 
 

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  level  ) 
 

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  ticks  ) 
 

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  id  ) 
 

Definition at line 459 of file land.c.

References landgetglobals().

Referenced by langipcsettransactionid().

Here is the call graph for this function:

static boolean landsetupnewverb tyapplicationid  idreceiver,
tyverbclass  class,
tyverbtoken  token,
short  ctparams,
hdlverbrecord hverb
[static]
 

Definition at line 185 of file land.c.

References tyverbrecord::idsender, landgetglobals(), landnewclearhandle, and longsizeof.

Referenced by landnewnetworkverb(), and landnewverb().

Here is the call graph for this function:

pascal boolean landverbgetsnoreply hdlverbrecord  hverb  ) 
 

Definition at line 616 of file land.c.

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

pascal boolean landvisitsleepingthreads landqueuepopcallback  visitroutine,
long  refcon
 

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:

static pascal boolean sleepingthreadvisit Handle  htinfo,
long  refcon
[static]
 

Definition at line 655 of file land.c.

References processwake(), and threadvisit.

Referenced by landvisitsleepingthreads().

Here is the call graph for this function:


Variable Documentation

hdllandglobals hlandglobals = nil [static]
 

Definition at line 45 of file land.c.

short landresfile [static]
 

Definition at line 65 of file land.c.

Referenced by landinit(), and landpushfastcontext().

Handle landresmap [static]
 

Definition at line 62 of file land.c.

Referenced by landinit(), and landpushfastcontext().

THz landzone [static]
 

Definition at line 59 of file land.c.

Referenced by landinit(), and landpushfastcontext().

landqueuepopcallback threadvisit [static]
 

Definition at line 653 of file land.c.

Referenced by landvisitsleepingthreads(), and sleepingthreadvisit().


Generated on Fri Jun 2 07:35:43 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6