]> git.sur5r.net Git - i3/i3/blobdiff - include/ipc.h
Bugfix: create the directory for storing the restart state (Thanks hjem)
[i3/i3] / include / ipc.h
index 418b040f55c0841d8bf854d29ad6581c500204f1..5fa4334a6620a62816aa2a9a5180ebc0a1feda85 100644 (file)
@@ -50,6 +50,12 @@ typedef void(*handler_t)(int, uint8_t*, int, uint32_t, uint32_t);
                                      int size, uint32_t message_size, \
                                      uint32_t message_type)
 
+/**
+ * Emulates mkdir -p (creates any missing folders)
+ *
+ */
+bool mkdirp(const char *path);
+
 /**
  * Handler for activity on the listening socket, meaning that a new client
  * has just connected and we should accept() him. Sets up the event handler