libnfc  1.8.0
mirror-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  *
27  * @file mirror-subr.h
28  * @brief Mirror bytes
29  */
30 
31 #ifndef _LIBNFC_MIRROR_SUBR_H_
32 # define _LIBNFC_MIRROR_SUBR_H_
33 
34 # include <stdint.h>
35 
36 # include <nfc/nfc-types.h>
37 
38 
39 uint8_t mirror(uint8_t bt);
40 uint32_t mirror32(uint32_t ui32Bits);
41 uint64_t mirror64(uint64_t ui64Bits);
42 
43 #endif // _LIBNFC_MIRROR_SUBR_H_
Define NFC types.