use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / vserver-start / interface.h
index 2277950..3913c18 100644 (file)
 #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 {
@@ -44,8 +45,8 @@ 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 *);
@@ -53,6 +54,8 @@ bool          Iface_read(struct Interface *, PathInfo *cfgdir,
                           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"