silc_rwlock_alloc

SYNOPSIS

    SilcBool silc_rwlock_alloc(SilcRwLock *rwlock);

DESCRIPTION

Allocates SILC read/write lock. The read/write lock must be allocated before it can be used. It is freed by the silc_rwlock_free function. This returns TRUE and allocated read/write lock in to the `rwlock' and FALSE on error.