summaryrefslogtreecommitdiff
path: root/daemon/gdm-slave.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2008-10-24 01:42:04 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2008-10-24 01:42:04 +0000
commit4979786d6430fe8cf50969a83d1e28c4353f4659 (patch)
tree2bf1df3eb143855d277e28271ece7149f345d808 /daemon/gdm-slave.h
parenta467db480b4a95667413fb5a11b027dda66e5e42 (diff)
downloadgdm-4979786d6430fe8cf50969a83d1e28c4353f4659.tar.gz
Add support for a real automatic login. Make automatic and timed login
2008-10-23 William Jon McCann <jmccann@redhat.com> * daemon/gdm-display.c (gdm_display_real_get_timed_login_details), (gdm_display_get_timed_login_details), (gdm_display_real_unmanage), (gdm_display_class_init): * daemon/gdm-display.h: * daemon/gdm-display.xml: * daemon/gdm-simple-slave.c (greeter_reset_timeout), (on_session_setup_failed), (on_session_authentication_failed), (on_session_authorized), (on_session_authorization_failed), (stop_greeter), (start_session_timeout), (on_session_accredited), (on_session_accreditation_failed), (on_session_info), (on_session_opened), (on_session_selected_user_changed), (on_default_language_name_changed), (on_default_layout_name_changed), (on_default_session_name_changed), (start_greeter), (idle_connect_to_display), (gdm_simple_slave_stop): * daemon/gdm-slave.c (gdm_slave_get_timed_login_details): * daemon/gdm-slave.h: * daemon/gdm-static-display.c (gdm_static_display_unmanage), (gdm_static_display_get_timed_login_details), (gdm_static_display_class_init), (gdm_static_display_init): * daemon/gdm-transient-display.c (gdm_transient_display_get_timed_login_details), (gdm_transient_display_class_init): * daemon/gdm-xdmcp-display.c (gdm_xdmcp_display_get_timed_login_details), (gdm_xdmcp_display_class_init): Add support for a real automatic login. Make automatic and timed login only work the first time a display is managed. Also prevent automatic and timed login from working on transient and xdmcp displays. svn path=/trunk/; revision=6582
Diffstat (limited to 'daemon/gdm-slave.h')
-rw-r--r--daemon/gdm-slave.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/gdm-slave.h b/daemon/gdm-slave.h
index d1213065..af28b00f 100644
--- a/daemon/gdm-slave.h
+++ b/daemon/gdm-slave.h
@@ -60,6 +60,11 @@ gboolean gdm_slave_stop (GdmSlave *slave);
char * gdm_slave_get_primary_session_id_for_user (GdmSlave *slave,
const char *username);
+gboolean gdm_slave_get_timed_login_details (GdmSlave *slave,
+ gboolean *enabled,
+ char **username,
+ int *delay);
+
gboolean gdm_slave_add_user_authorization (GdmSlave *slave,
const char *username,
char **filename);