X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcstrutil.c;h=8fddd0b22a7ebdebdeabbfbcd54cebce110eb3fb;hb=c27a4ecc3e616e8a5ee09b8ca888ed6ff3e501f7;hp=c387ffc4fe012b4a0136455f115f4731890a420d;hpb=f60ca1494b58b5b2340e1780adf7422eacf5fed1;p=silc.git diff --git a/lib/silcutil/silcstrutil.c b/lib/silcutil/silcstrutil.c index c387ffc4..8fddd0b2 100644 --- a/lib/silcutil/silcstrutil.c +++ b/lib/silcutil/silcstrutil.c @@ -205,7 +205,7 @@ do { \ /* Parses MIME object and MIME header in it. */ -bool +SilcBool silc_mime_parse(const unsigned char *mime, SilcUInt32 mime_len, char *version, SilcUInt32 version_size, char *content_type, SilcUInt32 content_type_size, @@ -313,7 +313,7 @@ unsigned char *silc_identifier_check(const unsigned char *identifier, /* Same as above but does not allocate memory, just checks the validity of the string. */ -bool silc_identifier_verify(const unsigned char *identifier, +SilcBool silc_identifier_verify(const unsigned char *identifier, SilcUInt32 identifier_len, SilcStringEncoding identifier_encoding, SilcUInt32 max_allowed_length) @@ -370,7 +370,7 @@ unsigned char *silc_channel_name_check(const unsigned char *identifier, /* Same as above but does not allocate memory, just checks the validity of the string. */ -bool silc_channel_name_verify(const unsigned char *identifier, +SilcBool silc_channel_name_verify(const unsigned char *identifier, SilcUInt32 identifier_len, SilcStringEncoding identifier_encoding, SilcUInt32 max_allowed_length)