|
AP_SESSION_API void | AP_SESSION_AddSession (AP_SESSION_Interface *smi, const char *transportName, const char *sessionName, const char *channelName, const char *description) |
|
AP_SESSION_API void | AP_SESSION_AddSessionParams (AP_SESSION_Interface *smi, const char *sessionName, const char *paramName, const char *type, const char *defaultValue, const char *const allowValues[], size_t allowsize, const char *description, AP_bool required, AP_bool referenceOnly) |
|
Session and Parameter addition API
◆ AP_SESSION_AddSession()
AP_SESSION_API void AP_SESSION_AddSession |
( |
AP_SESSION_Interface * |
smi, |
|
|
const char * |
transportName, |
|
|
const char * |
sessionName, |
|
|
const char * |
channelName, |
|
|
const char * |
description |
|
) |
| |
◆ AP_SESSION_AddSessionParams()
AP_SESSION_API void AP_SESSION_AddSessionParams |
( |
AP_SESSION_Interface * |
smi, |
|
|
const char * |
sessionName, |
|
|
const char * |
paramName, |
|
|
const char * |
type, |
|
|
const char * |
defaultValue, |
|
|
const char *const |
allowValues[], |
|
|
size_t |
allowsize, |
|
|
const char * |
description, |
|
|
AP_bool |
required, |
|
|
AP_bool |
referenceOnly |
|
) |
| |
Add control parameters for a session.
- Parameters
-
smi | The AP_SESSION_Interface to use. |
sessionName | The name of the session this parameter is for. |
paramName | The name of the parameter to add. |
type | The type of this parameter (i.e. "float", "string"). |
defaultValue | The default value for this parameter. |
allowValues | An array of allowed values for this parameter. |
allowsize | The size of the allowValues array. |
description | The description of the parameter to be added. |
required | 'true' if this parameter is required, else 'false'. |
referenceOnly | 'true' if this parameter is for reference only, else 'false'. |
- See also
- AP_SESSION_AddSession
-
AP_SESSION_RegisterSession
-
AP_SESSION_RegisterSessions