C API for BALTECH SDK
monitor_protocol.h
Go to the documentation of this file.
1 
9 #ifndef __MONITOR_PROTOCOL_H__
10 #define __MONITOR_PROTOCOL_H__
11 
12 
13 #include "protocol.h"
14 
15 
16 #if !defined(BRP_LOG_DIR_PREFIX)
17  #define BRP_LOG_DIR_PREFIX "brp-logs-"
18 #endif
19 
20 
29 BRP_LIB brp_protocol brp_create_monitor(void);
30 
31 
39 BRP_LIB void brp_annotation_start(brp_protocol protocol);
40 
41 
54 BRP_LIB void brp_annotation_end(
55  brp_protocol protocol, bool success, char * comment
56 );
57 
58 
59 #endif //__MONITOR_PROTOCOL_H__
60  // end of defgroup brp_lib
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.
BRP_LIB void brp_annotation_start(brp_protocol protocol)
Marks the beginning of a related block of log entries.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
Definition: protocol.h:34
This file primarly defines the common part of all protocol's data structures (:brp_protocol_t) and AP...
BRP_LIB brp_protocol brp_create_monitor(void)
Creates a new Monitor protocol layer.