#ifndef H_UTIL_VSERVER_VSERVER_START_INTERFACE_H
#define H_UTIL_VSERVER_VSERVER_START_INTERFACE_H
-#include <lib_internal/util-cast.h>
+#include "configuration.h"
-#include <lib/vserver.h>
+#include <lib_internal/util-cast.h>
#include <lib_internal/pathinfo.h>
+#include <lib/vserver.h>
#include <stdbool.h>
struct Interface {
bool up;
};
-void activateInterfaces();
-void deactivateInterfaces();
+void activateInterfaces(InterfaceList const *interfaces);
+void deactivateInterfaces(InterfaceList const *interfaces);
static void Iface_init(struct Interface *);
static void Iface_free(struct Interface *);
struct Interface const *dflt);
bool Iface_add(struct Interface const *);
bool Iface_del(struct Interface const *);
+bool Iface_remove(struct Interface const *);
+void Iface_print(struct Interface const *, int fd);
#include "interface-init.hc"
#include "interface-free.hc"