summaryrefslogtreecommitdiffstats
path: root/daemon/readdir.c
Commit message (Collapse)AuthorAgeFilesLines
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* daemon/readdir: avoid a small leakJim Meyering2009-07-031-0/+2
| | | | | * daemon/readdir.c (do_readdir): Free both p and v.name, in case only one of the allocations failed.
* Add 'readdir' call.Richard W.M. Jones2009-07-021-0/+105
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.