From nobody Tue Feb 10 23:00:56 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=1650655524; cv=none; d=zohomail.com; s=zohoarc; b=R7WZJ9A9/rtLUv/ggyvGcDxWeLooOwz/ytd3k1VbzDOCGIWSxvQu6hllDcO/6wsK2W1w0EvlDMeWrtEyWFTa7pBwplC+RTPKlUXvcIljivBUIRDdyQFqPYLDYqf83S/xXBY3XqgauyvacEdH0plEHF1PiAvnMTtl+o/2Ro0DZzk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650655524; 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=TQ64a8o3RTSAYunZKtRKNkeja+oV8TgTpXkn7u0et4g=; b=USAlfJwbIFiWV3tAaDqRJEblrStIqoJEwRKfHp0PzWN0HM0PTZkc0K9tCmFeRsrOUd6lpE9/F4qZdn1kGlM7EXMiJAi4v/onOBQKBtUBHyTtzW+yminES47Sx1b2RrE0lZJbgBPgBOyO1Rn0dz77DFpFx1xcz5Jil8Y9zadCh3s= 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 1650655524007282.1058460151768; Fri, 22 Apr 2022 12:25:24 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-491-rTOFG--GM6W4WggMXdyR1Q-1; Fri, 22 Apr 2022 15:24:28 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4755D3811A40; Fri, 22 Apr 2022 19:24:25 +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 20C2241047EF; Fri, 22 Apr 2022 19:24:25 +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 B5BF21940355; Fri, 22 Apr 2022 19:24:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E4A141940362 for ; Fri, 22 Apr 2022 19:24:22 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id D5BB2200C0CF; Fri, 22 Apr 2022 19:24:22 +0000 (UTC) Received: from tapioca.home (unknown [10.40.194.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id 426C52026614 for ; Fri, 22 Apr 2022 19:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650655507; 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=TQ64a8o3RTSAYunZKtRKNkeja+oV8TgTpXkn7u0et4g=; b=GbywtoHjuB5JsixXqeYJvt/UKt+uq735HeAcWIHWR/JyF2m+kq5xXUC2LFuaJWIdxQLwJv IZ2qjKGHYRlQUkaXHqoh3rVPZdOeZ9OAeeNlEdWUEL9XOxvK3/uOV8f7cgC+OQIp715cVs OXi47aGCLmSYFDqVZckntcYIdTbQGQ0= X-MC-Unique: rTOFG--GM6W4WggMXdyR1Q-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Victor Toso To: libvir-list@redhat.com Subject: [PATCH v4 10/19] docstring: typedef: admin:: Add 'Since version' metadata Date: Fri, 22 Apr 2022 21:23:35 +0200 Message-Id: <20220422192344.830350-11-victortoso@redhat.com> In-Reply-To: <20220422192344.830350-1-victortoso@redhat.com> References: <20220422192344.830350-1-victortoso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 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.2 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: 1650655525224100001 Content-Type: text/plain; charset="utf-8" Either create or append to existing docstring, the version (git tag) that a given typedef was introduced in the format: Since: v1.2.3 Signed-off-by: Victor Toso --- include/libvirt/libvirt-admin.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/libvirt/libvirt-admin.h b/include/libvirt/libvirt-admi= n.h index d24067b304..67b17fe0c0 100644 --- a/include/libvirt/libvirt-admin.h +++ b/include/libvirt/libvirt-admin.h @@ -37,6 +37,8 @@ extern "C" { * * a virAdmConnect is a private structure representing a connection to * libvirt daemon. + * + * Since: v2.0.0 */ typedef struct _virAdmConnect virAdmConnect; =20 @@ -45,6 +47,8 @@ typedef struct _virAdmConnect virAdmConnect; * * a virAdmServer is a private structure and client-side representation of * a remote server object + * + * Since: v2.0.0 */ typedef struct _virAdmServer virAdmServer; =20 @@ -53,6 +57,8 @@ typedef struct _virAdmServer virAdmServer; * * a virAdmClient is a private structure and client-side representation of * a remote server's client object (as server sees clients connected to it) + * + * Since: v2.0.0 */ typedef struct _virAdmClient virAdmClient; =20 @@ -62,6 +68,8 @@ typedef struct _virAdmClient virAdmClient; * a virAdmConnectPtr is pointer to a virAdmConnect private structure, * this is the type used to reference a connection to the daemon * in the API. + * + * Since: v2.0.0 */ typedef virAdmConnect *virAdmConnectPtr; =20 @@ -71,6 +79,8 @@ typedef virAdmConnect *virAdmConnectPtr; * a virAdmServerPtr is a pointer to a virAdmServer structure, * this is the type used to reference client-side representation of a * remote server object throughout all the APIs. + * + * Since: v2.0.0 */ typedef virAdmServer *virAdmServerPtr; =20 @@ -80,6 +90,8 @@ typedef virAdmServer *virAdmServerPtr; * a virAdmClientPtr is a pointer to a virAdmClient structure, * this is the type used to reference client-side representation of a * client object throughout all the APIs. + * + * Since: v2.0.0 */ typedef virAdmClient *virAdmClientPtr; =20 @@ -216,6 +228,11 @@ long long virAdmClientGetTimestamp(virAdmClientPtr cli= ent); int virAdmClientGetTransport(virAdmClientPtr client); int virAdmClientFree(virAdmClientPtr client); =20 +/** + * virClientTransport: + * + * Since: v2.0.0 + */ typedef enum { VIR_CLIENT_TRANS_UNIX =3D 0, /* connection via UNIX socket (Since: v2.= 0.0) */ VIR_CLIENT_TRANS_TCP, /* connection via unencrypted TCP socket (S= ince: v2.0.0) */ --=20 2.35.1