diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-01-28 00:57:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-01-28 00:57:38 +0100 |
commit | b28ff39f42877daef31383748fd2f313d7fd67c1 (patch) | |
tree | cae837d424b95ef5057b3c48cab8c4280073fbb8 /src/libsystemd/sd-bus/bus-internal.h | |
parent | bus: add API calls for connecting to starter bus (diff) | |
download | systemd-b28ff39f42877daef31383748fd2f313d7fd67c1.tar.xz systemd-b28ff39f42877daef31383748fd2f313d7fd67c1.zip |
bus: rework bloom filter logic to operate with variable bloom filter
sizes and numbers of hash functions
In order to make the bloom filter logic more future proof communicate
bloom filter parameters from the original bus creator to the clients,
and allow them to be variable within certain ranges.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd/sd-bus/bus-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h index 69e07018d8..a4160ef4a1 100644 --- a/src/libsystemd/sd-bus/bus-internal.h +++ b/src/libsystemd/sd-bus/bus-internal.h @@ -271,6 +271,9 @@ struct sd_bus { char *cgroup_root; char *connection_name; + + size_t bloom_size; + unsigned bloom_n_hash; }; #define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC)) |