From 7079cfeffb6d520f20ddff53fd78467e72e6cc94 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Jan 2015 01:16:31 +0100 Subject: importd: when listing transfers, show progress percentage With this change the pull protocol implementation processes will pass progress data to importd which then passes this information on via the bus. We use sd_notify() as generic transport for this communication, making importd listen to them, while matching the incoming messages to the right transfer. --- src/shared/def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/def.h') diff --git a/src/shared/def.h b/src/shared/def.h index 96c45a6b72..a3d9fcf388 100644 --- a/src/shared/def.h +++ b/src/shared/def.h @@ -81,3 +81,6 @@ #ifndef TTY_GID #define TTY_GID 5 #endif + +#define NOTIFY_FD_MAX 768 +#define NOTIFY_BUFFER_MAX PIPE_BUF -- cgit v1.2.3-54-g00ecf