Diff for libcfg+/src/platon/str/strconv.h between version 1.7 and 1.8
| version 1.7, 2002/09/10 23:34:26 |
version 1.8, 2002/09/26 20:41:15 |
|
|
| |
/** |
| |
* Converting strings between charsets/codepages |
| |
* |
| |
* @file platon/str/strconv.h |
| |
* @author Ondrej Jombik <nepto@pobox.sk> |
| |
* @version \$Id$ |
| |
* @date 2000-2002 |
| |
*/ |
| |
|
| #ifndef _PLATON_STR_STRCONV_H |
#ifndef _PLATON_STR_STRCONV_H |
| #define _PLATON_STR_STRCONV_H |
#define _PLATON_STR_STRCONV_H |
| |
|
|
|
| extern "C" { |
extern "C" { |
| #endif |
#endif |
| |
|
| /* |
/** |
| * strconv() |
* Converts string from one charset to another |
| * |
* |
| * Converts str from charset_from codepage to charset_to codepage. |
* @param str string to convert |
| * Returns str on success, NULL on error (bad input parameters). |
* @param charset_from source charset/codepage |
| */ |
* @param charset_to destination charset/codepage |
| char *PLATON_FUNC(strconv)(char *str, char *charset_from, char *charset_to); |
* @return str on success, NULL on bad input parameters error |
| |
* |
| |
* See platon/str/charsets.h file for more info about chanrset |
| |
* parameters passed to this function. |
| |
*/ |
| |
char *PLATON_FUNC(strconv) |
| |
(char *str, char *charset_from, char *charset_to); |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|