OpenVAS Scanner
5.1.3
otp.h
Go to the documentation of this file.
1
/* OpenVAS
2
* $Id$
3
* Description: Protos for OpenVAS Transfer Protocol.
4
*
5
* Authors:
6
* Jan-Oliver Wagner <jan-oliver.wagner@intevation.de>
7
*
8
* Copyright:
9
* Copyright (C) 2009 Greenbone Networks GmbH
10
*
11
* This program is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public License
13
* as published by the Free Software Foundation; either version 2
14
* of the License, or (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24
*
25
*/
26
27
#ifndef _OTP_H
28
#define _OTP_H
29
30
typedef
enum
31
{
32
CREQ_UNKNOWN
,
33
CREQ_ATTACHED_FILE
,
34
CREQ_LONG_ATTACK
,
35
CREQ_PREFERENCES
,
36
CREQ_STOP_WHOLE_TEST
,
37
CREQ_NVT_INFO
,
38
}
client_request_t
;
39
40
client_request_t
otp_get_client_request
(
char
*);
41
42
#endif
CREQ_UNKNOWN
Definition:
otp.h:32
CREQ_STOP_WHOLE_TEST
Definition:
otp.h:36
client_request_t
client_request_t
Definition:
otp.h:30
otp_get_client_request
client_request_t otp_get_client_request(char *)
Find the enum identifier for the client request which is given.
Definition:
otp.c:42
CREQ_ATTACHED_FILE
Definition:
otp.h:33
CREQ_NVT_INFO
Definition:
otp.h:37
CREQ_LONG_ATTACK
Definition:
otp.h:34
CREQ_PREFERENCES
Definition:
otp.h:35
src
otp.h
Generated on Tue Feb 26 2019 14:24:20 for OpenVAS Scanner by
1.8.15