langipc.h File Reference

#include "lang.h"
#include <AppleEvents.h>

Include dependency graph for langipc.h:

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

Go to the source code of this file.

Defines

#define langipcinclude

Typedefs

typedef short tyipcmessageflags

Enumerations

enum  {
  normalmsg = 0, noreplymsg = 0x01, transactionmsg = 0x02, microsoftmsg = 0x04,
  systemmsg = 0x08
}

Functions

boolean langipcerrorroutine (bigstring, ptrvoid)
boolean setdescriptorvalue (AEDesc, tyvaluerecord *)
boolean valuetodescriptor (tyvaluerecord *, AEDesc *)
boolean langipcfindapptable (OSType, boolean, hdlhashtable *, bigstring)
boolean langipcbrowsenetwork (hdltreenode, tyvaluerecord *)
boolean langipcsettimeout (hdltreenode, tyvaluerecord *)
boolean langipcsettransactionid (hdltreenode, tyvaluerecord *)
boolean langipcsetinteractionlevel (hdltreenode, tyvaluerecord *)
boolean langipcgeteventattr (hdltreenode, tyvaluerecord *)
boolean langipccoerceappleitem (hdltreenode, tyvaluerecord *)
boolean langipcapprunning (hdltreenode, tyvaluerecord *)
boolean langipcgetaddressvalue (hdltreenode, tyvaluerecord *)
void binarytodesc (Handle, AEDesc *)
boolean langipcconvertoplist (const tyvaluerecord *, AEDesc *)
boolean langipcconvertaelist (const AEDesc *, tyvaluerecord *)
boolean langipcputlistitem (hdltreenode, tyvaluerecord *)
boolean langipcgetlistitem (hdltreenode, tyvaluerecord *)
boolean langipccountlistitems (hdltreenode, tyvaluerecord *)
boolean newselfaddressedevent (AEEventID id, AppleEvent *event)
boolean langipcmessage (hdltreenode, tyipcmessageflags, tyvaluerecord *)
boolean langipccomplexmessage (hdltreenode, tyvaluerecord *)
boolean langipctablemessage (hdltreenode, tyvaluerecord *)
boolean langipcbuildsubroutineevent (AppleEvent *, bigstring, hdltreenode)
boolean langipchandlercall (hdltreenode, bigstring, hdltreenode, tyvaluerecord *)
boolean langipckernelfunction (hdlhashtable, bigstring, hdltreenode, tyvaluerecord *)
boolean langipcshowmenunode (long)
boolean langipcnoop (void)
boolean langipcstart (void)
void langipcshutdown (void)
boolean langipcinit (void)
boolean langipcgetmenuhandle (OSType, short, Handle *)
boolean langipcrunitem (long, short, short, long *)
boolean langipckillscript (long)
boolean langipcgetmenuarray (long, short, boolean, Handle *)
boolean langipcmenustartup (void)
boolean langipcmenushutdown (void)
boolean langipcsymbolchanged (hdlhashtable, const bigstring, boolean)
boolean langipcsymbolinserted (hdlhashtable, const bigstring)
boolean langipcsymboldeleted (hdlhashtable, const bigstring)
boolean langipcmenuinit (void)

Variables

typrocessid langipcself


Define Documentation

#define langipcinclude
 

Definition at line 28 of file langipc.h.


Typedef Documentation

typedef short tyipcmessageflags
 

Definition at line 45 of file langipc.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
normalmsg 
noreplymsg 
transactionmsg 
microsoftmsg 
systemmsg 

Definition at line 48 of file langipc.h.


Function Documentation

void binarytodesc Handle  ,
AEDesc
 

Definition at line 2171 of file langipc.c.

References copydatahandle(), copyhandle(), tyAEDesc::descriptorType, disposehandle(), newdescwithhandle(), nil, pullfromhandle(), putdeschandle(), and sizeof().

Referenced by coercetolist(), getbinarylistdesc(), getlimitedvaluestring(), langipcputlistitem(), openscriptcomponent(), and valuetodescriptor().

Here is the call graph for this function:

boolean langipcapprunning hdltreenode  ,
tyvaluerecord
 

boolean langipcbrowsenetwork hdltreenode  ,
tyvaluerecord
 

Definition at line 1836 of file langipc.c.

References bigstring, clearbytes(), flnextparamislast, getnetaddress(), getostypevalue(), getstringvalue(), getvarparam(), landbrowsenetworkapps(), landgeterror(), langgetparamcount(), newfilledhandle(), setbinarysymbolval(), setbooleanvalue(), setemptystring, and sizeof().

