Greenbone Security Assistant  7.0.3~git
gsad_connection_info Struct Reference

Connection information. More...

Collaboration diagram for gsad_connection_info:
Collaboration graph

Data Fields

struct MHD_PostProcessor * postprocessor
 POST processor. More...
 
char * response
 HTTP response text. More...
 
params_tparams
 Request parameters. More...
 
char * cookie
 Value of SID cookie param. More...
 
char * language
 Language code e.g. en. More...
 
int connectiontype
 1=POST, 2=GET. More...
 
int answercode
 HTTP response code. More...
 
enum content_type content_type
 Content type of response. More...
 
char * content_disposition
 Content disposition of reponse. More...
 
size_t content_length
 Content length. More...
 
gchar * redirect
 Redirect URL. More...
 

Detailed Description

Connection information.

These objects are used to hold connection information during the multiple calls of the request handler that refer to the same request.

Once a request is finished, the object will be free'd.

Definition at line 1725 of file gsad.c.

Field Documentation

◆ answercode

int gsad_connection_info::answercode

HTTP response code.

Definition at line 1733 of file gsad.c.

Referenced by serve_post().

◆ connectiontype

int gsad_connection_info::connectiontype

1=POST, 2=GET.

Definition at line 1732 of file gsad.c.

Referenced by free_resources(), handle_request(), and redirect_handler().

◆ content_disposition

char* gsad_connection_info::content_disposition

Content disposition of reponse.

Definition at line 1735 of file gsad.c.

Referenced by free_resources().

◆ content_length

size_t gsad_connection_info::content_length

Content length.

Definition at line 1736 of file gsad.c.

◆ content_type

enum content_type gsad_connection_info::content_type

Content type of response.

Definition at line 1734 of file gsad.c.

◆ cookie

char* gsad_connection_info::cookie

Value of SID cookie param.

Definition at line 1730 of file gsad.c.

Referenced by free_resources().

◆ language

char* gsad_connection_info::language

Language code e.g. en.

Definition at line 1731 of file gsad.c.

Referenced by free_resources().

◆ params

params_t* gsad_connection_info::params

Request parameters.

Definition at line 1729 of file gsad.c.

Referenced by exec_omp_post(), free_resources(), handle_request(), and redirect_handler().

◆ postprocessor

struct MHD_PostProcessor* gsad_connection_info::postprocessor

POST processor.

Definition at line 1727 of file gsad.c.

Referenced by free_resources().

◆ redirect

gchar* gsad_connection_info::redirect

Redirect URL.

Definition at line 1737 of file gsad.c.

◆ response

char* gsad_connection_info::response

HTTP response text.

Definition at line 1728 of file gsad.c.

Referenced by serve_post().


The documentation for this struct was generated from the following file: