From nobody Sat May 4 21:05:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1535460221625630.1261111408875; Tue, 28 Aug 2018 05:43:41 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4118E12BBB; Tue, 28 Aug 2018 12:43:38 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9CAD830912F4; Tue, 28 Aug 2018 12:43:37 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 212834BB75; Tue, 28 Aug 2018 12:43:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w7SChYVi016630 for ; Tue, 28 Aug 2018 08:43:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id C0283FA973; Tue, 28 Aug 2018 12:43:34 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 61A22FA975 for ; Tue, 28 Aug 2018 12:43:32 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 28 Aug 2018 14:43:29 +0200 Message-Id: <351b2eb11c8e3e74522134cf3fdc8a021662d242.1535460096.git.pkrempa@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2] docs: api_extension: Update paths in the examples X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 28 Aug 2018 12:43:40 +0000 (UTC) X-ZohoMail: RDMRC_0 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: J=EF=BF=BDn Tomko --- v2: - switched from '$SECTION' to '$MODULE' as a hint for the split files - changed 'domain.rng' to 'domaincommon.rng' which contains the defs - added the '$MODULE' to virsh path Note some still may be wrong as I did not chec all paths rigorously. docs/api_extension.html.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/api_extension.html.in b/docs/api_extension.html.in index 33d82e6ac6..d7fbbd6e90 100644 --- a/docs/api_extension.html.in +++ b/docs/api_extension.html.in @@ -96,7 +96,7 @@ schema and document the new elements or attributes:

- docs/schemas/domain.rng
+ docs/schemas/domaincommon.rng
docs/formatdomain.html.in

@@ -106,7 +106,7 @@ libvirt library and call the new function:

- include/libvirt/libvirt.h.in + include/libvirt/libvirt-$MODULE.h.in src/libvirt_public.syms

@@ -137,7 +137,7 @@

The driver structs are defined in:

-

src/driver.h

+

src/driver-$MODULE.h

To define the internal API, first typedef the driver function @@ -177,7 +177,7 @@

The public API calls are implemented in:

-

src/libvirt.c

+

src/libvirt-$MODULE.c

Implementing the remote protocol

@@ -219,9 +219,9 @@

- daemon/remote_dispatch_args.h - daemon/remote_dispatch_prototypes.h - daemon/remote_dispatch_table.h + src/remote/remote_daemon_dispatch_stubs.h + src/remote/remote_daemon_dispatch.h + src/remote/remote_daemon_dispatch.c src/remote/remote_protocol.c src/remote/remote_protocol.h

@@ -233,7 +233,7 @@ method calls go in:

-

src/remote/remote_internal.c

+

src/remote/remote_driver.c

Each remote method invocation does the following:

@@ -256,7 +256,7 @@ The server side dispatchers are implemented in:

-

daemon/remote.c

+

src/remote/daemon_dispatch.c

Again, this step uses the .h files generated by make rpcgen.

@@ -309,7 +309,7 @@

- tools/virsh.c
+ tools/virsh-$MODULE.c
tools/virsh.pod

--=20 2.16.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list