summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-24 22:02:05 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-25 02:33:34 +0100
commit2c93b4efeca3ccf38d604d85490b796e875e2c31 (patch)
tree70e0742b2580b37e742b8d72d9c306b0abe016eb /src/libsystemd-bus/bus-internal.h
parent3f95f83c548d180cddc6b9907f8d8d72ebd5abe9 (diff)
bus: implement support for FD passing
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 82f60849d5..cdd7b2164f 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -114,6 +114,9 @@ struct sd_bus {
struct ucred ucred;
char label[NAME_MAX];
+
+ int *fds;
+ unsigned n_fds;
};
static inline void bus_unrefp(sd_bus **b) {
@@ -137,6 +140,8 @@ static inline void bus_unrefp(sd_bus **b) {
* bytes */
#define BUS_ARRAY_MAX_SIZE 67108864
+#define BUS_FDS_MAX 1024
+
bool object_path_is_valid(const char *p);
bool interface_name_is_valid(const char *p);
bool service_name_is_valid(const char *p);