OpenVAS Scanner  6.0.0~git
Enumerations | Functions
otp.h File Reference

Protos for OpenVAS Transfer Protocol. More...

Go to the source code of this file.

Enumerations

enum  client_request_t {
  CREQ_UNKNOWN, CREQ_ATTACHED_FILE, CREQ_LONG_ATTACK, CREQ_PREFERENCES,
  CREQ_STOP_WHOLE_TEST, CREQ_NVT_INFO
}
 

Functions

client_request_t otp_get_client_request (char *)
 Find the enum identifier for the client request which is given. More...
 

Detailed Description

Protos for OpenVAS Transfer Protocol.

Enumeration Type Documentation

◆ client_request_t

Enumerator
CREQ_UNKNOWN 
CREQ_ATTACHED_FILE 
CREQ_LONG_ATTACK 
CREQ_PREFERENCES 
CREQ_STOP_WHOLE_TEST 
CREQ_NVT_INFO 

Function Documentation

◆ otp_get_client_request()

client_request_t otp_get_client_request ( char *  str)

Find the enum identifier for the client request which is given.

as string.

Parameters
strEnum identifier of OTP command (a client_request_t).
See also
client_request_t