1 | /* gdm-solaris-session-auditor.h - Object for solaris auditing of session login/logout |
---|
2 | * |
---|
3 | * Copyright (C) 2004, 2008 Sun Microsystems, Inc. |
---|
4 | * Copyright (C) 2005, 2008 Red Hat, Inc. |
---|
5 | * |
---|
6 | * This program is free software; you can redistribute it and/or modify |
---|
7 | * it under the terms of the GNU General Public License as published by |
---|
8 | * the Free Software Foundation; either version 2, or (at your option) |
---|
9 | * any later version. |
---|
10 | * |
---|
11 | * This program is distributed in the hope that it will be useful, |
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | * GNU General Public License for more details. |
---|
15 | * |
---|
16 | * You should have received a copy of the GNU General Public License |
---|
17 | * along with this program; if not, write to the Free Software |
---|
18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
---|
19 | * 02111-1307, USA. |
---|
20 | * |
---|
21 | * Written by: Brian A. Cameron <Brian.Cameron@sun.com> |
---|
22 | * Gary Winiger <Gary.Winiger@sun.com> |
---|
23 | * Ray Strode <rstrode@redhat.com> |
---|
24 | * Steve Grubb <sgrubb@redhat.com> |
---|
25 | */ |
---|
26 | #ifndef GDM_SESSION_SOLARIS_AUDITOR_H |
---|
27 | #define GDM_SESSION_SOLARIS_AUDITOR_H |
---|
28 | |
---|
29 | #include <glib.h> |
---|
30 | #include <glib-object.h> |
---|
31 | |
---|
32 | #include "gdm-session-auditor.h" |
---|
33 | |
---|
34 | G_BEGIN_DECLS |
---|
35 | #define GDM_TYPE_SESSION_SOLARIS_AUDITOR (gdm_session_solaris_auditor_get_type ()) |
---|
36 | #define GDM_SESSION_SOLARIS_AUDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDM_TYPE_SESSION_SOLARIS_AUDITOR, GdmSessionSolarisAuditor)) |
---|
37 | #define GDM_SESSION_SOLARIS_AUDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDM_TYPE_SESSION_SOLARIS_AUDITOR, GdmSessionSolarisAuditorClass)) |
---|
38 | #define GDM_IS_SESSION_SOLARIS_AUDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDM_TYPE_SESSION_SOLARIS_AUDITOR)) |
---|
39 | #define GDM_IS_SESSION_SOLARIS_AUDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDM_TYPE_SESSION_SOLARIS_AUDITOR)) |
---|
40 | #define GDM_SESSION_SOLARIS_AUDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GDM_TYPE_SESSION_SOLARIS_AUDITOR, GdmSessionSolarisAuditorClass)) |
---|
41 | #define GDM_SESSION_SOLARIS_AUDITOR_ERROR (gdm_session_solaris_auditor_error_quark ()) |
---|
42 | typedef struct _GdmSessionSolarisAuditor GdmSessionSolarisAuditor; |
---|
43 | typedef struct _GdmSessionSolarisAuditorClass GdmSessionSolarisAuditorClass; |
---|
44 | typedef struct _GdmSessionSolarisAuditorPrivate GdmSessionSolarisAuditorPrivate; |
---|
45 | |
---|
46 | struct _GdmSessionSolarisAuditor |
---|
47 | { |
---|
48 | GdmSessionAuditor parent; |
---|
49 | |
---|
50 | /*< private > */ |
---|
51 | GdmSessionSolarisAuditorPrivate *priv; |
---|
52 | }; |
---|
53 | |
---|
54 | struct _GdmSessionSolarisAuditorClass |
---|
55 | { |
---|
56 | GdmSessionAuditorClass parent_class; |
---|
57 | }; |
---|
58 | |
---|
59 | GType gdm_session_solaris_auditor_get_type (void); |
---|
60 | GdmSessionAuditor *gdm_session_solaris_auditor_new (const char *hostname, |
---|
61 | const char *display_device); |
---|
62 | G_END_DECLS |
---|
63 | #endif /* GDM_SESSION_SOLARIS_AUDITOR_H */ |
---|