added new tlv function

This commit is contained in:
merlokk 2019-01-03 19:42:40 +02:00
commit 723298d00c
2 changed files with 41 additions and 0 deletions

View file

@ -61,4 +61,7 @@ unsigned char *tlv_encode(const struct tlv *tlv, size_t *len);
bool tlv_is_constructed(const struct tlv *tlv);
bool tlv_equal(const struct tlv *a, const struct tlv *b);
bool tlv_get_uint8(const struct tlv *etlv, uint8_t *value);
bool tlv_get_int(const struct tlv *etlv, int *value);
#endif