config-parser: Store service directories in structs
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 17 Feb 2017 15:03:02 +0000 (15:03 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Feb 2017 13:23:37 +0000 (13:23 +0000)
commit11c23a460c05b18d29083faac683bb78d20cdc5a
tree525baf0c12ed90c34e0f4592c2115e8c12f5902b
parentca3805b1d9c51e02a229dd7c36abcc7045eee3d9
config-parser: Store service directories in structs

This lets us give them a flags word, which we immediately use to
track whether this directory should be watched with inotify or
equivalent.

The struct name is unfortunately a bit odd, because I had aimed to
use BusServiceDir, but activation.c already has BusServiceDirectory
so that would have been too confusing.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99825
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/activation.c
bus/config-parser.c
bus/config-parser.h