]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Switch to a more extensible annotation system for RPC protocols
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 17 Apr 2013 12:04:27 +0000 (13:04 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Apr 2013 10:24:17 +0000 (11:24 +0100)
commita98541bfb411834362d1b8864bf20143c0666e7d
tree65fda65b155b7458c2ad0c23ed3f9f2fd2176277
parentfa006c4fdd8c8580bca3db1436e3201350e973f4
Switch to a more extensible annotation system for RPC protocols

Currently the RPC protocol files can contain annotations after
the protocol enum eg

   REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247, /* autogen autogen priority:high */

This is not very extensible as the number of annotations grows.
Change it to use

    /**
     * @generate: both
     * @priority: high
     */
   REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247,

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/locking/lock_protocol.x
src/remote/lxc_protocol.x
src/remote/qemu_protocol.x
src/remote/remote_protocol.x
src/rpc/gendispatch.pl