libnfc/utils
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
..
CMakeLists.txt Windows: Shift files from libnfc/windows to libnfc/contrib/win32 2013-02-14 15:33:47 +01:00
Makefile.am Makefile.am: move header files from noinst_HEADERS to _SOURCES 2013-02-21 22:37:20 +01:00
mifare.c Various typos 2013-01-31 21:58:29 +01:00
mifare.h Use copyright format recommended by GNU project. 2012-10-21 14:09:16 +00:00
nfc-emulate-forum-tag4.1 utils/nfc-emulate-forum-tag4: add support for v2.0 of the spec 2012-05-14 22:13:19 +00:00
nfc-emulate-forum-tag4.c Fix bug introduced in some signal traps where context was not declared 2013-03-05 23:58:35 +01:00
nfc-list.1 verbose option back for nfc-list, and newly implemented in nfc-poll 2012-01-04 21:29:43 +00:00
nfc-list.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-mfclassic.1 nfc-mfclassic: add option to tolerate RW errors & other enhancements 2013-03-02 22:29:10 +01:00
nfc-mfclassic.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-mfultralight.1 Fix some spelling mistakes 2012-05-13 13:10:15 +00:00
nfc-mfultralight.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
nfc-read-forum-tag3.1 add missing manpages. 2011-11-22 15:23:18 +00:00
nfc-read-forum-tag3.c nfc-read-forum-tag3 & nfc-relay-picc: remove unused variable 2013-03-06 00:30:38 +01:00
nfc-relay-picc.1 Fix some spelling mistakes 2012-05-13 13:10:15 +00:00
nfc-relay-picc.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-scan-device.1 Fixes invalid example in nfc-scan-device manpage 2013-03-01 17:07:40 +01:00
nfc-scan-device.c nfc_init() return rather than exit on malloc error, examples fixed accordingly 2013-03-05 22:24:59 +01:00
nfc-utils.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-utils.h 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