mptcpd
mptcpd copied to clipboard
Plugins configuration files
I think it would be nice if mptcpd provided a function for plugins to load their configuration from a file. Currently if a plugin needs some kind of configuration the plugin has to do everything, including defining where the configuration is located. With this function, all it needs to do is simply call it, probably giving as arguments the configuration file name and a parser function.
Additionally, a new option could be added to mptcpd to set which directory mptcpd should use to look up the configuration files.