Define LIBGUESTFS_HAVE_<shortname> for C API functions.
authorRichard Jones <rjones@redhat.com>
Thu, 2 Sep 2010 21:45:54 +0000 (22:45 +0100)
committerRichard Jones <rjones@redhat.com>
Sat, 4 Sep 2010 12:38:03 +0000 (13:38 +0100)
commit2d8fd7dacd77361bc385be42112289faafb5c60d
treeef9d1526e8c22f4f79d00638e76bdba422d973c3
parent5fc69ce3ece5e4d4a3da9d78da244c4fa301b5ac
Define LIBGUESTFS_HAVE_<shortname> for C API functions.

The actions each have a corresponding define, eg:

  #define LIBGUESTFS_HAVE_VGUUID 1
  extern char *guestfs_vguuid (guestfs_h *g, const char *vgname);

However functions which are for testing, debugging or deprecated do
not have the corresponding define.  Also a few functions are so
basic (eg. guestfs_create) that there is no point defining a symbol
for them.
src/generator.ml
src/guestfs.h
src/guestfs.pod