split.h

来自「二维码QR的编码实现。C语言实现。希望各位一起学习。一起做条码开发」· C头文件 代码 · 共 45 行

H
45
字号
/* * qrencode - QR Code encoder * * Input data splitter. * Copyright (C) 2006, 2007, 2008 Kentaro Fukuchi <fukuchi@megaui.net> * * The following data / specifications are taken from * "Two dimensional symbol -- QR-code -- Basic Specification" (JIS X0510:2004) *  or * "Automatic identification and data capture techniques --  *  QR Code 2005 bar code symbology specification" (ISO/IEC 18004:2006) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */#ifndef __SPLIT_H__#define __SPLIT_H__#include "qrencode.h"/** * Split the input string (null terminated) into QRinput. * @param string input string * @param hint give QR_MODE_KANJI if the input string contains Kanji character encoded in Shift-JIS. If not, give QR_MODE_8. * @param casesensitive 0 for case-insensitive encoding (all alphabet characters are replaced to UPPER-CASE CHARACTERS. * @retval 0 success. * @retval -1 an error occurred. */extern int Split_splitStringToQRinput(const char *string, QRinput *input,		QRencodeMode hint, int casesensitive);#endif /* __SPLIT_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?