OpenVAS Scanner 23.23.1
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.
Definition nasl_text_utils.c:670
tree_cell * nasl_ereg(lex_ctxt *)
Matches a string against a regular expression.
Definition nasl_text_utils.c:449
tree_cell * nasl_tolower(lex_ctxt *)
Definition nasl_text_utils.c:385
tree_cell * nasl_ord(lex_ctxt *)
Definition nasl_text_utils.c:366
tree_cell * nasl_str_replace(lex_ctxt *)
Definition nasl_text_utils.c:1357
tree_cell * nasl_insstr(lex_ctxt *)
Definition nasl_text_utils.c:1006
tree_cell * nasl_stridx(lex_ctxt *)
Returns index of a substring.
Definition nasl_text_utils.c:1321
tree_cell * nasl_display(lex_ctxt *)
Definition nasl_text_utils.c:295
tree_cell * nasl_int(lex_ctxt *)
Definition nasl_text_utils.c:1435
tree_cell * nasl_hex(lex_ctxt *)
Definition nasl_text_utils.c:319
tree_cell * nasl_chomp(lex_ctxt *)
Takes an unnamed string argument and removes any spaces at the end of it. "Space" means white space,...
Definition nasl_text_utils.c:1195
tree_cell * nasl_toupper(lex_ctxt *)
Definition nasl_text_utils.c:409
tree_cell * nasl_string(lex_ctxt *)
Definition nasl_text_utils.c:39
tree_cell * nasl_substr(lex_ctxt *)
Definition nasl_text_utils.c:950
tree_cell * nasl_rawstring(lex_ctxt *)
Definition nasl_text_utils.c:136
tree_cell * nasl_split(lex_ctxt *)
Definition nasl_text_utils.c:1088
tree_cell * nasl_eregmatch(lex_ctxt *)
Does extended regular expression pattern matching.
Definition nasl_text_utils.c:850
tree_cell * nasl_strstr(lex_ctxt *)
Definition nasl_text_utils.c:1280
tree_cell * nasl_egrep(lex_ctxt *)
looks for a pattern in a string, line by line.
Definition nasl_text_utils.c:725
tree_cell * nasl_crap(lex_ctxt *)
Definition nasl_text_utils.c:1218
tree_cell * nasl_hexstr(lex_ctxt *)
Definition nasl_text_utils.c:339
tree_cell * nasl_strlen(lex_ctxt *)
Definition nasl_text_utils.c:252
tree_cell * nasl_strcat(lex_ctxt *)
Definition nasl_text_utils.c:263
tree_cell * nasl_match(lex_ctxt *)
Definition nasl_text_utils.c:1064
struct TC tree_cell