From: Michael Stapelberg Date: Sun, 2 Oct 2011 15:41:26 +0000 (+0100) Subject: Include libi3.h (Thanks fernandotcl) X-Git-Tag: 4.1~127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f5dd749c364a38eb79d013e6b10cbd7d847f361;p=i3%2Fi3 Include libi3.h (Thanks fernandotcl) --- 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