|
a/src/utils/transcode.h |
|
b/src/utils/transcode.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _TRANSCODE_H_INCLUDED_
|
17 |
#ifndef _TRANSCODE_H_INCLUDED_
|
18 |
#define _TRANSCODE_H_INCLUDED_
|
18 |
#define _TRANSCODE_H_INCLUDED_
|
19 |
/* @(#$Id: transcode.h,v 1.3 2006-01-30 11:15:28 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: transcode.h,v 1.4 2006-03-29 11:18:15 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
/**
|
20 |
/**
|
21 |
* A very minimal c++ized interface to iconv
|
21 |
* A very minimal c++ized interface to iconv
|
22 |
*/
|
22 |
*/
|
23 |
#include <string>
|
23 |
#include <string>
|
24 |
|
24 |
|
25 |
extern bool transcode(const std::string &in, std::string &out,
|
25 |
extern bool transcode(const std::string &in, std::string &out,
|
26 |
const std::string &icode,
|
26 |
const std::string &icode,
|
27 |
const std::string &ocode);
|
27 |
const std::string &ocode,
|
|
|
28 |
int *ecnt = 0);
|
28 |
|
29 |
|
29 |
#endif /* _TRANSCODE_H_INCLUDED_ */
|
30 |
#endif /* _TRANSCODE_H_INCLUDED_ */
|