Referenced by sysfunctionvalue().

Here is the call graph for this function:

boolean langipcbuildsubroutineevent AppleEvent ,
bigstring  ,
hdltreenode 
 

Definition at line 3514 of file langipc.c.

References tyvaluerecord::data, evaluatetree(), fieldop, hnode, key, langgetidentifier(), langgetsymbolval(), tytreenode::link, nil, noErr, tyvaluedata::ostypevalue, ostypevaluetype, stringlength, stringtoostype(), typeChar, typeNull, valuetodescriptor(), and tyvaluerecord::valuetype.

Referenced by langipchandlercall(), langipckernelfunction(), and osabuildsubroutineevent().

Here is the call graph for this function:

boolean langipccoerceappleitem hdltreenode  ,
tyvaluerecord
 

Definition at line 2664 of file langipc.c.

References flnextparamislast, getostypevalue(), getparamvalue(), oserror(), setbooleanvalue(), setdescriptorvalue(), and valuetodescriptor().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipccomplexmessage hdltreenode  ,
tyvaluerecord
 

Definition at line 3338 of file langipc.c.

References langipcbuildmessage(), langipccomplexsend(), langipcggettableparam(), and normalmsg.

Referenced by builtinvalue().

Here is the call graph for this function:

boolean langipcconvertaelist const AEDesc ,
tyvaluerecord
 

Definition at line 2114 of file langipc.c.

References bigstring, disposevaluerecord(), error, key, langpushlistval(), nil, opnewlist(), oserror(), ostypetostring(), setdescriptorvalue(), typeAERecord, and typeWildCard.

Referenced by coercetolist(), equaldescriptors(), hashunpacktable(), and langipccoerceparam().

Here is the call graph for this function:

boolean langipcconvertoplist const tyvaluerecord ,
AEDesc
 

Definition at line 2061 of file langipc.c.

References bigstring, error, key, langgetlistitem(), langgetlistsize(), nil, oserror(), stringtoostype(), and valuetodescriptor().

Referenced by getbinarylistdesc(), langipcpushparam(), valtoobjspec(), and valuetodescriptor().

Here is the call graph for this function:

boolean langipccountlistitems hdltreenode  ,
tyvaluerecord
 

Definition at line 2533 of file langipc.c.

References bigstring, flnextparamislast, getbinarylistdesc(), getvarvalue(), hnode, oserror(), and setlongvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcerrorroutine bigstring  ,
ptrvoid 
 

Definition at line 141 of file langipc.c.

References currentprocess, errornumberkey, errorstringkey, hipcverb, idscriptcompleted, landpushintparam(), landpushstringparam(), landstartreturn(), and nil.

Referenced by langipchookerrors(), langipcruncode(), and langipcrunitem().

Here is the call graph for this function:

boolean langipcfindapptable OSType  ,
boolean  ,
hdlhashtable ,
bigstring 
 

Definition at line 3031 of file langipc.c.

References appvisitinfo::apptablefound, apptablevisit(), appvisitinfo::fluseappinfoname, hashinversesearch(), iacgluetable, appvisitinfo::idlookfor, isemptystring, nil, and setemptystring.

Referenced by handlerecordableevent(), and langipcerrormessage().

Here is the call graph for this function:

boolean langipcgetaddressvalue hdltreenode  ,
tyvaluerecord
 

Definition at line 2037 of file langipc.c.

References setbooleanvalue().

Here is the call graph for this function:

boolean langipcgeteventattr hdltreenode  ,
tyvaluerecord
 

Definition at line 2626 of file langipc.c.

References bsfunctionname, currentprocess, error, flnextparamislast, getostypevalue(), landgetverbattr(), langparamerror(), nil, oserror(), setbooleanvalue(), setdescriptorvalue(), trapnotrunningerror, and typeWildCard.

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcgetlistitem hdltreenode  ,
tyvaluerecord
 

Definition at line 2445 of file langipc.c.

References bigstring, binaryrequirederror, coercetoostype(), exemptfromtmpstack(), flnextparamislast, getbinarylistdesc(), getbinaryparam(), getlistpositionvalue(), getvarparam(), isemptystring, key, langerror(), langsetsymboltableval(), oserror(), ostypevaluetype, setbooleanvalue(), setdescriptorvalue(), stringvaluetype, typeWildCard, and tyvaluerecord::valuetype.

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcgetmenuarray long  ,
short  ,
boolean  ,
Handle
 

