diff options
author | Alexander Tarasikov <alexander.tarasikov@gmail.com> | 2012-07-13 13:54:28 +0400 |
---|---|---|
committer | Alexander Tarasikov <alexander.tarasikov@gmail.com> | 2012-07-13 13:54:28 +0400 |
commit | 4d2d1523952fb9aefa3193dfd124ab06eef69cde (patch) | |
tree | 43032e6cfc43c0748ceb22c10bb8ed12f8b4778c /util.h | |
parent | 4935eac2f82042ad662a16fbf8058f2139ac3843 (diff) | |
download | hardware_replicant_libsamsung-ril-4d2d1523952fb9aefa3193dfd124ab06eef69cde.tar.gz hardware_replicant_libsamsung-ril-4d2d1523952fb9aefa3193dfd124ab06eef69cde.tar.bz2 hardware_replicant_libsamsung-ril-4d2d1523952fb9aefa3193dfd124ab06eef69cde.zip |
Add the utf8_write function to decode ucs2 data
This function is copied from the XDANDROID ril.
It writes the USC2-BE data to the char buffer.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,5 +26,6 @@ void hex2bin(const char *data, int length, unsigned char *buf); int gsm72ascii(unsigned char *data, char **data_dec, int length); int ascii2gsm7(char *data, unsigned char **data_enc, int length); void hex_dump(void *data, int size); +int utf8_write(char *utf8, int offset, int v); #endif |