1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- |
---|
2 | * |
---|
3 | * Copyright (C) 2006 Ray Strode <rstrode@redhat.com> |
---|
4 | * |
---|
5 | * This program is free software; you can redistribute it and/or modify |
---|
6 | * it under the terms of the GNU General Public License as published by |
---|
7 | * the Free Software Foundation; either version 2, or (at your option) |
---|
8 | * any later version. |
---|
9 | * |
---|
10 | * This program is distributed in the hope that it will be useful, |
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | * GNU General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU General Public License |
---|
16 | * along with this program; if not, write to the Free Software |
---|
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
---|
18 | * 02111-1307, USA. |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef __GDM_SESSION_RECORD_H |
---|
22 | #define __GDM_SESSION_RECORD_H |
---|
23 | |
---|
24 | #include <glib.h> |
---|
25 | |
---|
26 | G_BEGIN_DECLS |
---|
27 | |
---|
28 | void |
---|
29 | gdm_session_record_login (GPid session_pid, |
---|
30 | const char *user_name, |
---|
31 | const char *host_name, |
---|
32 | const char *x11_display_name, |
---|
33 | const char *display_device); |
---|
34 | void |
---|
35 | gdm_session_record_logout (GPid session_pid, |
---|
36 | const char *user_name, |
---|
37 | const char *host_name, |
---|
38 | const char *x11_display_name, |
---|
39 | const char *display_device); |
---|
40 | void |
---|
41 | gdm_session_record_failed (GPid session_pid, |
---|
42 | const char *user_name, |
---|
43 | const char *host_name, |
---|
44 | const char *x11_display_name, |
---|
45 | const char *display_device); |
---|
46 | |
---|
47 | |
---|
48 | G_END_DECLS |
---|
49 | |
---|
50 | #endif /* GDM_SESSION_RECORD_H */ |
---|