![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
Implements a "Probe" Protocol, that logs all transferred data to a file. More...
#include "protocol.h"Go to the source code of this file.
Macros | |
| #define | BRP_LOG_DIR_PREFIX "brp-logs/" |
Functions | |
| BRP_LIB brp_protocol | brp_create_monitor (void) |
| Creates a new Monitor protocol layer. More... | |
| BRP_LIB void | brp_annotation_start (brp_protocol protocol) |
| Marks the beginning of a related block of log entries. More... | |
| BRP_LIB void | brp_annotation_end (brp_protocol protocol, bool success, char *comment) |
| Marks the end of a related block of log entries and adds some kind of comment to it. More... | |
| BRP_LIB brp_errcode | brp_set_log_path (brp_protocol protocol, const char *path) |
| Sets a custom log file path. More... | |
| BRP_LIB char * | brp_get_log_path (brp_protocol protocol, brp_mempool *mempool) |
| Returns the current log file path. More... | |
| BRP_LIB brp_errcode | brp_get_current_log_anchor (brp_protocol protocol, char **anchor, brp_mempool *mempool) |
| Returns the anchor ID of the current (last written) log entry. More... | |
Implements a "Probe" Protocol, that logs all transferred data to a file.
Definition in file monitor_protocol.h.