diff options
author | Ray Strode <rstrode@redhat.com> | 2009-03-09 15:41:12 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2010-02-08 16:19:02 -0500 |
commit | a736563893b6c99c900198afaeea1684bc8c1259 (patch) | |
tree | 48d02cc6b1f74f471f448c7791eb013f3c1a7e31 /daemon/gdm-session.h | |
parent | f5c918550dbabe04ece27e9f80234af93ef54514 (diff) | |
download | gdm-a736563893b6c99c900198afaeea1684bc8c1259.tar.gz |
Don't tear down greeter until pam_open_session finishes
Some PAM modules ask questions at that late stage of the game,
and so we need a greeter to forward the questions on to the
user.
Diffstat (limited to 'daemon/gdm-session.h')
-rw-r--r-- | daemon/gdm-session.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/gdm-session.h b/daemon/gdm-session.h index afe7b831..fb199d39 100644 --- a/daemon/gdm-session.h +++ b/daemon/gdm-session.h @@ -56,6 +56,7 @@ struct _GdmSessionIface void (* authorize) (GdmSession *session); void (* accredit) (GdmSession *session, int cred_flag); + void (* open_session) (GdmSession *session); void (* answer_query) (GdmSession *session, const char *text); void (* select_language) (GdmSession *session, @@ -95,6 +96,9 @@ struct _GdmSessionIface const char *info); void (* problem) (GdmSession *session, const char *problem); + void (* session_opened) (GdmSession *session); + void (* session_open_failed) (GdmSession *session, + const char *message); void (* session_started) (GdmSession *session, int pid); void (* session_start_failed) (GdmSession *session, @@ -129,6 +133,7 @@ void gdm_session_authenticate (GdmSession *session); void gdm_session_authorize (GdmSession *session); void gdm_session_accredit (GdmSession *session, int cred_flag); +void gdm_session_open_session (GdmSession *session); void gdm_session_start_session (GdmSession *session); void gdm_session_close (GdmSession *session); |