TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include "qrencode.h"
Go to the source code of this file.
Functions | |
int | Split_splitStringToQRinput (const char *string, QRinput *input, QRencodeMode hint, int casesensitive) |
Split the input string (null terminated) into QRinput. More... | |
int Split_splitStringToQRinput | ( | const char * | string, |
QRinput * | input, | ||
QRencodeMode | hint, | ||
int | casesensitive | ||
) |
Split the input string (null terminated) into QRinput.
string | input string |
hint | give QR_MODE_KANJI if the input string contains Kanji character encoded in Shift-JIS. If not, give QR_MODE_8. |
casesensitive | 0 for case-insensitive encoding (all alphabet characters are replaced to UPPER-CASE CHARACTERS. |
0 | success. |
-1 | an error occurred. errno is set to indicate the error. See Exceptions for the details. |
EINVAL | invalid input object. |
ENOMEM | unable to allocate memory for input objects. |
Definition at line 301 of file split.c.
References dupAndToUpper(), free(), and Split_splitString().
Referenced by QRcode_encodeDataStructuredReal(), and QRcode_encodeStringReal().