Order-related functions.
More...
Order-related functions.
◆ dxf_add_order_source()
Add a new source to subscription.
- Warning
- You must configure order source before dxf_add_symbols/dxf_add_symbol call
- Parameters
-
[in] | subscription | A handle of the subscription where source will be changed |
[in] | source | Source of order event to add, 4 symbols maximum length |
- Returns
- DXF_SUCCESS if order has been successfully added or DXF_FAILURE on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure;
◆ dxf_set_order_source()
Clear current sources and add new one to subscription.
- Warning
- You must configure order source before dxf_add_symbols/dxf_add_symbol call
- Parameters
-
[in] | subscription | A handle of the subscription where source will be changed |
[in] | source | Source of order to set, 4 symbols maximum length |
- Returns
- DXF_SUCCESS on order source setup or DXF_FAILURE on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure;