From: Richard Jones Date: Thu, 2 Sep 2010 21:45:54 +0000 (+0100) Subject: Define LIBGUESTFS_HAVE_ for C API functions. X-Git-Tag: 1.5.8~2 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=2d8fd7dacd77361bc385be42112289faafb5c60d;hp=2d8fd7dacd77361bc385be42112289faafb5c60d Define LIBGUESTFS_HAVE_ 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. ---