diff --git a/include/types/applet.h b/include/types/applet.h index 13817b22a..799df91a3 100644 --- a/include/types/applet.h +++ b/include/types/applet.h @@ -40,6 +40,7 @@ struct applet { expect 1 if ok, 0 if an error occurs, -1 if miss data. */ void (*fct)(struct appctx *); /* internal I/O handler, may never be NULL */ void (*release)(struct appctx *); /* callback to release resources, may be NULL */ + unsigned int timeout; /* execution timeout. */ }; /* Context of a running applet. */