Definition at line 573 of file langipcmenus.c.

References buildmenuarray(), buildmenubarstack(), disposemenubarstack(), fl, fldisableyield, flshuttingmenusdown, getappmenurecord(), tymenulistrecord::hstack, langipcfindmenubarstack(), and pushmenulist().

Referenced by GetSharedMenus().

Here is the call graph for this function:

boolean langipcgetmenuhandle OSType  ,
short  ,
Handle
 

Definition at line 109 of file langipcmenus.c.

References copyhandle(), tymenulistrecord::hstack, and langipcfindmenubarstack().

Here is the call graph for this function:

boolean langipchandlercall hdltreenode  ,
bigstring  ,
hdltreenode  ,
tyvaluerecord
 

Definition at line 3605 of file langipc.c.

References bigstring, bracketop, identifierop, iscurrentapplication(), langerrormessage(), langipcbuildsubroutineevent(), langipcgeterrorstring(), langipcnewevent(), langipcself, langipcsendevent(), nil, noErr, oserror(), setbooleanvalue(), setdescriptorvalue(), typeNull, and typeWildCard.

Referenced by langhandlercall().

Here is the call graph for this function:

boolean langipcinit void   ) 
 

Definition at line 4702 of file langipc.c.

Referenced by shellinit().

boolean langipckernelfunction hdlhashtable  ,
bigstring  ,
hdltreenode  ,
tyvaluerecord
 

Definition at line 3757 of file langipc.c.

References bigstring, currenthashtable, keycurrenttable, keykerneltable, langerrormessage(), langipcbuildsubroutineevent(), langipcgeterrorstring(), langipcsendevent(), newselfaddressedevent(), nil, noErr, oserror(), setdescriptorvalue(), setnilvalue(), typeLongInteger, typeNull, and typeWildCard.

Referenced by kernelfunctionvalue().

Here is the call graph for this function:

boolean langipckillscript long   ) 
 

boolean langipcmenuinit void   ) 
 

Definition at line 817 of file langipcmenus.c.

References langipcmenubarchanged(), menubarcallbacks, and tymenubarcallbacks::menubarchangedroutine.

Referenced by langipcstart().

Here is the call graph for this function:

boolean langipcmenushutdown void   ) 
 

Definition at line 746 of file langipcmenus.c.

Referenced by ccdisposerecord().

boolean langipcmenustartup void   ) 
 

Definition at line 728 of file langipcmenus.c.

Referenced by ccinstalltablestructure().

boolean langipcmessage hdltreenode  ,
tyipcmessageflags  ,
tyvaluerecord
 

Definition at line 3124 of file langipc.c.

References appnotloadederror, bigstring, bserror, typaramrecord::desc, tyAEDesc::descriptorType, ipcappleerror, ipcerror, isemptystring, landgeterror(), landsendverb(), landverbgetsnoreply(), langipcbuildmessage(), langipccoerceparam(), langipcerrormessage(), nil, noreplymsg, oserror(), setbooleanvalue(), and usercancellederror.

Referenced by builtinvalue(), and langfunctionvalue().

Here is the call graph for this function:

boolean langipcnoop void   ) 
 

Definition at line 4062 of file langipc.c.

References langipcsendevent(), newselfaddressedevent(), and noop.

Referenced by osapartialeventloop().

Here is the call graph for this function:

boolean langipcputlistitem hdltreenode  ,
tyvaluerecord
 

Definition at line 2332 of file langipc.c.

References bigstring, binaryrequirederror, binarytodesc(), tyvaluedata::binaryvalue, coercetoostype(), copydatahandle(), tyvaluerecord::data, tyAEDesc::dataHandle, tyAEDesc::descriptorType, flnextparamislast, getbinarylistdesc(), getbinaryparam(), getlistpositionvalue(), getvarparam(), hashtablelookup(), hnode, isemptystring, langerror(), nil, oserror(), ostypevaluetype, setbinarysymbolval(), setbooleanvalue(), stringvaluetype, and tyvaluerecord::valuetype.

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcrunitem long  ,
short  ,
short  ,
long
 

Definition at line 467 of file langipcmenus.c.

References addprocess(), fl, hnode, tymenulistrecord::hstack, idscriptcompleted, landnewverb(), langipcerrorroutine(), langipcfindmenubarstack(), langipcmenuprocesskilled(), langipcmenuprocessstarted(), long, memenuhit(), meshownode(), meuserselected(), newlyaddedprocess, nil, optionkeydown(), popmenubarglobals(), processkill(), typrocessrecord::processrefcon, pushmenubarglobals(), and shellactivate().

