***/
int silc_gets(char *dest, int destlen, const char *src, int srclen, int begin);
-/****f* silcutil/SilcUtilAPI/silc_check_line
- *
- * SYNOPSIS
- *
- * int silc_check_line(char *buf);
- *
- * DESCRIPTION
- *
- * Checks line for illegal characters. Return -1 when illegal character
- * were found. This is used to check for bad lines when reading data from
- * for example a configuration file.
- *
- ***/
-int silc_check_line(char *buf);
-
/****f* silcutil/SilcUtilAPI/silc_to_upper
*
* SYNOPSIS
*
* Basic has function to hash strings. May be used with the SilcHashTable.
* Note that this lowers the characters of the string (with tolower()) so
- * this is used usually with nicknames, channel and server names to provide
- * case insensitive keys.
+ * this can be used to provide case-insensitive hashing.
*
***/
SilcUInt32 silc_hash_string(void *key, void *user_context);
*
* DESCRIPTION
*
- * Compares two strings. It may be used as SilcHashTable comparison
- * function.
+ * Compares two strings. This ignores the case while comparing. It may
+ * be used as SilcHashTable comparison function.
*
***/
SilcBool silc_hash_string_compare(void *key1, void *key2, void *user_context);