summaryrefslogtreecommitdiffstats
path: root/generator/generator_errnostring.ml
Commit message (Collapse)AuthorAgeFilesLines
* generator: Rename 'generator_*' as '*'.Richard W.M. Jones2012-09-021-337/+0
| | | | | | | | | This is a simple renaming of the files/modules. Note that in OCaml, module names are derived from filenames by capitalizing the first letter. Thus the old module names had the form "Generator_api_versions". The new modules names have the form "Api_versions".
* lib: Expose errno through new API guestfs_last_errno.Richard W.M. Jones2010-11-031-1/+65
| | | | | | | If either the daemon sends back an errno, or a system call fails in the library, save the errno in the handle and then make it available to callers through the guestfs_last_errno function.
* daemon: Send back the errno as a string.Richard W.M. Jones2010-11-031-0/+273
This changes the protocol again so that if the errno is available, it is converted to a string (like "EIO") and sent back over the protocol to the library. In this commit the library just discards the string.