Here is the call graph for this function:

boolean langipcsetinteractionlevel hdltreenode  ,
tyvaluerecord
 

Definition at line 2607 of file langipc.c.

References flnextparamislast, getintvalue(), landsetinteractionlevel(), and setbooleanvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcsettimeout hdltreenode  ,
tyvaluerecord
 

Definition at line 2569 of file langipc.c.

References flnextparamislast, getlongvalue(), landsettimeout(), and setbooleanvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcsettransactionid hdltreenode  ,
tyvaluerecord
 

Definition at line 2588 of file langipc.c.

References flnextparamislast, getlongvalue(), landsettransactionid(), and setbooleanvalue().

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean langipcshowmenunode long   ) 
 

Definition at line 4033 of file langipc.c.

References langipcsendevent(), newselfaddressedevent(), noErr, oserror(), outlinedata, and typeLongInteger.

Referenced by langipcgetitemlangtext().

Here is the call graph for this function:

void langipcshutdown void   ) 
 

Definition at line 4658 of file langipc.c.

Referenced by shellshutdown().

boolean langipcstart void   ) 
 

Definition at line 4559 of file langipc.c.

References error, handleopen(), handleopenapp(), handlequit(), IACinstallhandler(), kAEOpenApplication, kAEOpenDocuments, kAEQuitApplication, kCoreEventClass, and langipcself.

Referenced by shellinit().

Here is the call graph for this function:

boolean langipcsymbolchanged hdlhashtable  ,
const   bigstring,
boolean 
 

Definition at line 789 of file langipcmenus.c.

Referenced by ccsymbolchanged(), langipcsymboldeleted(), and langipcsymbolinserted().

boolean langipcsymboldeleted hdlhashtable  ,
const   bigstring
 

Definition at line 811 of file langipcmenus.c.

Referenced by ccsymboldeleted().

boolean langipcsymbolinserted hdlhashtable  ,
const   bigstring
 

Definition at line 805 of file langipcmenus.c.

Referenced by ccsymbolinserted().

boolean langipctablemessage hdltreenode  ,
tyvaluerecord
 

Definition at line 3355 of file langipc.c.

References landdisposeverb(), langipcbuildmessage(), langipccomplexsend(), langipcgetparamvisit(), langipcggettableparam(), normalmsg, and tablesortedinversesearch().

Referenced by builtinvalue().

Here is the call graph for this function:

boolean newselfaddressedevent AEEventID  id,
AppleEvent event
 

Definition at line 3457 of file langipc.c.

References iscurrentapplication(), langipcnewevent(), and langipcself.

Referenced by langipckernelfunction(), langipcnoop(), and langipcshowmenunode().

Here is the call graph for this function:

boolean setdescriptorvalue AEDesc  ,
tyvaluerecord
 

Definition at line 649 of file langipc.c.

References langipccoerceparam().

Referenced by coerceInsltoTEXT(), evaluateosascript(), getlimitedvaluestring(), getnthlistval(), getverbresult(), langipccoerceappleitem(), langipcconvertaelist(), langipcgeteventattr(), langipcgetlistitem(), langipchandlercall(), langipckernelfunction(), listarrayvalue(), listtostring(), objspectofilespec(), objtostring(), osaCoerceFromDesc(), and pusheventparameter().

Here is the call graph for this function:

boolean valuetodescriptor tyvaluerecord ,
AEDesc
 

Definition at line 667 of file langipc.c.

References addressvaluetype, bigstring, binarytodesc(), coercetobinary(), disposevaluerecord(), exemptfromtmpstack(), fl, getaddresspath(), langgettypeid(), langipcconvertoplist(), newdescnull(), nil, novaluetype, oserror(), setnilvalue(), stringlength, and typeNull.

Referenced by coercelistcontents(), evaluatecomparison(), evaluatefield(), langipcbuildsubroutineevent(), langipccoerceappleitem(), langipcconvertoplist(), listassignvalue(), makelistvalue(), osaDebug(), setobjspecverb(), and storagevaltodesc().

Here is the call graph for this function:


Variable Documentation

typrocessid langipcself
 

Definition at line 123 of file langipc.c.

Referenced by getmenutobuild(), handleshowmenunode(), InitializeInstance(), langipchandlercall(), langipcstart(), newselfaddressedevent(), and shellshorteventloop().


Generated on Sun Jun 4 07:33:19 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6