Name
scpt_get_bag — Returns the environmental "bag" associated with the current callout
Synopsis
#include "modules/scriptlets/ec_scriptlet.h"
| ec_bag * **scpt_get_bag** (
| thr)
; | |
Description
**Configuration Change. ** This feature is available starting from Momentum 3.1.
This function returns the environmental "bag" associated with the current callout.
This function is intended to be called in the context of "thr" while it is executing. It does not add a reference to the bag.
- thr
-
The script thread. For a description of this data type see “scpt_thread”.
This function returns an ec_bag. For a description of this data type see “ec_bag”.
It is legal to call this function in any thread.
See Also
Was this page helpful?