mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
docstring: function: lxc: Add 'Since version' metadata
Either create or append to existing docstring, the version (git tag) that a given function was introduced in the format: Since: v1.2.3 Signed-off-by: Victor Toso <victortoso@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
5e6a75ae1c
commit
36dbddec24
@ -59,6 +59,8 @@ VIR_LOG_INIT("libvirt-lxc");
|
||||
* the setns() system call.
|
||||
*
|
||||
* Returns the number of opened file descriptors, or -1 on error
|
||||
*
|
||||
* Since: v1.0.2
|
||||
*/
|
||||
int
|
||||
virDomainLxcOpenNamespace(virDomainPtr domain,
|
||||
@ -115,6 +117,8 @@ virDomainLxcOpenNamespace(virDomainPtr domain,
|
||||
* the caller to switch back to its current namespace later
|
||||
*
|
||||
* Returns 0 on success, -1 on error
|
||||
*
|
||||
* Since: v1.0.2
|
||||
*/
|
||||
int
|
||||
virDomainLxcEnterNamespace(virDomainPtr domain,
|
||||
@ -182,6 +186,8 @@ virDomainLxcEnterNamespace(virDomainPtr domain,
|
||||
* exec() has yet been performed.
|
||||
*
|
||||
* Returns 0 on success, -1 on error
|
||||
*
|
||||
* Since: v1.0.4
|
||||
*/
|
||||
int
|
||||
virDomainLxcEnterSecurityLabel(virSecurityModelPtr model,
|
||||
@ -283,6 +289,8 @@ virDomainLxcEnterSecurityLabel(virSecurityModelPtr model,
|
||||
* with the container @domain.
|
||||
*
|
||||
* Returns 0 on success, -1 on error
|
||||
*
|
||||
* Since: v2.0.0
|
||||
*/
|
||||
int virDomainLxcEnterCGroup(virDomainPtr domain,
|
||||
unsigned int flags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user