discover: Handle plugin install request
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 16 Jun 2017 05:09:55 +0000 (15:09 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 03:38:17 +0000 (13:38 +1000)
commit37feda62bd2835eabc779d275301a9b763521f7a
tree6a92baf2ea721f2bc55551f16c9f5651ed83949c
parentff54a215f0ce4c25262b24038841b58274cc51d3
discover: Handle plugin install request

Handle "_PLUGIN_INSTALL" requests from clients. Calling the pb-plugin
script from pb-discover ensures different clients don't trip over each
other. Successfully installed plugins are automatically communicated
back to clients once pb-plugin sends a 'plugin' user event.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c
discover/device-handler.h
discover/discover-server.c
lib/pb-protocol/pb-protocol.h