diff options
author | Olav Vitters <ovitters@src.gnome.org> | 2007-10-15 21:25:02 +0000 |
---|---|---|
committer | Olav Vitters <ovitters@src.gnome.org> | 2007-10-15 21:25:02 +0000 |
commit | 6cecec78732f89539ae24d9ede25cb393fbee45a (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /daemon/slave.h | |
parent | 91c23b7176067e69a7d9399eae8a3787abb4ca85 (diff) | |
download | gdm-master_svn5362.tar.gz |
Move to mccann-gobject branchmaster_svn5362
svn path=/trunk; revision=5361
Diffstat (limited to 'daemon/slave.h')
-rw-r--r-- | daemon/slave.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/daemon/slave.h b/daemon/slave.h deleted file mode 100644 index b41598b9..00000000 --- a/daemon/slave.h +++ /dev/null @@ -1,61 +0,0 @@ -/* GDM - The GNOME Display Manager - * Copyright (C) 1998, 1999, 2000 Martin K. Petersen <mkp@mkp.net> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef GDM_SLAVE_H -#define GDM_SLAVE_H - -#include <glib.h> - -#include "gdm.h" -#include "display.h" - -typedef enum { - GDM_SESSION_RECORD_TYPE_LOGIN, - GDM_SESSION_RECORD_TYPE_LOGOUT, - GDM_SESSION_RECORD_TYPE_FAILED_ATTEMPT -} GdmSessionRecordType; - -void gdm_slave_start (GdmDisplay *d); -void gdm_slave_greeter_ctl_no_ret (char cmd, const char *str); -char *gdm_slave_greeter_ctl (char cmd, const char *str); -gboolean gdm_slave_greeter_check_interruption (void); -gboolean gdm_slave_action_pending (void); - -void gdm_slave_send (const char *str, gboolean wait_for_ack); -void gdm_slave_send_num (const char *opcode, long num); -void gdm_slave_send_string (const char *opcode, const char *str); -gboolean gdm_slave_final_cleanup (void); - -void gdm_slave_whack_temp_auth_file (void); - -gboolean gdm_slave_check_user_wants_to_log_in (const char *user); -gboolean gdm_is_session_magic (const char *session_name); - -/* This is the slave child handler so that we can chain to it from elsewhere */ -void gdm_slave_child_handler (int sig); -void gdm_slave_write_utmp_wtmp_record (GdmDisplay *d, - GdmSessionRecordType record_type, - const gchar *username, - GPid pid); -gchar * gdm_slave_get_display_device (GdmDisplay *d); - - -#endif /* GDM_SLAVE_H */ - -/* EOF */ - |