[libvirt] [PATCH v1 13/23] virLockDriver: Introduce virLockDriverRemember and virLockDriverRecall
Peter Krempa
pkrempa at redhat.com
Fri Oct 16 07:34:00 UTC 2015
On Mon, Oct 12, 2015 at 12:25:58 +0200, Michal Privoznik wrote:
> These are just internal APIs that will pass the data back and
> forth to and from virtlockd.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/locking/lock_driver.h | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/src/locking/lock_driver.h b/src/locking/lock_driver.h
> index f8fd38e..4a2bbe4 100644
> --- a/src/locking/lock_driver.h
> +++ b/src/locking/lock_driver.h
> @@ -285,6 +285,39 @@ typedef int (*virLockDriverInquire)(virLockManagerPtr man,
> unsigned int flags);
>
>
> +/**
> + * virLockDriverRemember:
> + * @man: the lock manager context
> + * @path: path to the file
> + * @model: security label model
> + * @label: security label to remember
> + *
> + * Remember given security label.
As top level functions these would deserve a bit more documentation.
> + *
> + * Returns 0 on success, or -1 on failure.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151016/9a857e57/attachment-0001.sig>
More information about the libvir-list
mailing list