* Set the data receive callback. */
| 274 | * Set the data receive callback. |
| 275 | */ |
| 276 | SR_API void ds_set_datafeed_callback(ds_datafeed_callback_t cb) |
| 277 | { |
| 278 | lib_ctx.data_forward_callback = cb; |
| 279 | } |
| 280 | |
| 281 | /** |
| 282 | * Get the device list, if the field _handle is 0, the list visited to end. |