summaryrefslogtreecommitdiff
path: root/src/vt.h
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-04 13:08:39 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-04 13:08:39 +1000
commitfe35445bb3a63ef92d623591f54a4a87f7774069 (patch)
treeb7b4e4eadd7f26638107545c62899aa69deb7bcb /src/vt.h
parent9668ae663676334a84df3d7a536fbf63d5379934 (diff)
downloadlightdm-fe35445bb3a63ef92d623591f54a4a87f7774069.tar.gz
Move vt code into it's own module
Diffstat (limited to 'src/vt.h')
-rw-r--r--src/vt.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/vt.h b/src/vt.h
new file mode 100644
index 00000000..e6159177
--- /dev/null
+++ b/src/vt.h
@@ -0,0 +1,23 @@
+/*
+ * 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 _VT_H_
+#define _VT_H_
+
+#include <glib.h>
+
+gint vt_get_active (void);
+
+gint vt_get_unused (void);
+
+void vt_release (gint number);
+
+#endif /* _VT_H_ */