]> git.sur5r.net Git - i3/i3/commitdiff
Include libi3.h (Thanks fernandotcl)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 2 Oct 2011 15:41:26 +0000 (16:41 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 2 Oct 2011 15:41:26 +0000 (16:41 +0100)
include/libi3.h [new file with mode: 0644]

diff --git a/include/libi3.h b/include/libi3.h
new file mode 100644 (file)
index 0000000..3883ba8
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * vim:ts=4:sw=4:expandtab
+ */
+
+#ifndef _LIBI3_H
+#define _LIBI3_H
+
+/**
+ * Try to get the socket path from X11 and return NULL if it doesn’t work.
+ *
+ * The memory for the socket path is dynamically allocated and has to be
+ * free()d by the caller.
+ *
+ */
+char *socket_path_from_x11();
+
+#endif