SilcHashCompare

SYNOPSIS

    typedef SilcBool (*SilcHashCompare)(void *key1, void *key2,
                                        void *user_context);

DESCRIPTION

A comparison funtion that is called to compare the two keys `key1' and `key2'. If they are equal this must return TRUE or FALSE otherwise. The application provides this function when allocating a new hash table. The `user_context' is application specific context and is delivered to the callback.