Esa_Text_Input()
Abstract
Requests an input operation from the Riverbed Modeler simulation.
Syntax
Esa_Text_Input (esa_state_ptr, buffer, buffer_size_ptr)
| Argument | Type | Description |
|---|---|---|
esa_state_ptr |
EsaT_State_Handle |
ESA state information generated by Esa_Init() |
buffer |
char * |
input buffer to be filled in |
buffer_size_ptr |
int * |
size of buffer content |
Return Type
EsaT_Compcode
EsaC_Comp_Success input successful; EsaC_Comp_Failure otherwise.
Header
esa.h
Details
If a callback was registered with Esa_Text_Input_Callback_Register(), this function invokes it to get the input. Otherwise, stdin is used.