OpenVAS Scanner 23.40.3
nasl_text_utils.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 * SPDX-FileCopyrightText: 2002-2003 Michel Arboi
3 * SPDX-FileCopyrightText: 2002-2003 Renaud Deraison
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 */
7
8#ifndef NASL_NASL_TEXT_UTILS_H
9#define NASL_NASL_TEXT_UTILS_H
10
11#include "nasl_lex_ctxt.h"
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
85#endif
struct struct_lex_ctxt lex_ctxt
tree_cell * nasl_ereg_replace(lex_ctxt *)
Search for a pattern in a string and replace it.
tree_cell * nasl_ereg(lex_ctxt *)
Matches a string against a regular expression.
tree_cell * nasl_tolower(lex_ctxt *)
tree_cell * nasl_ord(lex_ctxt *)
tree_cell * nasl_str_replace(lex_ctxt *)
tree_cell * nasl_insstr(lex_ctxt *)
tree_cell * nasl_stridx(lex_ctxt *)
Returns index of a substring.
tree_cell * nasl_display(lex_ctxt *)
tree_cell * nasl_int(lex_ctxt *)
tree_cell * nasl_hex(lex_ctxt *)
tree_cell * nasl_chomp(lex_ctxt *)
Takes an unnamed string argument and removes any spaces at the end of it. "Space" means white space,...
tree_cell * nasl_toupper(lex_ctxt *)
tree_cell * nasl_string(lex_ctxt *)
tree_cell * nasl_substr(lex_ctxt *)
tree_cell * nasl_rawstring(lex_ctxt *)
tree_cell * nasl_split(lex_ctxt *)
tree_cell * nasl_eregmatch(lex_ctxt *)
Does extended regular expression pattern matching.
tree_cell * nasl_strstr(lex_ctxt *)
tree_cell * nasl_egrep(lex_ctxt *)
looks for a pattern in a string, line by line.
tree_cell * nasl_crap(lex_ctxt *)
tree_cell * nasl_hexstr(lex_ctxt *)
tree_cell * nasl_strlen(lex_ctxt *)
tree_cell * nasl_strcat(lex_ctxt *)
tree_cell * nasl_match(lex_ctxt *)
struct TC tree_cell