chiark / gitweb /
bus: add code to create custom endpoints and set their policy
authorDaniel Mack <zonque@gmail.com>
Mon, 18 Aug 2014 17:58:42 +0000 (19:58 +0200)
committerDaniel Mack <daniel@zonque.org>
Mon, 8 Sep 2014 09:06:45 +0000 (11:06 +0200)
commite7d718afdb28b1049d382604e5e7bf1d213a8291
treec36560fef6105abc4dbcbc9b5c3c0b754f1752e0
parentbb7dd0b04a6e89674100476eed0bbd05c6a4cbd8
bus: add code to create custom endpoints and set their policy

Custom endpoints are alternative connection points to a bus, allowing
specific policy to be uploaded.

Add two functions to bus-kernel. One to create such endpoints, and another
one for setting a policy for them.
src/libsystemd/sd-bus/bus-kernel.c
src/libsystemd/sd-bus/bus-kernel.h