#define SILC_ID_COMPARE_TYPE ...
Compares two ID's by type. Returns TRUE if they match.
#define SILC_ID_COMPARE_TYPE(id1, id2, type) \ (type == SILC_ID_SERVER ? SILC_ID_SERVER_COMPARE(id1, id2) : \ type == SILC_ID_CLIENT ? SILC_ID_CLIENT_COMPARE(id1, id2) : \ SILC_ID_CHANNEL_COMPARE(id1, id2))