]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: api_extension: Update paths in the examples
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Aug 2018 08:48:37 +0000 (10:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 28 Aug 2018 15:21:39 +0000 (17:21 +0200)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/api_extension.html.in

index 33d82e6ac6f71cf6c7b4cd7048ff22789aed4c2e..d7fbbd6e9015cbd84169246e6c8f43f63b9b9335 100644 (file)
@@ -96,7 +96,7 @@
       schema and document the new elements or attributes:</p>
 
     <p><code>
-        docs/schemas/domain.rng<br/>
+        docs/schemas/domaincommon.rng<br/>
         docs/formatdomain.html.in
     </code></p>
 
       libvirt library and call the new function:</p>
 
     <p><code>
-        include/libvirt/libvirt.h.in
+        include/libvirt/libvirt-$MODULE.h.in
         src/libvirt_public.syms
     </code></p>
 
 
     <p>The driver structs are defined in:</p>
 
-    <p><code>src/driver.h</code></p>
+    <p><code>src/driver-$MODULE.h</code></p>
 
     <p>
       To define the internal API, first typedef the driver function
 
     <p>The public API calls are implemented in:</p>
 
-    <p><code>src/libvirt.c</code></p>
+    <p><code>src/libvirt-$MODULE.c</code></p>
 
     <h2><a name='remoteproto'>Implementing the remote protocol</a></h2>
 
     </p>
 
     <p><code>
-        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
     </code></p>
       method calls go in:
     </p>
 
-    <p><code>src/remote/remote_internal.c</code></p>
+    <p><code>src/remote/remote_driver.c</code></p>
 
     <p>Each remote method invocation does the following:</p>
 
       The server side dispatchers are implemented in:
     </p>
 
-    <p><code>daemon/remote.c</code></p>
+    <p><code>src/remote/daemon_dispatch.c</code></p>
 
     <p>Again, this step uses the .h files generated by make rpcgen.</p>
 
     </p>
 
     <p><code>
-        tools/virsh.c<br/>
+        tools/virsh-$MODULE.c<br/>
         tools/virsh.pod
     </code></p>