aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-03-20 15:40:05 +0000
committerDaniel P. Berrange <berrange@redhat.com>2012-03-23 13:24:07 +0000
commita4fb88b5c9e2693899c6adf7ea57a9174a7d8f10 (patch)
treee22fc056467f522b0279260b48d6ee9b7fc7a900 /include
parentRename virRequest{Username,Password} to virAuthGet{Username,Password} (diff)
downloadlibvirt-a4fb88b5c9e2693899c6adf7ea57a9174a7d8f10.tar.gz
libvirt-a4fb88b5c9e2693899c6adf7ea57a9174a7d8f10.tar.bz2
libvirt-a4fb88b5c9e2693899c6adf7ea57a9174a7d8f10.zip
Add helper API for finding auth file path
* src/util/virauth.c, src/util/virauth.h: Add virAuthGetConfigFilePath * include/libvirt/virterror.h, src/util/virterror.c: Add VIR_FROM_AUTH error domain Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/libvirt/virterror.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h
index c8ec8d40c..e04d29e40 100644
--- a/include/libvirt/virterror.h
+++ b/include/libvirt/virterror.h
@@ -86,6 +86,7 @@ typedef enum {
VIR_FROM_HYPERV = 43, /* Error from Hyper-V driver */
VIR_FROM_CAPABILITIES = 44, /* Error from capabilities */
VIR_FROM_URI = 45, /* Error from URI handling */
+ VIR_FROM_AUTH = 46, /* Error from auth handling */
} virErrorDomain;