The initial motivation for creating module-tunnel-manager was to help with the "cascaded setup" that we're building in Tizen IVI, i.e. we want to run a system instance to handle hardware that should be usable by multiple users simultaneously, and at the same time we want to run per-user instances to be able to deal with per-user preferences and per-seat devices. The module can connect to an arbitrary number of remote servers (where "remote" may also mean a different server on the same machine). The servers are configured in a configuration file. Changes in v2: I don't remember all the tweaks I've done, but the biggest changes are: 1) The module now supports arbitrary servers instead of always connecting just to the system instance. 2) the functionality has been moved module-tunnel-manager.so to libtunnel-manager.so, which is used also by the tunnel sink and source modules to get the stream parameters and proplist that have previously been queried from the remote server. Tanu Kaskinen (5): module: Add PA_CORE_HOOK_MODULE_UNLOAD core-util: Add pa_boolean_to_string() tunnel-manager: New module for managing tunnels to remote servers tunnel-new: Read parameters from tunnel manager when available tunnel-manager: Load tunnel sinks and sources src/Makefile.am | 21 +- src/modules/module-tunnel-sink-new.c | 154 +++- src/modules/module-tunnel-source-new.c | 155 +++- src/modules/tunnel-manager/module-tunnel-manager.c | 65 ++ src/modules/tunnel-manager/tunnel-manager-config.c | 203 +++++ src/modules/tunnel-manager/tunnel-manager-config.h | 50 ++ src/modules/tunnel-manager/tunnel-manager.c | 921 +++++++++++++++++++++ src/modules/tunnel-manager/tunnel-manager.h | 92 ++ src/pulsecore/core-util.h | 4 + src/pulsecore/core.h | 1 + src/pulsecore/module.c | 2 + 11 files changed, 1631 insertions(+), 37 deletions(-) create mode 100644 src/modules/tunnel-manager/module-tunnel-manager.c create mode 100644 src/modules/tunnel-manager/tunnel-manager-config.c create mode 100644 src/modules/tunnel-manager/tunnel-manager-config.h create mode 100644 src/modules/tunnel-manager/tunnel-manager.c create mode 100644 src/modules/tunnel-manager/tunnel-manager.h -- 1.9.3