Some header work to make it more posix compliant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3080 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef _ICONV_H_
|
||||
#define _ICONV_H_
|
||||
/*
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
|
||||
|
||||
typedef void *iconv_t;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern iconv_t iconv_open(const char *toCode, const char *fromCode);
|
||||
extern int iconv_close(iconv_t cd);
|
||||
extern size_t iconv(iconv_t cd, char **inBuffer, size_t *inBytesLeft,
|
||||
char **outBuffer, size_t *outBytesLeft);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ICONV_H_ */
|
||||
Reference in New Issue
Block a user