1 /*************************************************************************** 2 * 3 * $Id: utf8.h 93 2009-08-24 20:57:31Z Michael.McTernan $ 4 * 5 * UTF8 decode routine interface. 6 * Copyright (C) 2009 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 2 11 * of the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software Foundation, 20 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 ***************************************************************************/ 22 23 #ifndef UTF8_H 24 #define UTF8_H 25 26 /************************************************************************** 27 * Includes 28 **************************************************************************/ 29 30 #include "bool.h" 31 32 /************************************************************************** 33 * Macros 34 **************************************************************************/ 35 36 /************************************************************************** 37 * Types 38 **************************************************************************/ 39 40 /************************************************************************** 41 * Prototypes 42 **************************************************************************/ 43 44 Boolean Utf8Decode(const char *s, unsigned int *r, unsigned int *bytes); 45 46 #endif 47 48 /* END OF FILE */ 49