1*946379e7Schristos /* Localization of proper names. 2*946379e7Schristos Copyright (C) 2006 Free Software Foundation, Inc. 3*946379e7Schristos Written by Bruno Haible <bruno@clisp.org>, 2006. 4*946379e7Schristos 5*946379e7Schristos This program is free software; you can redistribute it and/or modify 6*946379e7Schristos it under the terms of the GNU General Public License as published by 7*946379e7Schristos the Free Software Foundation; either version 2, or (at your option) 8*946379e7Schristos any later version. 9*946379e7Schristos 10*946379e7Schristos This program is distributed in the hope that it will be useful, 11*946379e7Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 12*946379e7Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*946379e7Schristos GNU General Public License for more details. 14*946379e7Schristos 15*946379e7Schristos You should have received a copy of the GNU General Public License 16*946379e7Schristos along with this program; if not, write to the Free Software Foundation, 17*946379e7Schristos Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 18*946379e7Schristos 19*946379e7Schristos #ifndef _PROPERNAME_H 20*946379e7Schristos #define _PROPERNAME_H 21*946379e7Schristos 22*946379e7Schristos 23*946379e7Schristos #ifdef __cplusplus 24*946379e7Schristos extern "C" { 25*946379e7Schristos #endif 26*946379e7Schristos 27*946379e7Schristos /* Return the localization of NAME. NAME is written in ASCII. */ 28*946379e7Schristos extern const char * proper_name (const char *name); 29*946379e7Schristos 30*946379e7Schristos /* Return the localization of a name whose original writing is not ASCII. 31*946379e7Schristos NAME_UTF8 is the real name, written in UTF-8 with octal or hexadecimal 32*946379e7Schristos escape sequences. NAME_ASCII is a fallback written only with ASCII 33*946379e7Schristos characters. */ 34*946379e7Schristos extern const char * proper_name_utf8 (const char *name_ascii, 35*946379e7Schristos const char *name_utf8); 36*946379e7Schristos 37*946379e7Schristos #ifdef __cplusplus 38*946379e7Schristos } 39*946379e7Schristos #endif 40*946379e7Schristos 41*946379e7Schristos 42*946379e7Schristos #endif /* _PROPERNAME_H */ 43