diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-04-03 17:48:37 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-04-03 17:48:37 +0200 |
commit | 94a695aa8461a225967141d2b7a006d0eada1ea4 (patch) | |
tree | c8470519527845067ae261273e40ee0b97ed6052 /src/krb5-auth-applet.h | |
parent | document changes and release 0.14-2 (diff) | |
parent | Imported Upstream version 0.15 (diff) | |
download | krb5-auth-dialog-94a695aa8461a225967141d2b7a006d0eada1ea4.tar.gz krb5-auth-dialog-94a695aa8461a225967141d2b7a006d0eada1ea4.tar.bz2 krb5-auth-dialog-94a695aa8461a225967141d2b7a006d0eada1ea4.zip |
Merge commit 'upstream/0.15'
Diffstat (limited to 'src/krb5-auth-applet.h')
-rw-r--r-- | src/krb5-auth-applet.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/krb5-auth-applet.h b/src/krb5-auth-applet.h index 06e45f9..e0f32e4 100644 --- a/src/krb5-auth-applet.h +++ b/src/krb5-auth-applet.h @@ -50,12 +50,22 @@ typedef struct _KaAppletPrivate KaAppletPrivate; GType ka_applet_get_type (void); +/* signals emitted by KaApplet */ +typedef enum { + KA_SIGNAL_ACQUIRED_TGT, /* New TGT acquired */ + KA_SIGNAL_RENEWED_TGT, /* TGT got renewed */ + KA_SIGNAL_EXPIRED_TGT, /* TGT expired or ticket cache got destroyed */ + KA_SIGNAL_COUNT +} KaAppletSignalNumber; + /* public functions */ gboolean ka_applet_get_show_trayicon(const KaApplet* applet); void ka_applet_set_tgt_renewable(KaApplet* applet, gboolean renewable); gboolean ka_applet_get_tgt_renewable(const KaApplet* applet); guint ka_applet_get_pw_prompt_secs(const KaApplet* applet); KaPwDialog* ka_applet_get_pwdialog(const KaApplet* applet); +void ka_applet_signal_emit(KaApplet* applet, KaAppletSignalNumber signum, + krb5_timestamp expiry); /* create the applet */ KaApplet* ka_applet_create(void); |