/[public]/psiconv/trunk/lib/psiconv/unicode.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/unicode.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 181 Revision 196
1/* 1/*
2 unicode.h - Part of psiconv, a PSION 5 file formats converter 2 unicode.h - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 2003 Frodo Looijaard <frodol@dds.nl> 3 Copyright (c) 2003-2004 Frodo Looijaard <frodol@dds.nl>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
60 psiconv_u8 **output); 60 psiconv_u8 **output);
61 61
62/* Compute the length of a unicode string */ 62/* Compute the length of a unicode string */
63extern int psiconv_unicode_strlen(const psiconv_ucs2 *input); 63extern int psiconv_unicode_strlen(const psiconv_ucs2 *input);
64 64
65/* Duplicate a unicode string */
66extern psiconv_ucs2 *psiconv_unicode_strdup(const psiconv_ucs2 *input);
67
68/* Compare two unicode strings. Ordering as in Unicode codepoints! */
69int psiconv_unicode_strcmp(const psiconv_ucs2 *str1, const psiconv_ucs2 *str2);
65 70
66#ifdef __cplusplus 71#ifdef __cplusplus
67} 72}
68#endif /* __cplusplus */ 73#endif /* __cplusplus */
69 74

Legend:
Removed from v.181  
changed lines
  Added in v.196

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26