lifecycle: implement requires keyword

This commit is contained in:
Ariadne Conill 2020-07-24 03:42:34 -06:00
parent bc88e3fcd2
commit 38537339ab
4 changed files with 68 additions and 8 deletions

View file

@ -20,7 +20,7 @@
#include "libifupdown/execute.h"
extern bool lif_lifecycle_run_phase(const struct lif_execute_opts *opts, struct lif_interface *iface, const char *phase, const char *lifname, bool up);
extern bool lif_lifecycle_run(const struct lif_execute_opts *opts, struct lif_interface *iface, struct lif_dict *state, const char *lifname, bool up);
extern bool lif_lifecycle_run(const struct lif_execute_opts *opts, struct lif_interface *iface, struct lif_dict *collection, struct lif_dict *state, const char *lifname, bool up);
#endif