From 8f5dd749c364a38eb79d013e6b10cbd7d847f361 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 2 Oct 2011 16:41:26 +0100 Subject: [PATCH] Include libi3.h (Thanks fernandotcl) --- include/libi3.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/libi3.h diff --git a/include/libi3.h b/include/libi3.h new file mode 100644 index 00000000..3883ba82 --- /dev/null +++ b/include/libi3.h @@ -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 -- 2.39.5