This is the first version of module-tunnel-manager. It was created 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 (or possibly even all hardware, and indeed currently module-tunnel-manager creates tunnels for all devices in the system instance, except monitors), 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. module-tunnel-manager doesn't currently have any configurability, but the intention is to make it configurable which server(s) and which devices it should create tunnels for. I'm not sure if the module is wanted in upstream at this point, but I'd like to get at least the module unload hook to upstream so that we don't need to rely on non-upstream core changes in our out-of-tree modules. Tanu Kaskinen (2): module: Add PA_CORE_HOOK_MODULE_UNLOAD system-tunnel-manager: New module for managing tunnels to remote servers src/Makefile.am | 8 + src/modules/module-tunnel-manager.c | 592 ++++++++++++++++++++++++++++++++++++ src/pulsecore/core.h | 1 + src/pulsecore/module.c | 2 + 4 files changed, 603 insertions(+) create mode 100644 src/modules/module-tunnel-manager.c -- 1.9.3