![]() |
HTMLGUI
2.13.5-1
|
Typedefs | |
| typedef bool(* | ScriptProcessor) (void *data, const std::string &script, std::map< std::string, std::string > &value, std::string &out, std::string &err, std::string &exitcode) |
| typedef bool(* | ScriptProcessorExt) (void *data, const std::string &script, std::map< std::string, std::string > &value, std::string &out, std::string &err, std::string &exitcode, ExtContext *context) |
Functions | |
| void | htmlSetScriptProcessor (const char *name, ScriptProcessor proc, void *data) |
| void | htmlSetScriptProcessor (const char *name, ScriptProcessorExt proc, void *data=0) |
| typedef bool(* ScriptProcessor) (void *data, const std::string &script, std::map< std::string, std::string > &value, std::string &out, std::string &err, std::string &exitcode) |
script processor callback
| [in] | data | transparent callback data pointer |
| [in] | script | script to be processed, leading and trailing whitespace has been removed. |
| [in] | value | name value pairs that are used as initial value of input fields, checkboxes, etc. and that are used during script processing. |
| [out] | out | resulting HTML code that was generated by the script. On invocation it is empty. |
| [out] | err | error messages that were generated during script execution (comparable to output to stderr). On invocation it is empty. |
| [out] | exitcode | content of parameter that was passed to exit() |
| typedef bool(* ScriptProcessorExt) (void *data, const std::string &script, std::map< std::string, std::string > &value, std::string &out, std::string &err, std::string &exitcode, ExtContext *context) |
script processor callback for ADK-GUIPRT internal processors with extended capabilities
| [in] | data | transparent callback data pointer |
| [in] | script | script to be processed, leading and trailing whitespace has been removed. |
| [in] | value | name value pairs that are used as initial value of input fields, checkboxes, etc. and that are used during script processing. |
| [out] | out | resulting HTML code that was generated by the script. On invocation it is empty. |
| [out] | err | error messages that were generated during script execution (comparable to output to stderr). On invocation it is empty. |
| [out] | exitcode | content of parameter that was passed to exit() |
| [in,out] | context | internal extended context |
| void vfihtml::htmlSetScriptProcessor | ( | const char * | name, |
| ScriptProcessor | proc, | ||
| void * | data | ||
| ) |
set script processor
| [in] | name | name of the scripting processor, i.e. the name immediately following '<?' |
| [in] | proc | processing function pointer, use NULL to delete a script processor. |
| [in] | data | callback data passed on as first parameter to the processing function |
| void vfihtml::htmlSetScriptProcessor | ( | const char * | name, |
| ScriptProcessorExt | proc, | ||
| void * | data = 0 |
||
| ) |
set script processor
| [in] | name | name of the scripting processor, i.e. the name immediately following '<?' |
| [in] | proc | processing function pointer, use NULL to delete a script processor. |
| [in] | data | unused, provided just for compatibility |