summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlivier Guiter <olivier.guiter@linux.intel.com>2012-06-20 12:21:11 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-20 13:05:09 +0200
commite1f97d9d3118e872b8de0f0b236f82d622826fa0 (patch)
treebad9ff8485da159cd03f0966d76fdf59b8638de9 /include
parent74f94a3ee4c82a124368a0744ead9591365f8dd8 (diff)
downloadneard-e1f97d9d3118e872b8de0f0b236f82d622826fa0.tar.gz
neard-e1f97d9d3118e872b8de0f0b236f82d622826fa0.tar.bz2
neard-e1f97d9d3118e872b8de0f0b236f82d622826fa0.zip
ndef: Add near_ndef_record_length function
This function returns the length of a NDEF record.
Diffstat (limited to 'include')
-rw-r--r--include/ndef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ndef.h b/include/ndef.h
index c21e86e..0d23a85 100644
--- a/include/ndef.h
+++ b/include/ndef.h
@@ -32,6 +32,8 @@ struct near_ndef_message {
uint8_t *data;
};
+int near_ndef_record_length(uint8_t *ndef_in, size_t ndef_in_length);
+
GList *near_ndef_parse(uint8_t *ndef_data, size_t ndef_length);
struct near_ndef_message *near_ndef_prepare_text_record(char *encoding,