projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bool -> SilcBool.
[silc.git]
/
lib
/
silcutil
/
silcutf8.c
diff --git
a/lib/silcutil/silcutf8.c
b/lib/silcutil/silcutf8.c
index af6cac3e502d33fe9cbc9e69411a873612f70d38..9b3645586057bfa9a07eca28da71bf0e6b178a39 100644
(file)
--- a/
lib/silcutil/silcutf8.c
+++ b/
lib/silcutil/silcutf8.c
@@
-536,14
+536,14
@@
SilcUInt32 silc_utf8_decoded_len(const unsigned char *bin, SilcUInt32 bin_len,
/* Returns TRUE if the `utf8' string of length of `utf8_len' is valid
UTF-8 encoded string, FALSE if it is not UTF-8 encoded string. */
/* Returns TRUE if the `utf8' string of length of `utf8_len' is valid
UTF-8 encoded string, FALSE if it is not UTF-8 encoded string. */
-
b
ool silc_utf8_valid(const unsigned char *utf8, SilcUInt32 utf8_len)
+
SilcB
ool silc_utf8_valid(const unsigned char *utf8, SilcUInt32 utf8_len)
{
return silc_utf8_decode(utf8, utf8_len, 0, NULL, 0) != 0;
}
/* Pretty close strcasecmp */
{
return silc_utf8_decode(utf8, utf8_len, 0, NULL, 0) != 0;
}
/* Pretty close strcasecmp */
-
b
ool silc_utf8_strcasecmp(const char *s1, const char *s2)
+
SilcB
ool silc_utf8_strcasecmp(const char *s1, const char *s2)
{
if (s1 == s2)
return TRUE;
{
if (s1 == s2)
return TRUE;
@@
-555,12
+555,12
@@
bool silc_utf8_strcasecmp(const char *s1, const char *s2)
/* Pretty close strcasecmp */
/* Pretty close strcasecmp */
-
b
ool silc_utf8_strncasecmp(const char *s1, const char *s2, SilcUInt32 n)
+
SilcB
ool silc_utf8_strncasecmp(const char *s1, const char *s2, SilcUInt32 n)
{
unsigned char *s1u, *s2u;
SilcUInt32 s1u_len, s2u_len;
SilcStringprepStatus status;
{
unsigned char *s1u, *s2u;
SilcUInt32 s1u_len, s2u_len;
SilcStringprepStatus status;
-
b
ool ret;
+
SilcB
ool ret;
if (s1 == s2)
return TRUE;
if (s1 == s2)
return TRUE;