1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lwsws
Andy Green cae57ad98d plugins_dir convert to array
If OOT lws plugins will be packaged as separate projects,
they're going to want to install their plugins somewhere
that makes sense for the package instead of one big lws
plugin dir.

This patch changes info to have a const char ** to a NULL
terminated array of directories it should search for
plugins.  lwsws knows about this and you can add to the
dir array using config fragments like

{
  "global": {
   "plugin-dir": "/usr/local/share/coherent-timeline/plugins"
  }
}

if the config fragment in /etc/lwsws/conf.d/ is also managed by the
package with the plugin, it can very cleanly add and remove itself
from lwsws based on package install status.

Signed-off-by: Andy Green <andy@warmcat.com>
2016-05-02 10:03:25 +08:00
..
conf.c plugins_dir convert to array 2016-05-02 10:03:25 +08:00
etc-logrotate.d-lwsws logs document logrotate configuration for lwsws 2016-04-26 19:07:17 +08:00
etc-lwsws-conf-EXAMPLE http cache policy 2016-04-22 08:53:49 +08:00
etc-lwsws-conf.d-localhost-EXAMPLE http cache policy 2016-04-22 08:53:49 +08:00
http.c post example in test server 2016-04-25 10:04:49 +08:00
lejp.c lwsws protocol filter and options 2016-04-08 16:13:14 +08:00
lejp.h cgi post 2016-04-13 11:53:40 +08:00
lwsws.h post example in test server 2016-04-25 10:04:49 +08:00
main.c plugins_dir convert to array 2016-05-02 10:03:25 +08:00
usr-lib-systemd-system-lwsws.service logs document logrotate configuration for lwsws 2016-04-26 19:07:17 +08:00