OpenVAS Scanner 23.40.0
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:678
tree_cell * nasl_ereg(lex_ctxt *)
Matches a string against a regular expression.
Definition nasl_text_utils.c:457
tree_cell * nasl_tolower(lex_ctxt *)
Definition nasl_text_utils.c:393
tree_cell * nasl_ord(lex_ctxt *)
Definition nasl_text_utils.c:374
tree_cell * nasl_str_replace(lex_ctxt *)
Definition nasl_text_utils.c:1366
tree_cell * nasl_insstr(lex_ctxt *)
Definition nasl_text_utils.c:1015
tree_cell * nasl_stridx(lex_ctxt *)
Returns index of a substring.
Definition nasl_text_utils.c:1330
tree_cell * nasl_display(lex_ctxt *)
Definition nasl_text_utils.c:303
tree_cell * nasl_int(lex_ctxt *)
Definition nasl_text_utils.c:1444
tree_cell * nasl_hex(lex_ctxt *)
Definition nasl_text_utils.c:327
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:1204
tree_cell * nasl_toupper(lex_ctxt *)
Definition nasl_text_utils.c:417
tree_cell * nasl_string(lex_ctxt *)
Definition nasl_text_utils.c:40
tree_cell * nasl_substr(lex_ctxt *)
Definition nasl_text_utils.c:958
tree_cell * nasl_rawstring(lex_ctxt *)
Definition nasl_text_utils.c:138
tree_cell * nasl_split(lex_ctxt *)
Definition nasl_text_utils.c:1097
tree_cell * nasl_eregmatch(lex_ctxt *)
Does extended regular expression pattern matching.
Definition nasl_text_utils.c:858
tree_cell * nasl_strstr(lex_ctxt *)
Definition nasl_text_utils.c:1289
tree_cell * nasl_egrep(lex_ctxt *)
looks for a pattern in a string, line by line.
Definition nasl_text_utils.c:733
tree_cell * nasl_crap(lex_ctxt *)
Definition nasl_text_utils.c:1227
tree_cell * nasl_hexstr(lex_ctxt *)
Definition nasl_text_utils.c:347
tree_cell * nasl_strlen(lex_ctxt *)
Definition nasl_text_utils.c:254
tree_cell * nasl_strcat(lex_ctxt *)
Definition nasl_text_utils.c:265
tree_cell * nasl_match(lex_ctxt *)
Definition nasl_text_utils.c:1073
struct TC tree_cell