|
OpenVAS Scanner 23.32.3
|
#include "nasl_lex_ctxt.h"

Go to the source code of this file.
Functions | |
| tree_cell * | nasl_http2_handle (lex_ctxt *) |
| Creates a handle for http requests. | |
| tree_cell * | nasl_http2_close_handle (lex_ctxt *) |
| Close a handle for http requests previously initialized. | |
| tree_cell * | nasl_http2_get_response_code (lex_ctxt *) |
| Get the http response code after performing a HTTP request. | |
| tree_cell * | nasl_http2_set_custom_header (lex_ctxt *) |
| Set a custom header element in the header. | |
| tree_cell * | nasl_http2_get (lex_ctxt *) |
| Wrapper function for GET request. See @_http2_req. | |
| tree_cell * | nasl_http2_head (lex_ctxt *) |
| Wrapper function for HEAD request. See @_http2_req. | |
| tree_cell * | nasl_http2_post (lex_ctxt *) |
| Wrapper function for POST request. See @_http2_req. | |
| tree_cell * | nasl_http2_delete (lex_ctxt *) |
| Wrapper function for DELETE request. See @_http2_req. | |
| tree_cell * | nasl_http2_put (lex_ctxt *) |
| Wrapper function for PUT request. See @_http2_req. | |
Close a handle for http requests previously initialized.
| [in] | lexic | Lexical context of NASL interpreter. |
Definition at line 129 of file nasl_http2.c.
References alloc_typed_cell(), CONST_INT, get_int_var_by_num(), handle_table_s::handle, handle_table_s::handle_id, handle_table, TC::i_val, MAX_HANDLES, and TC::x.

Wrapper function for DELETE request. See @_http2_req.
Definition at line 549 of file nasl_http2.c.
References _http2_req(), and DELETE.

Wrapper function for GET request. See @_http2_req.
Definition at line 525 of file nasl_http2.c.
References _http2_req(), and GET.

Get the http response code after performing a HTTP request.
| [in] | lexic | Lexical context of NASL interpreter. |
Definition at line 436 of file nasl_http2.c.
References alloc_typed_cell(), CONST_INT, get_int_var_by_name(), handle_table, TC::i_val, MAX_HANDLES, nasl_perror(), and TC::x.

Creates a handle for http requests.
| [in] | lexic | Lexical context of NASL interpreter. |
Definition at line 84 of file nasl_http2.c.
References alloc_typed_cell(), CONST_INT, handle_table_s::handle, handle_table_s::handle_id, handle_table, TC::i_val, MAX_HANDLES, next_handle_id(), and TC::x.

Wrapper function for HEAD request. See @_http2_req.
Definition at line 533 of file nasl_http2.c.
References _http2_req(), and HEAD.

Wrapper function for POST request. See @_http2_req.
Definition at line 541 of file nasl_http2.c.
References _http2_req(), and POST.

Wrapper function for PUT request. See @_http2_req.
Definition at line 557 of file nasl_http2.c.
References _http2_req(), and PUT.

Set a custom header element in the header.
| [in] | lexic | Lexical context of NASL interpreter. |
Definition at line 482 of file nasl_http2.c.
References alloc_typed_cell(), CONST_INT, get_int_var_by_name(), get_str_var_by_name(), handle_table, TC::i_val, MAX_HANDLES, nasl_perror(), and TC::x.
