diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-06 16:06:16 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-06 16:06:16 +0100 |
commit | 19bc15479fd108ddc5eb4edd7a452727ec5c7740 (patch) | |
tree | d9b15714c41f0dc0e7c87a215343903f6a2c2520 /include | |
parent | db600b0055182972dbe2b353298f0d02e996cd50 (diff) | |
download | neard-19bc15479fd108ddc5eb4edd7a452727ec5c7740.tar.gz neard-19bc15479fd108ddc5eb4edd7a452727ec5c7740.tar.bz2 neard-19bc15479fd108ddc5eb4edd7a452727ec5c7740.zip |
tlv: Simplify tlv parsing API
The parsing API should read the tag's data.
Diffstat (limited to 'include')
-rw-r--r-- | include/tlv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tlv.h b/include/tlv.h index 69eb28f..6cac79d 100644 --- a/include/tlv.h +++ b/include/tlv.h @@ -32,6 +32,6 @@ uint16_t near_tlv_length(uint8_t *tlv); uint8_t *near_tlv_next(uint8_t *tlv); uint8_t *near_tlv_data(uint8_t *tlv); -int near_tlv_parse(struct near_tag *tag, near_tag_io_cb cb, uint8_t *data, uint16_t length); +int near_tlv_parse(struct near_tag *tag, near_tag_io_cb cb); #endif |