search for: guestfs_copy_application_list

Displaying 5 results from an estimated 5 matches for "guestfs_copy_application_list".

2016 Feb 25
2
Re: [PATCH 3/3] src: print contents of structs and struct lists on tracing
...tead of getting just the name of the struct > returned. The series is fine, so ACK. Definitely improves the trace output :-) A few things that would be good though: - Export the functions through the public API. We already have functions to copy structs (eg. guestfs_copy_application, guestfs_copy_application_list). - Provide another function for printing lists of structs too, so you don't need the loop for RStructList. - With those two changes, you can get rid of the internal structs-print.h header. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read...
2016 Feb 25
1
Re: [PATCH 3/3] src: print contents of structs and struct lists on tracing
...ks -- I got tired of not seeing what was returned in case of > structs. > > > A few things that would be good though: > > > > - Export the functions through the public API. We already have > > functions to copy structs (eg. guestfs_copy_application, > > guestfs_copy_application_list). > > Would be actually worth exporting them for general usage, though? > I thought about this, and I did not find immediate use cases; although > I can change idea if there are enough/good ones. They become part of the API and ABI so we need to be really sure that we want to support...
2016 Feb 25
0
Re: [PATCH 3/3] src: print contents of structs and struct lists on tracing
...improves the trace output :-) Thanks -- I got tired of not seeing what was returned in case of structs. > A few things that would be good though: > > - Export the functions through the public API. We already have > functions to copy structs (eg. guestfs_copy_application, > guestfs_copy_application_list). Would be actually worth exporting them for general usage, though? I thought about this, and I did not find immediate use cases; although I can change idea if there are enough/good ones. After all, making the current functions public is trivial job once there's the need for them. > - Pr...
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2016 Feb 24
3
[PATCH 1/3] src: generate code for printing contents of structs
Extend the generator to generate a source (and the header for it) with functions that print the content of a guestfs struct. The code is modelled after the code for it in fish.ml, although made a bit more generic (destination FILE*, line separator) so it can be used also in the library, when tracing. This just introduces the new code and builds it as part of the helper libutils.la. ---