summaryrefslogtreecommitdiff
path: root/daemon/gdm-session-private.h
blob: ef7ca79e1bf2f13a60ab1386e2c8e4bce3f5ede9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 *
 * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */

#ifndef __GDM_SESSION_PRIVATE_H
#define __GDM_SESSION_PRIVATE_H

#include <glib-object.h>
#include "gdm-session.h"

G_BEGIN_DECLS

/* state changes */
void             _gdm_session_conversation_started         (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_conversation_stopped         (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_service_unavailable          (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_setup_complete               (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_setup_failed                 (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *message);
void             _gdm_session_reset_complete               (GdmSession   *session);
void             _gdm_session_reset_failed                 (GdmSession   *session,
                                                            const char   *message);
void             _gdm_session_authenticated                (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_authentication_failed        (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);
void             _gdm_session_authorized                   (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_authorization_failed         (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);
void             _gdm_session_accredited                   (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_accreditation_failed         (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);
void             _gdm_session_session_opened               (GdmSession   *session,
                                                            const char   *service_name);
void             _gdm_session_session_open_failed          (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *message);
void             _gdm_session_session_started              (GdmSession   *session,
                                                            const char   *service_name,
                                                            int           pid);
void             _gdm_session_session_start_failed         (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *message);
void             _gdm_session_session_exited               (GdmSession   *session,
                                                            int           exit_code);
void             _gdm_session_session_died                 (GdmSession   *session,
                                                            int           signal_number);

/* user settings read from ~/.dmrc / system defaults */
void             _gdm_session_default_language_name_changed     (GdmSession   *session,
                                                                 const char   *language_name);
void             _gdm_session_default_session_name_changed      (GdmSession   *session,
                                                                 const char   *session_name);
/* user is selected/changed internally */
void             _gdm_session_selected_user_changed        (GdmSession   *session,
                                                            const char   *text);

/* call and response stuff */
void             _gdm_session_info_query                   (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);
void             _gdm_session_secret_info_query            (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);
void             _gdm_session_info                         (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);
void             _gdm_session_problem                      (GdmSession   *session,
                                                            const char   *service_name,
                                                            const char   *text);

G_END_DECLS

#endif /* __GDM_SESSION_PRIVATE_H */