summaryrefslogtreecommitdiff
path: root/src/session-child.h
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-03-01 14:29:29 +1100
committerRobert Ancell <robert.ancell@canonical.com>2012-03-01 14:29:29 +1100
commita5c9f9f4c0a163dd487b5918f2742b08ab990dfb (patch)
tree7f302f236a9e0b0fcc7305b28462d93c2872bea7 /src/session-child.h
parente86b408cd06e9a8ca9d4baf1e7ad73537637f450 (diff)
downloadlightdm-a5c9f9f4c0a163dd487b5918f2742b08ab990dfb.tar.gz
Restructure session code so the PAM authentication is run in its own process.
Diffstat (limited to 'src/session-child.h')
-rw-r--r--src/session-child.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/session-child.h b/src/session-child.h
new file mode 100644
index 00000000..39f32509
--- /dev/null
+++ b/src/session-child.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2010-2011 Robert Ancell.
+ * Author: Robert Ancell <robert.ancell@canonical.com>
+ *
+ * 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 3 of the License, or (at your option) any later
+ * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
+ * license.
+ */
+
+#ifndef _SESSION_CHILD_H_
+#define _SESSION_CHILD_H_
+
+int session_child_run (int argc, char **argv);
+
+#endif /* _SESSION_CHILD_H_ */