diff options
author | Mark A. Greer <mgreer@animalcreek.com> | 2014-02-26 13:54:42 -0700 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-03-19 02:10:06 +0100 |
commit | d5264a29d7eb5214fd95c94eea37042369df2238 (patch) | |
tree | 13552e93b8d68c95ed19a09dd1674e5d4980229d /include | |
parent | c9b075b4fe55b7978340c439edd57714e5080100 (diff) | |
download | neard-d5264a29d7eb5214fd95c94eea37042369df2238.tar.gz neard-d5264a29d7eb5214fd95c94eea37042369df2238.tar.bz2 neard-d5264a29d7eb5214fd95c94eea37042369df2238.zip |
tag: Extend tag structure to store Type 4 r_apdu_max_size
Store the 'r_apdu_max_size' value for Type 4 tags
in the tag-specific portion of the tag structure
and provide accessor functions to get/set the value.
This is required for upcoming changes to the nfctype4
plugin.
Diffstat (limited to 'include')
-rw-r--r-- | include/tag.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tag.h b/include/tag.h index c577548..c734d7a 100644 --- a/include/tag.h +++ b/include/tag.h @@ -108,6 +108,8 @@ void near_tag_set_max_ndef_size(struct near_tag *tag, uint16_t size); uint16_t near_tag_get_max_ndef_size(struct near_tag *tag); void near_tag_set_c_apdu_max_size(struct near_tag *tag, uint16_t size); uint16_t near_tag_get_c_apdu_max_size(struct near_tag *tag); +void near_tag_set_r_apdu_max_size(struct near_tag *tag, uint16_t size); +uint16_t near_tag_get_r_apdu_max_size(struct near_tag *tag); void near_tag_set_idm(struct near_tag *tag, uint8_t *idm, uint8_t len); uint8_t *near_tag_get_idm(struct near_tag *tag, uint8_t *len); void near_tag_set_attr_block(struct near_tag *tag, uint8_t *attr, uint8_t len); |