summaryrefslogtreecommitdiff
path: root/src/login1.h
diff options
context:
space:
mode:
authorIain Lane <iain.lane@canonical.com>2013-04-22 12:07:45 +0100
committerIain Lane <iain.lane@canonical.com>2013-04-22 12:07:45 +0100
commit5aeb5e3269ae3afb161289c88dc43093f80d1788 (patch)
tree80bc7afece99c0e07e5d30d2c362121bf352d36d /src/login1.h
parent643ccf4efa18d860e28164538ac579be7da969f5 (diff)
downloadlightdm-5aeb5e3269ae3afb161289c88dc43093f80d1788.tar.gz
Rename logind to login1 for consistency
Diffstat (limited to 'src/login1.h')
-rw-r--r--src/login1.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/login1.h b/src/login1.h
new file mode 100644
index 00000000..48b8e54c
--- /dev/null
+++ b/src/login1.h
@@ -0,0 +1,27 @@
+/*
+ * 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 _LOGIN1_H_
+#define _LOGIN1_H_
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+gchar *login1_get_session_id (void);
+
+void login1_lock_session (const gchar *session_path);
+
+void login1_unlock_session (const gchar *session_path);
+
+G_END_DECLS
+
+#endif /* _LOGIN1_H_ */