controller link as operation
[oweals/gnunet.git] / src / include / gnunet_lockmanager_service.h
index daa910dc9030193147d3de4042b2050699d33b91..23d84cd23fb36807bffd488da1a873dcbbb046a8 100644 (file)
@@ -92,7 +92,8 @@ enum GNUNET_LOCKMANAGER_Status
  * @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 
 (*GNUNET_LOCKMANAGER_StatusCallback) (void *cls,
@@ -129,8 +130,7 @@ struct GNUNET_LOCKMANAGER_LockingRequest;
  *
  * @param status_cb_cls the closure to the above callback
  *
- * @return the locking request handle for this request. It will be invalidated
- *           when status_cb is called.
+ * @return the locking request handle for this request
  */
 struct GNUNET_LOCKMANAGER_LockingRequest *
 GNUNET_LOCKMANAGER_acquire_lock (struct GNUNET_LOCKMANAGER_Handle *handle,
@@ -143,8 +143,8 @@ GNUNET_LOCKMANAGER_acquire_lock (struct GNUNET_LOCKMANAGER_Handle *handle,
 
 /**
  * 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