search for: guestfs_have_struct_

Displaying 3 results from an estimated 3 matches for "guestfs_have_struct_".

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.
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
..."ALL" all_events_bitmask; pr "\n"; @@ -601,7 +603,7 @@ extern GUESTFS_DLL_PUBLIC void *guestfs_next_private (guestfs_h *g, const char * (* Public structures. *) let generate_all_structs = List.iter ( fun { s_name = typ; s_cols = cols } -> - pr "#define GUESTFS_HAVE_STRUCT_%s 1\n" (String.uppercase typ); + pr "#define GUESTFS_HAVE_STRUCT_%s 1\n" (String.uppercase_ascii typ); pr "\n"; pr "struct guestfs_%s {\n" typ; List.iter ( @@ -645,14 +647,14 @@ extern GUESTFS_DLL_PUBLIC void *guestfs_next_private (guestf...
2016 Nov 08
4
[PATCH 1/3] generator: c: move internal functions
...eiterate, we will pass these structures to and from the client + * with a simple assignment or memcpy, so the format must be + * identical to what rpcgen / the RFC defines. + *) +and generate_all_structs structs = + List.iter ( fun { s_name = typ; s_cols = cols } -> pr "#define GUESTFS_HAVE_STRUCT_%s 1\n" (String.uppercase typ); pr "\n"; @@ -634,14 +698,9 @@ extern GUESTFS_DLL_PUBLIC void *guestfs_next_private (guestfs_h *g, const char * pr "extern GUESTFS_DLL_PUBLIC void guestfs_free_%s (struct guestfs_%s *);\n" typ typ; pr "extern GUESTFS_D...