From nobody Tue Feb 10 09:24:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1650481736; cv=none; d=zohomail.com; s=zohoarc; b=KDOxNdDtAfzUONYO3ThsE4OBCu3FoP0ANAqFoWCUtgPY6jhJ1xcCLS1tArIHHPODJv/j/UQWSwPlk2MiA7ELQMn0Uv2rPmy4cnwNSu7iN90ZHQTpCJ9MP79BvcRhs/F9SWbIGEBnr/qy6caPVecMvMZFR0cc37GyyL2dhL/5QLE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650481736; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=KHfU4WZ9Q9IYjuXj7adKzUW3RcD7hRd1EC0bC1GwU94=; b=Yw+P8k1zRRRQeDva+gLPu0uV4nJEMDeCi+fVN/VKNmv1RVXz9N1sE7RWODKjgFTFrtQpTvTMBPKzCBRc40jW2wK0Ic+MBY7nhUzBBZHqPoFOx65N5M7ubPM9PGI9ACUN3t9XPRxVVW3mI+NtoCL6kifYGew/5NpOQm8U7VsiapA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1650481736860556.0858431052354; Wed, 20 Apr 2022 12:08:56 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-613-dnQhDxbEPNuR7bZqN2D6jA-1; Wed, 20 Apr 2022 15:08:46 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BF1EC800B28; Wed, 20 Apr 2022 19:08:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A8C0040CFD0A; Wed, 20 Apr 2022 19:08:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 555601940347; Wed, 20 Apr 2022 19:08:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CAB281940361 for ; Wed, 20 Apr 2022 19:08:37 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id AACB1551E86; Wed, 20 Apr 2022 19:08:37 +0000 (UTC) Received: from tapioca.home (unknown [10.40.193.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 13784551E85 for ; Wed, 20 Apr 2022 19:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650481735; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=KHfU4WZ9Q9IYjuXj7adKzUW3RcD7hRd1EC0bC1GwU94=; b=Z5OZG1+8Ibs7dFu9j348PI9P78xZj4vShN3mM25z3rkSrlX7xN9wdHOIIeJpRbhxX+Lpb0 I7nVAaY+m38VtaN8gJ8rsHovx6m1DvkMtrmvJbsJKortKHgOB4DUZC83prtIu9fjL57QMs zN38gGXS2eEwT5RiZ1FXtzLWU3JP6Bc= X-MC-Unique: dnQhDxbEPNuR7bZqN2D6jA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Victor Toso To: libvir-list@redhat.com Subject: [PATCH v3 15/30] docstring: function: lxc: Add 'Since version' metadata Date: Wed, 20 Apr 2022 21:08:04 +0200 Message-Id: <20220420190819.3093205-16-victortoso@redhat.com> In-Reply-To: <20220420190819.3093205-1-victortoso@redhat.com> References: <20220420190819.3093205-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1650481738121100003 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Peter Krempa --- src/libvirt-lxc.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/libvirt-lxc.c b/src/libvirt-lxc.c index 2a271b74f0..14a2f2a6ec 100644 --- a/src/libvirt-lxc.c +++ b/src/libvirt-lxc.c @@ -59,6 +59,9 @@ 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 +118,9 @@ 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 +188,9 @@ 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 +292,9 @@ virDomainLxcEnterSecurityLabel(virSecurityModelPtr mode= l, * with the container @domain. * * Returns 0 on success, -1 on error + * + * Since: v2.0.0 + * */ int virDomainLxcEnterCGroup(virDomainPtr domain, unsigned int flags) --=20 2.35.1