OpenVAS Libraries  4.0+rc3.SVN
misc/nvt_categories.h
Go to the documentation of this file.
00001 /* OpenVAS
00002  * $Id$
00003  * Description: Category (ACT_*) definitions.
00004  *
00005  * Authors:
00006  * Renaud Deraison <deraison@nessus.org> (Original pre-fork development)
00007  *
00008  * Copyright:
00009  * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc.
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00024  */
00025 
00033 #ifndef _NVT_CATEGORIES_H
00034 #define _NVT_CATEGORIES_H
00035 
00043 #define ACT_LAST                ACT_END
00044 
00045 #define ACT_FIRST               ACT_INIT
00046 
00047 #define ACT_UNKNOWN             11
00048 #define ACT_END                 10
00049 #define ACT_FLOOD               9
00050 #define ACT_KILL_HOST           8
00051 #define ACT_DENIAL              7
00052 #define ACT_DESTRUCTIVE_ATTACK  6
00053 #define ACT_MIXED_ATTACK        5
00054 #define ACT_ATTACK              4
00055 #define ACT_GATHER_INFO         3
00056 #define ACT_SETTINGS            2
00057 #define ACT_SCANNER             1
00058 #define ACT_INIT                0
00059 
00060 #define ACT_STRING_INIT                "init"
00061 #define ACT_STRING_SCANNER             "scanner"
00062 #define ACT_STRING_SETTINGS            "settings"
00063 #define ACT_STRING_GATHER_INFO         "infos"
00064 #define ACT_STRING_ATTACK              "attack"
00065 #define ACT_STRING_MIXED_ATTACK        "mixed"
00066 #define ACT_STRING_DESTRUCTIVE_ATTACK  "destructive_attack"
00067 #define ACT_STRING_DENIAL              "denial"
00068 #define ACT_STRING_KILL_HOST           "kill_host"
00069 #define ACT_STRING_FLOOD               "flood"
00070 #define ACT_STRING_END                 "end"
00071 #define ACT_STRING_UNKNOWN             "unknown"
00072 
00073 #define ACT_STRING_LIST_ALL     ACT_STRING_INIT ,               \
00074                                 ACT_STRING_SCANNER ,            \
00075                                 ACT_STRING_SETTINGS ,           \
00076                                 ACT_STRING_GATHER_INFO ,        \
00077                                 ACT_STRING_ATTACK ,             \
00078                                 ACT_STRING_MIXED_ATTACK ,       \
00079                                 ACT_STRING_DESTRUCTIVE_ATTACK , \
00080                                 ACT_STRING_DENIAL ,             \
00081                                 ACT_STRING_KILL_HOST ,          \
00082                                 ACT_STRING_FLOOD ,              \
00083                                 ACT_STRING_END ,                \
00084                                 ACT_STRING_UNKNOWN
00085 
00086 #endif /* _NVT_CATEGORIES_H */