view src/utf8.hh @ 1098:614b1d02e6c3

Refactor: isolate calls to utf8 functions into a single source file.
author corvid <corvid@lavabit.com>
date Fri, 15 May 2009 22:08:10 -0400
parents
children 94b9265663f6
line wrap: on
line source
#ifndef __UTF8_HH__
#define __UTF8_HH__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

int a_Utf8_encode(unsigned int ucs, char *buf);
int a_Utf8_test(const char* src, unsigned int srclen);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __UTF8_HH__ */