mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Add a simple way to do not even provide prototypes of deprecated functions in the C library: this way, users (like our tools) can build against the library making sure to not use any deprecated function, not even when compiler deprecation warnings are disabled. Add it to the majority of our tools/internal libraries, and make sure that it is not defined when building the API bridges of our bindings.
This is the third rewrite of the virt-df program. It very much
follows the outline of the Perl program which this replaced in
libguestfs 1.7.14.
main.c - main program
domains.c - dealing with libvirt, only used if libvirt is around
at compile time
df.c - getting the stats from libguestfs
output.c - writing the output, CSV output
virt-df.h - header file
Note this also uses the shared options parsing code in
'fish/options.[ch]'.