diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-12-02 12:49:00 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-12-02 12:49:00 +0000 |
commit | 0bba6abe9863fabeae156b2361e531dac5afd93d (patch) | |
tree | 97d7a8318713393ab492a4af94c208272f8ad866 /tools/libxc/xenctrl.h | |
parent | 77fcd869a7beb55857198b8d6cbffe63b33cac20 (diff) | |
download | xen-0bba6abe9863fabeae156b2361e531dac5afd93d.tar.gz xen-0bba6abe9863fabeae156b2361e531dac5afd93d.tar.bz2 xen-0bba6abe9863fabeae156b2361e531dac5afd93d.zip |
libxc: rename safe_strerror to xc_strerror and pass in an XC handle for future use.
Make the function public since I have future patches which depend on this.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r-- | tools/libxc/xenctrl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index f4dde880f8..915410ac3a 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -1411,6 +1411,11 @@ typedef struct xc_error { */ const char *xc_error_code_to_desc(int code); +/* + * Convert an errno value to a text description. + */ +const char *xc_strerror(xc_interface *xch, int errcode); + /* * Return a pointer to the last error with level XC_REPORT_ERROR. This |