plugin: store pointer to exec timeout value in the ops structure
authorJo-Philipp Wich <jo@mein.io>
Wed, 28 Nov 2018 11:09:35 +0000 (12:09 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 28 Nov 2018 11:10:40 +0000 (12:10 +0100)
commit7235f348958969d8aa0bfffd167acd3cd161efd0
tree777919eac81590fad5be61ee68bc0bef73f48700
parentccd7c0af75da808ce284a8fb321ce4571bd250af
plugin: store pointer to exec timeout value in the ops structure

This is required for plugins that need access to the configured execution
timeout. The global variable cannot be used as-is since we dlopen() with
RTLD_LOCAL.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include/rpcd/plugin.h
plugin.c