libnfc  1.7.1
target-subr.h
1 /*-
2  * Free/Libre Near Field Communication (NFC) library
3  *
4  * Libnfc historical contributors:
5  * Copyright (C) 2009 Roel Verdult
6  * Copyright (C) 2009-2013 Romuald Conty
7  * Copyright (C) 2010-2012 Romain Tartière
8  * Copyright (C) 2010-2013 Philippe Teuwen
9  * Copyright (C) 2012-2013 Ludovic Rousseau
10  * See AUTHORS file for a more comprehensive list of contributors.
11  * Additional contributors of this file:
12  *
13  * This program is free software: you can redistribute it and/or modify it
14  * under the terms of the GNU Lesser General Public License as published by the
15  * Free Software Foundation, either version 3 of the License, or (at your
16  * option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful, but WITHOUT
19  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
21  * more details.
22  *
23  * You should have received a copy of the GNU Lesser General Public License
24  * along with this program. If not, see <http://www.gnu.org/licenses/>
25  */
26 
32 #ifndef _TARGET_SUBR_H_
33 #define _TARGET_SUBR_H_
34 
35 int snprint_hex(char *dst, size_t size, const uint8_t *pbtData, const size_t szLen);
36 void snprint_nfc_iso14443a_info(char *dst, size_t size, const nfc_iso14443a_info *pnai, bool verbose);
37 void snprint_nfc_iso14443b_info(char *dst, size_t size, const nfc_iso14443b_info *pnbi, bool verbose);
38 void snprint_nfc_iso14443bi_info(char *dst, size_t size, const nfc_iso14443bi_info *pnii, bool verbose);
39 void snprint_nfc_iso14443b2sr_info(char *dst, size_t size, const nfc_iso14443b2sr_info *pnsi, bool verbose);
40 void snprint_nfc_iso14443b2ct_info(char *dst, size_t size, const nfc_iso14443b2ct_info *pnci, bool verbose);
41 void snprint_nfc_felica_info(char *dst, size_t size, const nfc_felica_info *pnfi, bool verbose);
42 void snprint_nfc_jewel_info(char *dst, size_t size, const nfc_jewel_info *pnji, bool verbose);
43 void snprint_nfc_dep_info(char *dst, size_t size, const nfc_dep_info *pndi, bool verbose);
44 void snprint_nfc_target(char *dst, size_t size, const nfc_target *pnt, bool verbose);
45 
46 #endif
nfc_iso14443b_info
NFC ISO14443B tag information.
Definition: nfc-types.h:210
nfc_jewel_info
NFC Jewel tag information.
Definition: nfc-types.h:259
nfc_dep_info
NFC target information in D.E.P. (Data Exchange Protocol) see ISO/IEC 18092 (NFCIP-1)
Definition: nfc-types.h:161
nfc_target
NFC target structure.
Definition: nfc-types.h:328
nfc_iso14443b2sr_info
NFC ISO14443-2B ST SRx tag information.
Definition: nfc-types.h:241
nfc_iso14443b2ct_info
NFC ISO14443-2B ASK CTx tag information.
Definition: nfc-types.h:249
nfc_iso14443bi_info
NFC ISO14443B' tag information.
Definition: nfc-types.h:225
nfc_iso14443a_info
NFC ISO14443A tag (MIFARE) information.
Definition: nfc-types.h:185
nfc_felica_info
NFC FeLiCa tag information.
Definition: nfc-types.h:198