commit | 021b91f045967d798528baba117ecf957c7838bd | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Apr 28 11:51:52 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Apr 28 12:26:52 2016 +0800 |
tree | 7344334f7c736a6a63160eeb5ead0a13879e76d9 | |
parent | 2eacda524e98c7964e542e01aabf82360cf60344 [diff] |
server: Allow handlers to fail init If a handler fails its init, we don't want to invoke its callbacks. This change adds a flag to struct handlers, to indicate whether a handler is active (ie, init() has returned success). Only active handlers are used. We also change the handler list output to indicate which are active. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>