TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
rsecc.h
Go to the documentation of this file.
1 /*
2  * qrencode - QR Code encoder
3  *
4  * Reed solomon error correction code encoder specialized for QR code.
5  * This code is rewritten by Kentaro Fukuchi, referring to the FEC library
6  * developed by Phil Karn (KA9Q).
7  *
8  * Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q
9  * Copyright (C) 2014-2017 Kentaro Fukuchi <kentaro@fukuchi.org>
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public
13  * License as published by the Free Software Foundation; either
14  * version 2.1 of the License, or any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Lesser General Public License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public
22  * License along with this library; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24  */
25 
26 #ifndef RSECC_H
27 #define RSECC_H
28 
29 #include "global.h"
30 
31 extern EXTRAS_EXPORT int RSECC_encode(size_t data_length, size_t ecc_length, const unsigned char *data, unsigned char *ecc);
32 
33 #endif /* RSECC_H */
#define EXTRAS_EXPORT
Definition: global.h:33
EXTRAS_EXPORT int RSECC_encode(size_t data_length, size_t ecc_length, const unsigned char *data, unsigned char *ecc)
Definition: rsecc.c:103