summaryrefslogtreecommitdiff
path: root/src/common/io.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-08-29 21:43:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-08-29 21:43:47 (GMT)
commitfa40856e942a7e1bd1cb2729645182c1fa717468 (patch)
tree954db169d2b734e661d904e502cd1c803f51c6ea /src/common/io.h
parent7f973e015eb59b626edc584a19a1ad3ffddf4867 (diff)
Defined a new way to launch updates share servers.
Diffstat (limited to 'src/common/io.h')
-rw-r--r--src/common/io.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/io.h b/src/common/io.h
index 3639d98..b67359b 100644
--- a/src/common/io.h
+++ b/src/common/io.h
@@ -27,8 +27,6 @@
#include <stdbool.h>
#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
@@ -53,8 +51,8 @@ int ensure_path_exists(const char *);
/* Met en place un fichier temporaire. */
int make_tmp_file(const char *, const char *, char **);
-/* Met en place un canal UNIX temporaire. */
-bool build_tmp_socket(const char *, struct sockaddr_un *);
+/* Copie un fichier. */
+bool copy_file(const char *, const char *);