GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
*
* @param cls the closure from GNUNET_LOCKMANAGER_lock call
*
- * @param domain_name the locking domain of the lock
+ * @param domain_name the locking domain of the lock
*
* @param lock the lock for which this status is relevant
*
* @param status GNUNET_LOCKMANAGER_SUCCESS if the lock has been successfully
- * acquired; GNUNET_LOCKMANAGER_RELEASE when the acquired lock is lost
+ * acquired; GNUNET_LOCKMANAGER_RELEASE when the acquired lock is
+ * lost.
*/
-typedef void
+typedef void
(*GNUNET_LOCKMANAGER_StatusCallback) (void *cls,
const char *domain_name,
uint32_t lock,
- enum GNUNET_LOCKMANAGER_Status
+ enum GNUNET_LOCKMANAGER_Status
status);
/**
* Function to cancel the locking request generated by
- * GNUNET_LOCKMANAGER_acquire_lock. If the lock is acquired us then the lock is
- * released. GNUNET_LOCKMANAGER_StatusCallback will not be called upon any
+ * GNUNET_LOCKMANAGER_acquire_lock. If the lock is acquired by us then the lock
+ * is released. GNUNET_LOCKMANAGER_StatusCallback will not be called upon any
* status changes resulting due to this call.
*
* @param request the LockingRequest to cancel