OpenVAS Scanner 21.4.1
Macros | Functions
nasl_http.c File Reference
#include "nasl_http.h"
#include "../misc/plugutils.h"
#include "../misc/vendorversion.h"
#include "exec.h"
#include "nasl_debug.h"
#include "nasl_func.h"
#include "nasl_global_ctxt.h"
#include "nasl_lex_ctxt.h"
#include "nasl_socket.h"
#include "nasl_tree.h"
#include "nasl_var.h"
#include <ctype.h>
#include <glib.h>
#include <gvm/base/prefs.h>
#include <gvm/util/kb.h>
#include <string.h>

Macros

#define G_LOG_DOMAIN   "lib nasl"
 GLib log domain. More...
 

Functions

tree_cellhttp_open_socket (lex_ctxt *lexic)
 
tree_cellhttp_close_socket (lex_ctxt *lexic)
 
static char * build_encode_URL (char *method, char *path, char *name, char *httpver)
 
static tree_cell_http_req (lex_ctxt *lexic, char *keyword)
 
tree_cellhttp_get (lex_ctxt *lexic)
 
tree_cellhttp_head (lex_ctxt *lexic)
 
tree_cellhttp_post (lex_ctxt *lexic)
 
tree_cellhttp_delete (lex_ctxt *lexic)
 
tree_cellhttp_put (lex_ctxt *lexic)
 
tree_cellcgibin (lex_ctxt *lexic)
 

Macro Definition Documentation

◆ G_LOG_DOMAIN

#define G_LOG_DOMAIN   "lib nasl"

GLib log domain.

Function Documentation

◆ _http_req()

static tree_cell * _http_req ( lex_ctxt lexic,
char *  keyword 
)
static

◆ build_encode_URL()

static char * build_encode_URL ( char *  method,
char *  path,
char *  name,
char *  httpver 
)
static

◆ cgibin()

tree_cell * cgibin ( lex_ctxt lexic)

◆ http_close_socket()

tree_cell * http_close_socket ( lex_ctxt lexic)

◆ http_delete()

tree_cell * http_delete ( lex_ctxt lexic)

◆ http_get()

tree_cell * http_get ( lex_ctxt lexic)

◆ http_head()

tree_cell * http_head ( lex_ctxt lexic)

◆ http_open_socket()

tree_cell * http_open_socket ( lex_ctxt lexic)

◆ http_post()

tree_cell * http_post ( lex_ctxt lexic)

◆ http_put()

tree_cell * http_put ( lex_ctxt lexic)