]> git.sur5r.net Git - ngadmin/blobdiff - cli/com_scan.c
Added support for creating and deleting a 802.1q VLAN.
[ngadmin] / cli / com_scan.c
index 51b24b823ae28e83bd503e83585d7c6e26b6fd31..98744ffc36eb7782b21a6366a9414655104c7dd6 100644 (file)
@@ -1,10 +1,9 @@
 
-#include "common.h"
+#include "commands.h"
 
 
 
-
-static bool do_scan (const struct TreeNode *tn UNUSED, int nb UNUSED, const char **com UNUSED, struct ngadmin *nga) {
+bool do_scan (int nb UNUSED, const char **com UNUSED, struct ngadmin *nga) {
  
  int i;
  const struct swi_attr *sa;
@@ -24,8 +23,3 @@ static bool do_scan (const struct TreeNode *tn UNUSED, int nb UNUSED, const char
 }
 
 
-
-const struct TreeNode com_scan=COM("scan", do_scan, false, NULL);
-
-
-