summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-auth.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2014-08-12 11:03:27 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2014-08-26 16:54:01 -0500
commit2561c171e74747f47593192c5e9fd663fc3d0d8f (patch)
tree5ed01e49cc2d139e2c40a1dde3c21a221138f32e /src/virt-viewer-auth.h
parentb7c80494606c0dbfbae305411ad0080a5ef9282c (diff)
downloadvirt-viewer-2561c171e74747f47593192c5e9fd663fc3d0d8f.tar.gz
virt-viewer-2561c171e74747f47593192c5e9fd663fc3d0d8f.tar.xz
virt-viewer-2561c171e74747f47593192c5e9fd663fc3d0d8f.zip
Change collect_credentials() to return a boolean
Instead of returning 0 for success and -1 for failure, change to a boolean success value to be more consistent with the rest of the virt-viewer code.
Diffstat (limited to 'src/virt-viewer-auth.h')
-rw-r--r--src/virt-viewer-auth.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/virt-viewer-auth.h b/src/virt-viewer-auth.h
index ad932c5..85e3bbc 100644
--- a/src/virt-viewer-auth.h
+++ b/src/virt-viewer-auth.h
@@ -32,11 +32,11 @@
#include "virt-viewer-session.h"
#include "virt-viewer-util.h"
-int virt_viewer_auth_collect_credentials(GtkWindow *window,
- const char *type,
- const char *address,
- char **username,
- char **password);
+gboolean virt_viewer_auth_collect_credentials(GtkWindow *window,
+ const char *type,
+ const char *address,
+ char **username,
+ char **password);
#endif
/*