add support for sharing fd and pool with clients 14/201214/4
authorAdrian Szyndela <adrian.s@samsung.com>
Mon, 11 Mar 2019 09:54:03 +0000 (10:54 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 15 Mar 2019 13:59:45 +0000 (14:59 +0100)
commit906c00cc8073e369422294544c2e36d2f87b35f4
tree96af4ce6ca73179eb84e55df95239efc0feeab55
parent2ea6c460194a298d1d9f5c1d81f20977ff16a76e
add support for sharing fd and pool with clients

This adds two new API functions, which can be used for sharing
kdbus fd and kdbus pool with the library clients.

Until now, the library created its own connection each time
it was initialized, effectively allocating 1MB of memory
only for getting small responses to one of kdbus ioctls.

This kind of activity may be performed on any usable kdbus
connection. Thus, the idea of sharing existing connections
with libdbuspolicy.

As it is a change of interface (two new API functions), the version
of library and package has been bumped up.

Change-Id: I7bae7a60a386f1c3bc35c88528c9f2baa2c57e34
Makefile.am
configure.ac
packaging/libdbuspolicy.spec
src/dbuspolicy1/libdbuspolicy1.h
src/libdbuspolicy1.c
src/libdbuspolicy1.sym