libnfc/examples
Alex Lian c72846e3c6 Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present
This becomes more consistent with all other pass by pointer of most structures.
Additionally, this should lessen stack memory usage, as building strings with str_nfc_target would push the target (283 bytes) plus then a copy of the info objects (up to 275) onto the stack as it dives into the sprintf functions.

Lastly, this makes my attempt at a .NET wrapper easier, as I can make passing by pointer work, but passing by value seems to bomb on the interop right now.
2013-03-07 09:16:33 +01:00
..
doc nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
pn53x-tamashell-scripts ReadMobib: make it compatible with Basic card 2012-11-10 17:11:48 +01:00
CMakeLists.txt Windows: Shift files from libnfc/windows to libnfc/contrib/win32 2013-02-14 15:33:47 +01:00
Makefile.am Add man of nfc-emulate-forum-tag2 to the installation 2013-02-01 01:57:47 +01:00
nfc-anticol.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-anticol.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
nfc-dep-initiator.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-dep-initiator.c Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present 2013-03-07 09:16:33 +01:00
nfc-dep-target.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-dep-target.c Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present 2013-03-07 09:16:33 +01:00
nfc-emulate-forum-tag2.1 Adds nfc-emulate-forum-tag2 man page 2012-09-19 10:25:33 +00:00
nfc-emulate-forum-tag2.c Fix bug introduced in some signal traps where context was not declared 2013-03-05 23:58:35 +01:00
nfc-emulate-tag.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-emulate-tag.c Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present 2013-03-07 09:16:33 +01:00
nfc-emulate-uid.1 Fix some spelling mistakes 2012-05-13 13:10:15 +00:00
nfc-emulate-uid.c Fix bug introduced in some signal traps where context was not declared 2013-03-05 23:58:35 +01:00
nfc-mfsetuid.1 fix disruptancies between tools location in src (utils<>examples) and in Debian packages (libnfc-bin<>libnfc-examples) 2012-05-17 19:22:25 +00:00
nfc-mfsetuid.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
nfc-poll.1 verbose option back for nfc-list, and newly implemented in nfc-poll 2012-01-04 21:29:43 +00:00
nfc-poll.c Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present 2013-03-07 09:16:33 +01:00
nfc-relay.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
nfc-relay.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
pn53x-diagnose.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
pn53x-diagnose.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
pn53x-sam.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
pn53x-sam.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
pn53x-tamashell.1 Update examples and utils manpages.(Fixes Issue 159) 2011-10-01 12:26:11 +00:00
pn53x-tamashell.c Fix cppcheck warning "Obsolete function 'usleep' called" 2013-03-06 21:43:36 +01:00