libnfc  1.8.0
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  * Copyright (C) 2020 Adam Laurie
13  *
14  * This program is free software: you can redistribute it and/or modify it
15  * under the terms of the GNU Lesser General Public License as published by the
16  * Free Software Foundation, either version 3 of the License, or (at your
17  * option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful, but WITHOUT
20  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
22  * more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * along with this program. If not, see <http://www.gnu.org/licenses/>
26  */
27 
33 #ifndef _TARGET_SUBR_H_
34 #define _TARGET_SUBR_H_
35 
36 int snprint_hex(char *dst, size_t size, const uint8_t *pbtData, const size_t szLen);
37 void snprint_nfc_iso14443a_info(char *dst, size_t size, const nfc_iso14443a_info *pnai, bool verbose);
38 void snprint_nfc_iso14443b_info(char *dst, size_t size, const nfc_iso14443b_info *pnbi, bool verbose);
39 void snprint_nfc_iso14443bi_info(char *dst, size_t size, const nfc_iso14443bi_info *pnii, bool verbose);
40 void snprint_nfc_iso14443b2sr_info(char *dst, size_t size, const nfc_iso14443b2sr_info *pnsi, bool verbose);
41 void snprint_nfc_iso14443biclass_info(char *dst, size_t size, const nfc_iso14443biclass_info *pnic, bool verbose);
42 void snprint_nfc_iso14443b2ct_info(char *dst, size_t size, const nfc_iso14443b2ct_info *pnci, bool verbose);
43 void snprint_nfc_felica_info(char *dst, size_t size, const nfc_felica_info *pnfi, bool verbose);
44 void snprint_nfc_jewel_info(char *dst, size_t size, const nfc_jewel_info *pnji, bool verbose);
45 void snprint_nfc_barcode_info(char *dst, size_t size, const nfc_barcode_info *pnti, bool verbose);
46 void snprint_nfc_dep_info(char *dst, size_t size, const nfc_dep_info *pndi, bool verbose);
47 void snprint_nfc_target(char *dst, size_t size, const nfc_target *pnt, bool verbose);
48 
49 #endif
Thinfilm NFC Barcode information.
Definition: nfc-types.h:277
NFC target information in D.E.P. (Data Exchange Protocol) see ISO/IEC 18092 (NFCIP-1)
Definition: nfc-types.h:162
NFC FeLiCa tag information.
Definition: nfc-types.h:199
NFC ISO14443A tag (MIFARE) information.
Definition: nfc-types.h:186
NFC ISO14443-2B ASK CTx tag information.
Definition: nfc-types.h:258
NFC ISO14443-2B ST SRx tag information.
Definition: nfc-types.h:250
NFC ISO14443B tag information.
Definition: nfc-types.h:211
NFC ISO14443B' tag information.
Definition: nfc-types.h:226
NFC ISO14443BiClass tag information.
Definition: nfc-types.h:242
NFC Jewel tag information.
Definition: nfc-types.h:268
NFC target structure.
Definition: nfc-types.h:351