Input Hook

As described in Output Hook regarding program responses, also program input variables can be processed by the application programmer through the _userproc() application-level function, or hook. The CSA library routines tell _userproc() whether it is being called as an Input Hook or an Output Hook by passing it the flag _O_REQUEST and _O_RESPONSE respectively, so that the function knows what to do. Refer to the $CSA_INSTALL/lib/csa-rpciolib.awk file for an example of a dummy input/output hook.


Trackbacks (1) | New trackback | Print