ndef: Extend the NDEF alocation routine
authorOlivier Guiter <olivier.guiter@linux.intel.com>
Wed, 20 Jun 2012 10:21:13 +0000 (12:21 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 20 Jun 2012 11:05:41 +0000 (13:05 +0200)
commitadd5b338be6078e8e828ef1c218fb00599f7b7cc
tree556f98f2a3ee03b99d65bc370b65b755daa74e57
parent95aea8fc1bdba422e1ba37e99dac5cb61b7aa098
ndef: Extend the NDEF alocation routine

ndef_message_alloc_complete allows to pass more arguments when allocating
a new NDEF.
ndef_message_alloc is now a wrapper to ndef_message_alloc_complete,
mainly because, in most cases, payload_id is null.
src/ndef.c