chiark / gitweb /
bus: when introspecting, turn unprivileged flag into inverse annoation of "privileged"
authorLennart Poettering <lennart@poettering.net>
Sat, 21 Dec 2013 17:08:39 +0000 (18:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 21 Dec 2013 17:08:39 +0000 (18:08 +0100)
commit7fb411f035e68b5f3f5e2893157739c9da9917b0
treefc342dcdf2623ec3421ea253bd5ce0a8b571f7a4
parentb2bb3469fd01cec57f1f1726edb5b851ff8427ad
bus: when introspecting, turn unprivileged flag into inverse annoation of "privileged"

Internally, it makes sense to have a default of "privileged" for
methods, and a flag to open it up. However, externally in the bus
introspection turn this around since negative options actually suck.
src/libsystemd-bus/bus-introspect.c
src/libsystemd-bus/bus-introspect.h
src/libsystemd-bus/bus-objects.c
src/libsystemd-bus/test-bus-introspect.c