Greenbone Security Assistant  7.0.0
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 1688 of file gsad.c.

Field Documentation

int gsad_connection_info::answercode

HTTP response code.

Definition at line 1696 of file gsad.c.

Referenced by exec_omp_post(), handle_request(), and serve_post().

int gsad_connection_info::connectiontype

1=POST, 2=GET.

Definition at line 1695 of file gsad.c.

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

char* gsad_connection_info::content_disposition

Content disposition of reponse.

Definition at line 1698 of file gsad.c.

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

size_t gsad_connection_info::content_length

Content length.

Definition at line 1699 of file gsad.c.

Referenced by exec_omp_post(), and handle_request().

enum content_type gsad_connection_info::content_type

Content type of response.

Definition at line 1697 of file gsad.c.

Referenced by exec_omp_post(), and handle_request().

char* gsad_connection_info::cookie

Value of SID cookie param.

Definition at line 1693 of file gsad.c.

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

char* gsad_connection_info::language

Language code e.g. en.

Definition at line 1694 of file gsad.c.

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

params_t* gsad_connection_info::params

Request parameters.

Definition at line 1692 of file gsad.c.

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

struct MHD_PostProcessor* gsad_connection_info::postprocessor

POST processor.

Definition at line 1690 of file gsad.c.

Referenced by free_resources(), and handle_request().

gchar* gsad_connection_info::redirect

Redirect URL.

Definition at line 1700 of file gsad.c.

Referenced by exec_omp_post(), and handle_request().

char* gsad_connection_info::response

HTTP response text.

Definition at line 1691 of file gsad.c.

Referenced by exec_omp_post(), handle_request(), and serve_post().


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