EsaT_Prompt_Callback_Proc
Abstract
Callback: Called when the Riverbed Modeler simulation needs to prompt for a value.
Syntax
<prompt_callback_proc_name> (buf_size, prompt_ptr, buf_ptr, state_ptr)
| Argument | Type | Description |
|---|---|---|
buf_size |
int * |
area to be filled with the length of the input string in buf_ptr |
prompt_ptr |
const char * |
text for the input prompt |
buf_ptr |
char * |
area to be filled with the input string (512 characters maximum) |
state_ptr |
void * |
client data specified when the callback was registered |
Return Type
int
Return 1 if the input was read successfully; -1 otherwise.
Header
esa.h
Details
This callback function is registered by Esa_Text_Prompt_Callback_Register().