diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-07 13:42:34 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-07 13:42:34 +0100 |
commit | d5532e9ad29b28c2b323ad0abe4e0caa6e03f675 (patch) | |
tree | 14eda67960afaf590159df7ac3ef89b44b0172e3 /daemon/daemon.h | |
parent | 6c87a747cae61097915c71f6d505f101579e8c7a (diff) | |
download | libguestfs-d5532e9ad29b28c2b323ad0abe4e0caa6e03f675.tar.gz libguestfs-d5532e9ad29b28c2b323ad0abe4e0caa6e03f675.tar.xz libguestfs-d5532e9ad29b28c2b323ad0abe4e0caa6e03f675.zip |
Generate structs and struct lists generically.
This modifies the way that struct and struct lists are generated
(for return values) so that there is no need to add an explicit
new type when adding a new structure.
All tests pass, and the C API should be compatible.
I have also inspected the changes that are made to the generated
code by hand.
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r-- | daemon/daemon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h index 5f22a4f8..814d2b18 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -67,9 +67,9 @@ extern int root_mounted; /*-- in stubs.c (auto-generated) --*/ extern void dispatch_incoming_message (XDR *); -extern guestfs_lvm_int_pv_list *parse_command_line_pvs (void); -extern guestfs_lvm_int_vg_list *parse_command_line_vgs (void); -extern guestfs_lvm_int_lv_list *parse_command_line_lvs (void); +extern guestfs_int_lvm_pv_list *parse_command_line_pvs (void); +extern guestfs_int_lvm_vg_list *parse_command_line_vgs (void); +extern guestfs_int_lvm_lv_list *parse_command_line_lvs (void); /*-- in proto.c --*/ extern void main_loop (int sock); |