#include <stdio.h>
#include <Traps.h>

/*Installing Patch Addresses Into the Trap Dispatch Tables
pascal void NSetTrapAddress
			(long trapAddr, short trapNum,
			 TrapType tTyp);
pascal void SetOSTrapAddress
			(long trapAddr, short trapNum);
/SetToolboxTrapAddress is also spelled as SetToolTrapAddress/
pascal void SetToolboxTrapAddress
			(long trapAddr, short trapNum);
pascal void SetToolTrapAddress
			(long trapAddr, short trapNum);*/
pascal void NSetTrapAddress
			(long trapAddr, short trapNum,
			 TrapType tTyp){
printf ("NSetTrapAddress",trapAddr,trapNum,tTyp);
};
pascal void SetToolTrapAddress
			(long trapAddr, short trapNum){
printf ("SetToolTrapAddress",trapAddr,trapNum);
};


/*Accessing Addresses From the Trap Dispatch Tables
pascal long NGetTrapAddress
				(short trapNum, TrapType tTyp);
pascal long GetOSTrapAddress
				(short trapNum);
/GetToolboxTrapAddress is also spelled as GetToolTrapAddress/
pascal long GetToolboxTrapAddress
				(short trapNum);*/
pascal long NGetTrapAddress
				(short trapNum, TrapType tTyp){
printf ("NGetTrapAddress",trapNum,tTyp);
};
pascal long GetOSTrapAddress
				(short trapNum){
printf ("GetOSTrapAddress",trapNum);
};
pascal long GetToolboxTrapAddress
				(short trapNum){
printf ("GetToolboxTrapAddress",trapNum);
};


