[Openvas-commits] r5515 - in trunk/openvas-libraries: . include

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 13 17:58:13 CEST 2009


Author: mattm
Date: 2009-10-13 17:58:12 +0200 (Tue, 13 Oct 2009)
New Revision: 5515

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/include/nvt_categories.h
Log:
	* include/nvt_categories.h (ACT_UNKNOWN, ACT_STRING_INIT)
	(ACT_STRING_SCANNER, ACT_STRING_SETTINGS, ACT_STRING_GATHER_INFO)
	(ACT_STRING_ATTACK, ACT_STRING_MIXED_ATTACK)
	(ACT_STRING_DESTRUCTIVE_ATTACK, ACT_STRING_DENIAL, ACT_STRING_KILL_HOST)
	(ACT_STRING_FLOOD, ACT_STRING_END, ACT_STRING_UNKNOWN)
	(ACT_STRING_LIST_ALL): New defines.

Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2009-10-13 14:15:55 UTC (rev 5514)
+++ trunk/openvas-libraries/ChangeLog	2009-10-13 15:58:12 UTC (rev 5515)
@@ -1,3 +1,12 @@
+2009-10-13  Matthew Mundell <matthew.mundell at intevation.de>
+
+	* include/nvt_categories.h (ACT_UNKNOWN, ACT_STRING_INIT)
+	(ACT_STRING_SCANNER, ACT_STRING_SETTINGS, ACT_STRING_GATHER_INFO)
+	(ACT_STRING_ATTACK, ACT_STRING_MIXED_ATTACK)
+	(ACT_STRING_DESTRUCTIVE_ATTACK, ACT_STRING_DENIAL, ACT_STRING_KILL_HOST)
+	(ACT_STRING_FLOOD, ACT_STRING_END, ACT_STRING_UNKNOWN)
+	(ACT_STRING_LIST_ALL): New defines.
+
 2009-10-10  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* omp/omp.c (omp_modify_task_file): New function.

Modified: trunk/openvas-libraries/include/nvt_categories.h
===================================================================
--- trunk/openvas-libraries/include/nvt_categories.h	2009-10-13 14:15:55 UTC (rev 5514)
+++ trunk/openvas-libraries/include/nvt_categories.h	2009-10-13 15:58:12 UTC (rev 5515)
@@ -44,6 +44,7 @@
 /** First plugins actions type. */
 #define ACT_FIRST               ACT_INIT
 
+#define ACT_UNKNOWN             11
 #define ACT_END                 10
 #define ACT_FLOOD               9
 #define ACT_KILL_HOST           8
@@ -56,4 +57,30 @@
 #define ACT_SCANNER             1
 #define ACT_INIT                0
 
+#define ACT_STRING_INIT                "init"
+#define ACT_STRING_SCANNER             "scanner"
+#define ACT_STRING_SETTINGS            "settings"
+#define ACT_STRING_GATHER_INFO         "infos"
+#define ACT_STRING_ATTACK              "attack"
+#define ACT_STRING_MIXED_ATTACK        "mixed"
+#define ACT_STRING_DESTRUCTIVE_ATTACK  "destructive_attack"
+#define ACT_STRING_DENIAL              "denial"
+#define ACT_STRING_KILL_HOST           "kill_host"
+#define ACT_STRING_FLOOD               "flood"
+#define ACT_STRING_END                 "end"
+#define ACT_STRING_UNKNOWN             "unknown"
+
+#define ACT_STRING_LIST_ALL     ACT_STRING_INIT ,               \
+                                ACT_STRING_SCANNER ,            \
+                                ACT_STRING_SETTINGS ,           \
+                                ACT_STRING_GATHER_INFO ,        \
+                                ACT_STRING_ATTACK ,             \
+                                ACT_STRING_MIXED_ATTACK ,       \
+                                ACT_STRING_DESTRUCTIVE_ATTACK , \
+                                ACT_STRING_DENIAL ,             \
+                                ACT_STRING_KILL_HOST ,          \
+                                ACT_STRING_FLOOD ,              \
+                                ACT_STRING_END ,                \
+                                ACT_STRING_UNKNOWN
+
 #endif /* _NVT_CATEGORIES_H */



More information about the Openvas-commits mailing list