* @param lock_number
* @param key set to the key
*/
-static inline void
+static void
get_key (const char *domain_name,
uint32_t lock_number,
struct GNUNET_HashCode *key)
* @param lock_num the number of the lock
* @return the lock if found; NULL if not
*/
-static inline struct Lock *
+static struct Lock *
find_lock (const char *domain_name,
const uint32_t lock_num)
* @param lock_num the lock number
* @return pointer to the lock structure which is added to lock map
*/
-static inline struct Lock *
+static struct Lock *
add_lock (const char *domain_name,
uint32_t lock_num)
{
*
* @param lock the lock to remove
*/
-static inline void
+static void
remove_lock (struct Lock *lock)
{
struct GNUNET_HashCode key;
* @param lock the lock which has to be matched
* @return the matching LockList entry; NULL if no match is found
*/
-static inline struct LockList *
+static struct LockList *
cl_ll_find_lock (struct ClientList *cl_entry,
const struct Lock *lock)
{
* @param cl_entry the client which currently owns this lock
* @param lock the lock to be added to the cl_entry's lock list
*/
-static inline void
+static void
cl_ll_add_lock (struct ClientList *cl_entry,
struct Lock *lock)
{
* @param cl_entry the ClientList entry
* @param ll_entry the LockList entry to be deleted
*/
-static inline void
+static void
cl_ll_remove_lock (struct ClientList *cl_entry,
struct LockList *ll_entry)
{
* @return the WaitList entry matching the given cl_entry; NULL if not match
* was found
*/
-static inline struct WaitList *
+static struct WaitList *
lock_wl_find (const struct Lock *lock,
const struct ClientList *cl_entry)
{
* @param lock the lock list entry of a lock
* @param cl_entry the client to queue for the lock's wait list
*/
-static inline void
+static void
lock_wl_add_client (struct Lock *lock,
struct ClientList *cl_entry)
{
* @param lock the lock
* @param wl_entry the wait list entry to be removed
*/
-static inline void
+static void
lock_wl_remove (struct Lock *lock,
struct WaitList *wl_entry)
{
* @param client the client to be searched for
* @return the ClientList entry; NULL if the client is not found
*/
-static inline struct ClientList *
+static struct ClientList *
cl_find_client (const struct GNUNET_SERVER_Client *client)
{
struct ClientList *current;
* @param client the client to be appended to the list
* @return the client list entry which is added to the client list
*/
-static inline struct ClientList *
+static struct ClientList *
cl_add_client (struct GNUNET_SERVER_Client *client)
{
struct ClientList *new_client;
*
* @param cl_entry the client list entry to delete
*/
-static inline void
+static void
cl_remove_client (struct ClientList *cl_entry)
{
LOG (GNUNET_ERROR_TYPE_DEBUG,