Increase cvend reliability
This commit is contained in:
11
inc/cvend.h
11
inc/cvend.h
@@ -77,11 +77,14 @@ typedef struct cvend_packet {
|
||||
|
||||
const char *stringify_msg_type(uint8_t msg_type);
|
||||
|
||||
void cvend_init(const char *path);
|
||||
cvend_packet *cvend_read();
|
||||
cvend_packet *cvend_read_type(uint8_t msg_type);
|
||||
void cvend_write(uint8_t msg_type, uint8_t *msg_data, uint16_t msg_len);
|
||||
void cvend_init();
|
||||
void cvend_lock();
|
||||
void cvend_unlock();
|
||||
cvend_packet *cvend_read(FILE *file);
|
||||
cvend_packet *cvend_read_type(FILE *file, uint8_t msg_type);
|
||||
void cvend_write(FILE *file, uint8_t msg_type, uint8_t *msg_data, uint16_t msg_len);
|
||||
void cvend_free(cvend_packet *packet);
|
||||
void print_packet(cvend_packet *packet);
|
||||
void print_packet_short(char *brief, cvend_packet *packet);
|
||||
|
||||
#endif /* end of include guard: CVEND_H_WNGPTXM7 */
|
||||
|
||||
Reference in New Issue
Block a user