diff options
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h index 4721a22..1f941a4 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -112,8 +112,10 @@ int get_tlv(struct tlv_parser *parser, struct tlv *ret); * Appends data to the next packet to be sent. Type of data is determined by * enum tlv_type. * */ -int push_tlv(struct tlv_packet *packet, const char *data, enum tlv_type); +int push_data(struct tlv_packet *packet, enum tlv_type type, char *data); void clear_data(struct tlv_packet *packet); +size_t tlv_data_size(struct tlv_parser *parser); + #endif /* PROTOCOL_H_INCLUDED */ |