/* $Id: utf8.h,v 1.2 2013/06/06 21:53:07 steffen Exp $ */ /* utf8.h * Copyright (C) Steffen Pohle 2013 * * spOSMroute is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * spOSMroute 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 General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ #ifndef _UTF8_H_ #define _UTF8_H_ #include uint32_t u8_decode (char *str, int *size); int u8_strlen (char *str); void u8_strcpy (char *dest, char *src, int pos, int size); #endif