summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h
index 31367a7e..2d1cc999 100644
--- a/src/session.h
+++ b/src/session.h
@@ -57,6 +57,16 @@ typedef enum
GType session_get_type (void);
+void session_set_pam_service (Session *session, const gchar *pam_service);
+
+void session_set_username (Session *session, const gchar *username);
+
+void session_set_do_authenticate (Session *session, gboolean do_authenticate);
+
+void session_set_is_interactive (Session *session, gboolean is_interactive);
+
+void session_set_is_guest (Session *session, gboolean is_guest);
+
void session_set_log_file (Session *session, const gchar *filename);
void session_set_class (Session *session, const gchar *class);
@@ -75,10 +85,12 @@ void session_set_remote_host_name (Session *session, const gchar *remote_host_na
void session_set_env (Session *session, const gchar *name, const gchar *value);
+void session_set_argv (Session *session, gchar **argv);
+
// FIXME: Remove
User *session_get_user (Session *session);
-gboolean session_start (Session *session, const gchar *service, const gchar *username, gboolean do_authenticate, gboolean is_interactive, gboolean is_guest);
+gboolean session_start (Session *session);
const gchar *session_get_username (Session *session);
@@ -98,7 +110,7 @@ int session_get_authentication_result (Session *session);
const gchar *session_get_authentication_result_string (Session *session);
-void session_run (Session *session, gchar **argv);
+void session_run (Session *session);
void session_lock (Session *session);