aboutsummaryrefslogtreecommitdiff
path: root/src/krb5-auth-applet.h
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2008-10-18 18:17:19 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-10-18 18:17:19 +0200
commit6a45cdd4cc1321567d929f41721792c9e3d38401 (patch)
treec3fd44df49218df644765e624c247d16358bd474 /src/krb5-auth-applet.h
parentImported Upstream version 0.7.git7cc1d84 (diff)
downloadkrb5-auth-dialog-6a45cdd4cc1321567d929f41721792c9e3d38401.tar.gz
krb5-auth-dialog-6a45cdd4cc1321567d929f41721792c9e3d38401.tar.bz2
krb5-auth-dialog-6a45cdd4cc1321567d929f41721792c9e3d38401.zip
Imported Upstream version 0.7.jit26357da
Diffstat (limited to 'src/krb5-auth-applet.h')
-rw-r--r--src/krb5-auth-applet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/krb5-auth-applet.h b/src/krb5-auth-applet.h
index 062e148..e137794 100644
--- a/src/krb5-auth-applet.h
+++ b/src/krb5-auth-applet.h
@@ -35,7 +35,7 @@
typedef struct {
GtkStatusIcon* tray_icon; /* the tray icon */
GtkWidget* context_menu; /* the tray icon's context menu */
- const char* icons[2]; /* for expired and valid tickts */
+ const char* icons[3]; /* for invalid, expiring and valid tickts */
gboolean show_trayicon; /* show the trayicon */
/* The password dialog */
@@ -49,6 +49,8 @@ typedef struct {
NotifyNotification* notification;/* notification messages */
#endif /* HAVE_LIBNOTIFY */
char* principal; /* the principal to request */
+ gboolean renewable; /* credentials renewable? */
+ char* pk_userid; /* "userid" for pkint */
} Krb5AuthApplet;
Krb5AuthApplet* ka_create_applet();
@@ -59,7 +61,7 @@ gboolean ka_show_tray_icon(Krb5AuthApplet* applet);
#ifdef ENABLE_DEBUG
#define KA_DEBUG(fmt,...) \
- g_printf ("DEBUG: %s: " fmt "\n", __func__, __VA_ARGS__)
+ g_printf ("DEBUG: %s: " fmt "\n", __func__, ##__VA_ARGS__)
#else
#define KA_DEBUG(fmt,...) \
do { } while (0)
bgstack15