summaryrefslogtreecommitdiff
path: root/src/dbus-common.h
AgeCommit message (Collapse)Author
2012-04-10dbus: add generic DEFINE_BUS_PROPERTY_SET_ENUM() macro for enum propertiesMichael Olbrich
The defined function can be used as BusPropertySetCallback.
2012-04-10dbus: add data argument to BusPropertySetCallbackMichael Olbrich
BusPropertyCallback already has the argument. It is necesary for the callback to know what data to access.
2012-01-21dbus: export ControlGroupPersistent field on the bus againLennart Poettering
2012-01-16dbus: more efficient implementation of propertiesMichal Schmidt
The way the various properties[] arrays are initialized is inefficient: - only the .data members change at runtime, yet the whole arrays of properties with all the fields are constructed on the stack one by one by the code. - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit" are repeated in several unit types. Fix it by moving the information about properties into static const sections. Instead of storing the .data directly in the property, store a constant offset from a run-time base. The small arrays of struct BusBoundProperties bind together the constant information with the right runtime information (the base pointer). On my system the code shrinks by 60 KB, data increases by 10 KB.
2011-09-03dbus: terminate mechanism daemons after a whileLennart Poettering
2011-07-08loginctl: add various introspection functionsLennart Poettering
2011-07-07loginctl: add basic implementation of loginctl for introspecting controlling ↵Lennart Poettering
sessions/users/seats
2011-06-24logind: hook up PAM module with logindLennart Poettering
2011-06-21dbus: introduce UnsetAndSetEnvironment()Lennart Poettering
2011-06-21dbus: add api for append gid/uid propertiesLennart Poettering
2011-06-21dbus: make bus_flags_to_events() and friends generally usefulLennart Poettering
2011-05-17socket: add POSIX mqueue supportLennart Poettering
2011-04-16dbus: split out object management code into dbus-common, and simplify itLennart Poettering
2011-03-12systemctl: support remote and privileged systemctl access via SSH and pkexecLennart Poettering
This adds support for executing systemctl operations remotely or as privileged user while still running systemctl itself unprivileged and locally. This currently requires a D-Bus patch to work properly. https://bugs.freedesktop.org/show_bug.cgi?id=35230
2010-08-25dbus: simplify some dbus error messages a bitLennart Poettering
2010-08-17emacs: disable tabs in .h files, tooLennart Poettering
2010-07-07dbus: don't try to run AddMatch when connected to a private busLennart Poettering
2010-07-06install: implement --start optionLennart Poettering