| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef ACLK_SCHEMA_WRAPPERS_AGENT_CMDS_H |
| 4 | #define ACLK_SCHEMA_WRAPPERS_AGENT_CMDS_H |
| 5 | |
| 6 | #include "libnetdata/libnetdata.h" |
| 7 | |
| 8 | #ifdef __cplusplus |
| 9 | extern "C" { |
| 10 | #endif |
| 11 | |
| 12 | struct aclk_cancel_pending_req { |
| 13 | char *request_id; |
| 14 | |
| 15 | struct timeval timestamp; |
| 16 | |
| 17 | char *trace_id; |
| 18 | }; |
| 19 | |
| 20 | int parse_cancel_pending_req(const char *msg, size_t msg_len, struct aclk_cancel_pending_req *req); |
| 21 | void free_cancel_pending_req(struct aclk_cancel_pending_req *req); |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | } |
| 25 | #endif |
| 26 | |
| 27 | #endif /* ACLK_SCHEMA_WRAPPERS_AGENT_CMDS_H */ |