search for: libguestfs_have_

Displaying 6 results from an estimated 6 matches for "libguestfs_have_".

2015 Sep 15
3
[PATCH 3/3] python: Allow bindings to be compiled with different version of libguestfs (RHBZ#1262983).
Patch to fix: https://bugzilla.redhat.com/show_bug.cgi?id=1262983 Note this won't help until the first two patches get backported to the stable branches, since <guestfs.h> won't define the necessary GUESTFS_HAVE_* macros. Rich.
2013 Jan 30
1
[PATCH] Make internal-only functions and structures private
...+ generate_all_headers internal_functions_sorted; + + pr "\ +/* Private structures. */ + +"; + + generate_all_structs internal_structs; + +pr "\ +/* Deprecated macros for internal functions. */ + +"; + + List.iter ( + fun { name = shortname } -> + pr "#define LIBGUESTFS_HAVE_%s 1\n" (String.uppercase shortname); + ) internal_functions_sorted; + +pr "\ + +#endif /* End of GUESTFS_PRIVATE. */ /* Deprecated macros. Use GUESTFS_HAVE_* instead. */ @@ -727,7 +753,7 @@ extern GUESTFS_DLL_PUBLIC int guestfs___for_each_disk (guestfs_h *g, /* virDomai List.ite...
2016 Nov 08
4
[PATCH 1/3] generator: c: move internal functions
...te functions. */ + +"; + + generate_all_headers private_functions_sorted; + + pr "\ +/* Private structures. */ + +"; + + generate_all_structs internal_structs; + +pr "\ + +#endif /* End of GUESTFS_PRIVATE. */ + +/* Deprecated macros. Use GUESTFS_HAVE_* instead. */ + +#define LIBGUESTFS_HAVE_CREATE_FLAGS 1 +#define LIBGUESTFS_HAVE_LAST_ERRNO 1 +#define LIBGUESTFS_HAVE_PUSH_ERROR_HANDLER 1 +#define LIBGUESTFS_HAVE_POP_ERROR_HANDLER 1 +#define LIBGUESTFS_HAVE_SET_EVENT_CALLBACK 1 +#define LIBGUESTFS_HAVE_DELETE_EVENT_CALLBACK 1 +#define LIBGUESTFS_HAVE_SET_CLOSE_CALLBACK 1 +#define LIBGUE...
2010 Sep 21
1
Proposed timetable for libguestfs 1.6
...'run-test-tool-locally' script. b762848 appliance: init script does 'ls -lR /dev' (verbose only) aa96881 daemon: Don't warn about 'long long' usage. bd77c8d php: Remove 'make clean' rule in subdirectory. 56da696 Version 1.5.8. 2c61e04 PHP bindings. 2d8fd7d Define LIBGUESTFS_HAVE_<shortname> for C API functions. 5fc69ce build: guestfs-structs.h was missing from libguestfs_la_SOURCES. 8ad79a7 Add full docs pot file. 8c48f5a Allow manual pages and POD files to be translated. 1193df7 Add Dutch translation (RHBZ#629593). 25521f1 ruby: Add Guestfs::Guestfs.new() method. b8b...
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
...ing.uppercase_ascii n in pr "# define GUESTFS_%s_%s_BITMASK (UINT64_C(1)<<%d)\n" uc_shortname uc_n i; pr " %s%s;\n" c_type n ) optargs; @@ -759,7 +761,7 @@ pr "\ List.iter ( fun { name = shortname } -> - pr "#define LIBGUESTFS_HAVE_%s 1\n" (String.uppercase shortname); + pr "#define LIBGUESTFS_HAVE_%s 1\n" (String.uppercase_ascii shortname); ) public_functions_sorted; pr " @@ -810,9 +812,9 @@ and generate_internal_frontend_cleanups_h () = List.iter ( fun { s_name = name } -> -...
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain optional arguments, while preserving source and binary backwards compatibility. The problem is that we cannot add an optional argument to an existing function. For example, we might want to add flags to the 'lvresize' API which currently has no optional arguments.