Esa_Text_Input_Callback_Register()
Abstract
Registers a callback to be invoked by the Riverbed Modeler simulation when input is necessary.
Syntax
Esa_Text_Input_Callback_Register (esa_state_ptr, callback, state_ptr)
| Argument | Type | Description |
|---|---|---|
esa_state_ptr |
EsaT_State_Handle |
ESA state information generated by Esa_Init() |
callback |
EsaT_Input_Callback_Proc |
function invoked by simulation kernel if input is necessary |
state_ptr |
void * |
client data passed to the input callback when invoked |
Return Type
EsaT_Compcode
EsaC_Comp_Success if registration successful; EsaC_Comp_Failure otherwise.
Header
esa.h
Details
This function provides a mechanism to request input from a source different from standard input. The callback function prototype is given in EsaT_Input_Callback_Proc.