shellhooks.h File Reference

#include "process.h"

Include dependency graph for shellhooks.h:

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

Go to the source code of this file.

Defines

#define maxerrorhooks   5

Typedefs

typedef boolean(* menuhookcallback )(short, short)
typedef boolean(* eventhookcallback )(EventRecord *, WindowPtr)
typedef boolean(* errorhookcallback )(bigstring)
typedef boolean(* scraphookcallback )(Handle)
typedef boolean(* memoryhookcallback )(long *)
typedef boolean(* wakeuphookcallback )(struct tythreadglobals **)

Functions

boolean shellpushkeyboardhook (callback)
boolean shellcallkeyboardhooks (void)
boolean shellpushdirtyhook (callback)
boolean shellcalldirtyhooks (void)
boolean shellpushmenuhook (menuhookcallback)
boolean shellcallmenuhooks (short, short)
boolean shellpusheventhook (eventhookcallback)
boolean shellpopeventhook (void)
boolean shellcalleventhooks (EventRecord *, WindowPtr)
boolean shellpusherrorhook (errorhookcallback)
boolean shellpoperrorhook (void)
boolean shellcallerrorhooks (bigstring)
boolean shellpushscraphook (scraphookcallback)
boolean shellcallscraphooks (Handle)
boolean shellpushmemoryhook (memoryhookcallback)
boolean shellcallmemoryhooks (long *)
boolean shellpushfilehook (callback)
boolean shellcallfilehooks (void)
boolean shellpushwakeuphook (wakeuphookcallback)
boolean shellcallwakeuphooks (hdlprocessthread)

Variables

short cterrorhooks
errorhookcallback errorhooks [maxerrorhooks]


Define Documentation

#define maxerrorhooks   5
 

Definition at line 53 of file shellhooks.h.

Referenced by copythreadglobals(), shellpusherrorhook(), and swapinthreadglobals().


Typedef Documentation

typedef boolean(* errorhookcallback)(bigstring)
 

Definition at line 42 of file shellhooks.h.

typedef boolean(* eventhookcallback)(EventRecord *, WindowPtr)
 

Definition at line 40 of file shellhooks.h.

typedef boolean(* memoryhookcallback)(long *)
 

Definition at line 46 of file shellhooks.h.

typedef boolean(* menuhookcallback)(short, short)
 

Definition at line 38 of file shellhooks.h.

typedef boolean(* scraphookcallback)(Handle)
 

Definition at line 44 of file shellhooks.h.

typedef boolean(* wakeuphookcallback)(struct tythreadglobals **)
 

Definition at line 48 of file shellhooks.h.


Function Documentation

boolean shellcalldirtyhooks void   ) 
 

Definition at line 112 of file shellhooks.c.

References ctdirtyhooks, dirtyhooks, and i.

Referenced by windowsetchanges().

boolean shellcallerrorhooks bigstring   ) 
 

Definition at line 284 of file shellhooks.c.

References cterrorhooks, errorhooks, and i.

Referenced by shellerrormessage().

boolean shellcalleventhooks EventRecord ,
WindowPtr 
 

Definition at line 224 of file shellhooks.c.

References cteventhooks, eventhooks, and i.

Referenced by shellhandleevent(), shellhandlekeystroke(), and shellhandlemouse().

boolean shellcallfilehooks void   ) 
 

Definition at line 441 of file shellhooks.c.

References ctfilehooks, filehooks, and i.

Referenced by shellclose(), shellopenfile(), and shellrevert().

boolean shellcallkeyboardhooks void   ) 
 

Definition at line 59 of file shellhooks.c.

References ctkeyboardhooks, i, and keyboardhooks.

Referenced by shellhandlekeystroke().

boolean shellcallmemoryhooks long  ) 
 

Definition at line 389 of file shellhooks.c.

References ctmemoryhooks, i, and memoryhooks.

Referenced by langfunctionvalue(), and memoryerror().

boolean shellcallmenuhooks short  ,
short 
 

Definition at line 163 of file shellhooks.c.

References ctmenuhooks, i, and menuhooks.

Referenced by shellhandlemenu().

boolean shellcallscraphooks Handle   ) 
 

Definition at line 337 of file shellhooks.c.

References ctscraphooks, i, and scraphooks.

