summaryrefslogtreecommitdiffstats
path: root/example/list-users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* sdbusplus: better mirror bus aquisition methodsVernon Mauery2018-12-111-1/+1
| | | | | | | | | | | | | | | This adds new functions: * new_default_user() -> return default user bus connection * new_default_system() -> returns default system connection And changes new_default() to return the default type of connection for the user as per the man page: https://www.freedesktop.org/software/systemd/man/sd_bus_default.html Also, update the example and the README to use the default bus calls. Change-Id: I13cd77dda847c4f6018da38e0019816da07710d1 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* update .clang-format header inclusion orderPatrick Venture2018-08-311-2/+2
| | | | | | | | Added the header inclusion order to the .clang-format file generated these changes. Change-Id: Ia31b21d7ea451cac0309828006bc17c27cbd5bd5 Signed-off-by: Patrick Venture <venture@google.com>
* Update repo to conform to openbmc code standardAndrew Geissler2018-02-051-5/+4
| | | | | Change-Id: If1d6b1f04514367cc544c2507a845b3e9d6d3435 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* example: add client API examplePatrick Williams2017-07-171-0/+30
Create a small application which calls org.freedesktop.login1 to display a list of the active users. Change-Id: I8d7879d98f6b89a9315aa0c71b928c50490dfedb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud