OpenVAS Libraries  8.0.3
Functions | Variables
nasl_cmd_exec.c File Reference
#include <errno.h>
#include <fcntl.h>
#include <glib.h>
#include <signal.h>
#include <string.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <unistd.h>
#include "plugutils.h"
#include "popen.h"
#include "nasl_tree.h"
#include "nasl_global_ctxt.h"
#include "nasl_func.h"
#include "nasl_var.h"
#include "nasl_lex_ctxt.h"
#include "nasl_cmd_exec.h"
#include "nasl_debug.h"

Functions

tree_cellnasl_pread (lex_ctxt *lexic)
 
tree_cellnasl_find_in_path (lex_ctxt *lexic)
 
tree_cellnasl_fread (lex_ctxt *lexic)
 Read file. More...
 
tree_cellnasl_unlink (lex_ctxt *lexic)
 Unlink file. More...
 
tree_cellnasl_fwrite (lex_ctxt *lexic)
 Write file. More...
 
tree_cellnasl_get_tmp_dir (lex_ctxt *lexic)
 
tree_cellnasl_file_stat (lex_ctxt *lexic)
 Stat file. More...
 
tree_cellnasl_file_open (lex_ctxt *lexic)
 Open file. More...
 
tree_cellnasl_file_close (lex_ctxt *lexic)
 Close file. More...
 
tree_cellnasl_file_read (lex_ctxt *lexic)
 Read file. More...
 
tree_cellnasl_file_write (lex_ctxt *lexic)
 Write file. More...
 
tree_cellnasl_file_seek (lex_ctxt *lexic)
 Seek in file. More...
 

Variables

static void(*)(*) old_sig_i () = NULL
 
static void(*)(*) old_sig_c = NULL
 

Function Documentation

tree_cell* nasl_file_close ( lex_ctxt lexic)

Close file.

tree_cell* nasl_file_open ( lex_ctxt lexic)

Open file.

tree_cell* nasl_file_read ( lex_ctxt lexic)

Read file.

tree_cell* nasl_file_seek ( lex_ctxt lexic)

Seek in file.

tree_cell* nasl_file_stat ( lex_ctxt lexic)

Stat file.

tree_cell* nasl_file_write ( lex_ctxt lexic)

Write file.

tree_cell* nasl_find_in_path ( lex_ctxt lexic)
tree_cell* nasl_fread ( lex_ctxt lexic)

Read file.

tree_cell* nasl_fwrite ( lex_ctxt lexic)

Write file.

tree_cell* nasl_get_tmp_dir ( lex_ctxt lexic)
tree_cell* nasl_pread ( lex_ctxt lexic)
Todo:
Supspects to glib replacements, all path related stuff.
tree_cell* nasl_unlink ( lex_ctxt lexic)

Unlink file.

Variable Documentation

void(*)(*) old_sig_c = NULL
void(*)(*) old_sig_i() = NULL