Referenced by shellreadscrap().

boolean shellcallwakeuphooks hdlprocessthread   ) 
 

Definition at line 487 of file shellhooks.c.

References ctwakeuphooks, i, and wakeuphooks.

Referenced by wakeprocessthread().

boolean shellpoperrorhook void   ) 
 

Definition at line 274 of file shellhooks.c.

References assert, and cterrorhooks.

Referenced by callosafunction(), coercionpossible(), langipcunhookerrors(), langipcunhookfasterrors(), langunhookerrors(), and tablegetcellstring().

boolean shellpopeventhook void   ) 
 

Definition at line 214 of file shellhooks.c.

References assert, and cteventhooks.

Referenced by langdialogitemhit().

boolean shellpushdirtyhook callback   ) 
 

Definition at line 97 of file shellhooks.c.

References ctdirtyhooks, dirtyhooks, idtoomanydirtyhooks, maxdirtyhooks, shellinternalerror, and STR_increase_maxdirtyhooks.

Referenced by langerrorstart(), and scriptstart().

boolean shellpusherrorhook errorhookcallback   ) 
 

Definition at line 260 of file shellhooks.c.

References cterrorhooks, errorhooks, idtoomanyerrorhooks, maxerrorhooks, shellinternalerror, and STR_increase_maxerrorhooks.

Referenced by callosafunction(), coercionpossible(), langhookerrors(), langipchookerrors(), langipchookfasterrors(), and tablegetcellstring().

boolean shellpusheventhook eventhookcallback   ) 
 

Definition at line 199 of file shellhooks.c.

References cteventhooks, eventhooks, idtoomanyeventhooks, maxeventhooks, shellinternalerror, and STR_increase_maxeventhooks.

Referenced by langdialogitemhit(), and langipcinit().

boolean shellpushfilehook callback   ) 
 

Definition at line 426 of file shellhooks.c.

References ctfilehooks, filehooks, idtoomanyfilehooks, maxfilehooks, shellinternalerror, and STR_increase_maxfilehooks.

Referenced by initosacomponent().

boolean shellpushkeyboardhook callback   ) 
 

Definition at line 44 of file shellhooks.c.

References ctkeyboardhooks, idtoomanykeyboardhooks, keyboardhooks, maxkeyboardhooks, shellinternalerror, and STR_increase_maxkeyboardhooks.

Referenced by initprocess().

boolean shellpushmemoryhook memoryhookcallback   ) 
 

Definition at line 374 of file shellhooks.c.

References ctmemoryhooks, idtoomanymemoryhooks, maxmemoryhooks, memoryhooks, shellinternalerror, and STR_increase_maxmemoryhooks.

Referenced by initbitmaps(), initlang(), and initmemory().

boolean shellpushmenuhook menuhookcallback   ) 
 

Definition at line 148 of file shellhooks.c.

References ctmenuhooks, idtoomanymenuhooks, maxmenuhooks, menuhooks, shellinternalerror, and STR_increase_maxmenuhooks.

Referenced by ccstart(), and opstart().

boolean shellpushscraphook scraphookcallback   ) 
 

Definition at line 322 of file shellhooks.c.

References ctscraphooks, idtoomanyscraphooks, maxscraphooks, scraphooks, shellinternalerror, and STR_increase_maxscraphooks.

Referenced by menustart(), opstart(), scriptstart(), tablestart(), and wpstart().

boolean shellpushwakeuphook wakeuphookcallback   ) 
 

Definition at line 472 of file shellhooks.c.

References ctwakeuphooks, idtoomanyfilehooks, maxwakeuphooks, shellinternalerror, STR_increase_maxfilehooks, and wakeuphooks.

Referenced by fwsNetEventLaunch().


Variable Documentation

short cterrorhooks
 

Definition at line 255 of file shellhooks.c.

Referenced by copythreadglobals(), shellcallerrorhooks(), shellpoperrorhook(), shellpusherrorhook(), and swapinthreadglobals().

errorhookcallback errorhooks[maxerrorhooks]
 

Definition at line 257 of file shellhooks.c.

Referenced by copythreadglobals(), shellcallerrorhooks(), shellpusherrorhook(), and swapinthreadglobals().


Generated on Tue Jun 13 02:07:28 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6