summaryrefslogtreecommitdiffstats
path: root/src/guestfs.h
Commit message (Collapse)AuthorAgeFilesLines
* Generate structs and struct lists generically.Richard Jones2009-07-071-7/+0
| | | | | | | | | | | This modifies the way that struct and struct lists are generated (for return values) so that there is no need to add an explicit new type when adding a new structure. All tests pass, and the C API should be compatible. I have also inspected the changes that are made to the generated code by hand.
* use safe_malloc and safe_calloc in generated codeJim Meyering2009-07-031-1/+2
| | | | | | | | | | * src/generator.ml (safe_malloc): Define to guestfs_safe_malloc. (safe_calloc): Define to guestfs_safe_calloc. [most generated code]: Fail immediately upon failure of otherwise- unchecked malloc and calloc calls. * src/guestfs.c: Include <stddef.h>. (xalloc_oversized): Define. * src/guestfs.h (guestfs_safe_calloc): Declare.
* Add 'readdir' call.Richard W.M. Jones2009-07-021-0/+1
| | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this.
* Include the __cplusplus header magic so API really callable from C++.Richard Jones2009-04-201-0/+8
|
* Implement upload and download commands.Richard Jones2009-04-201-2/+4
|
* Implement _send_sync, _send_file_sync and _receive_file_sync.Richard Jones2009-04-191-3/+7
|
* Begin to add the upload and download commands.Richard Jones2009-04-181-11/+11
|
* Split out send and reply operations into separate callbacks.Richard Jones2009-04-181-0/+2
|
* guestfs_send -> guestfs__send, in case we want a future command called "send".Richard Jones2009-04-181-1/+1
|
* Separate out the high-level API actions.Richard Jones2009-04-181-0/+10
| | | | | | - Split out the high-level API actions so that they are in a separate file, and use the defined guestfs C API, instead of fiddling around with internal structures.
* Rewrite of main loop impl, start of FileIn/FileOut support.Richard Jones2009-04-181-11/+21
|
* Lots, mainly Python bindings.Richard Jones2009-04-131-0/+2
|
* Added Augeas support.Richard Jones2009-04-091-0/+1
|
* Many non-daemon functions are now auto-generated.Richard Jones2009-04-081-17/+0
|
* pvs/vgs/lvs commands working now.Richard Jones2009-04-071-0/+5
|
* LIBGUESTFS_PATH implementation.Richard Jones2009-04-041-0/+2
|
* Implemented autosync, make it the default for guestfish.Richard Jones2009-04-041-0/+3
|
* Lots more auto-generation.Richard Jones2009-04-031-2/+1
|
* Code to handle the daemon communications socket.Richard Jones2009-04-021-2/+4
|
* Guest boots, and basic select/callbacks work.Richard Jones2009-04-021-16/+60
|
* Starts up QEMU nowrjones2009-03-041-2/+1
|
* Running qemu as a subprocess.rjones2009-03-031-0/+55