summaryrefslogtreecommitdiff
path: root/src/common/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/io.h')
-rw-r--r--src/common/io.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/io.h b/src/common/io.h
index 0ada366..d70c64a 100644
--- a/src/common/io.h
+++ b/src/common/io.h
@@ -28,6 +28,7 @@
#include <stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/un.h>
@@ -49,6 +50,12 @@ bool safe_send(int, const void *, size_t, int);
/* S'assure qu'un chemin donné existe dans le système. */
int ensure_path_exists(const char *);
+/* Met en place un fichier temporaire. */
+int make_tmp_file(const char *, char **);
+
+/* Met en place un canal UNIX temporaire. */
+bool build_tmp_socket(const char *, struct sockaddr_un *);
+
#endif /* _COMMON_IO_H */