OpenVAS Scanner  22.7.9
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 
13 tree_cell *
15 
16 tree_cell *
18 
19 tree_cell *
21 
22 tree_cell *
24 
25 tree_cell *
27 
28 tree_cell *
29 nasl_hex (lex_ctxt *);
30 
31 tree_cell *
33 
34 tree_cell *
35 nasl_ord (lex_ctxt *);
36 
37 tree_cell *
39 
40 tree_cell *
42 
43 tree_cell *
45 
46 tree_cell *
48 
49 tree_cell *
51 
52 tree_cell *
54 
55 tree_cell *
57 
58 tree_cell *
60 
61 tree_cell *
63 
64 tree_cell *
66 
67 tree_cell *
69 
70 tree_cell *
72 
73 tree_cell *
75 
76 tree_cell *
77 nasl_int (lex_ctxt *);
78 
79 tree_cell *
81 
82 tree_cell *
84 
85 #endif
nasl_str_replace
tree_cell * nasl_str_replace(lex_ctxt *)
Definition: nasl_text_utils.c:1357
nasl_strcat
tree_cell * nasl_strcat(lex_ctxt *)
Definition: nasl_text_utils.c:263
nasl_match
tree_cell * nasl_match(lex_ctxt *)
Definition: nasl_text_utils.c:1064
nasl_egrep
tree_cell * nasl_egrep(lex_ctxt *)
looks for a pattern in a string, line by line.
Definition: nasl_text_utils.c:725
nasl_ereg_replace
tree_cell * nasl_ereg_replace(lex_ctxt *)
Search for a pattern in a string and replace it.
Definition: nasl_text_utils.c:670
nasl_display
tree_cell * nasl_display(lex_ctxt *)
Definition: nasl_text_utils.c:295
nasl_insstr
tree_cell * nasl_insstr(lex_ctxt *)
Definition: nasl_text_utils.c:1006
nasl_tolower
tree_cell * nasl_tolower(lex_ctxt *)
Definition: nasl_text_utils.c:385
nasl_ereg
tree_cell * nasl_ereg(lex_ctxt *)
Matches a string against a regular expression.
Definition: nasl_text_utils.c:449
nasl_ord
tree_cell * nasl_ord(lex_ctxt *)
Definition: nasl_text_utils.c:366
nasl_hexstr
tree_cell * nasl_hexstr(lex_ctxt *)
Definition: nasl_text_utils.c:339
nasl_hex
tree_cell * nasl_hex(lex_ctxt *)
Definition: nasl_text_utils.c:319
nasl_eregmatch
tree_cell * nasl_eregmatch(lex_ctxt *)
Does extended regular expression pattern matching.
Definition: nasl_text_utils.c:850
nasl_strlen
tree_cell * nasl_strlen(lex_ctxt *)
Definition: nasl_text_utils.c:252
nasl_split
tree_cell * nasl_split(lex_ctxt *)
Definition: nasl_text_utils.c:1088
nasl_lex_ctxt.h
nasl_strstr
tree_cell * nasl_strstr(lex_ctxt *)
Definition: nasl_text_utils.c:1280
nasl_stridx
tree_cell * nasl_stridx(lex_ctxt *)
Returns index of a substring.
Definition: nasl_text_utils.c:1321
TC
Definition: nasl_tree.h:94
struct_lex_ctxt
Definition: nasl_lex_ctxt.h:23
nasl_rawstring
tree_cell * nasl_rawstring(lex_ctxt *)
Definition: nasl_text_utils.c:136
nasl_string
tree_cell * nasl_string(lex_ctxt *)
Definition: nasl_text_utils.c:39
nasl_crap
tree_cell * nasl_crap(lex_ctxt *)
Definition: nasl_text_utils.c:1218
nasl_toupper
tree_cell * nasl_toupper(lex_ctxt *)
Definition: nasl_text_utils.c:409
nasl_substr
tree_cell * nasl_substr(lex_ctxt *)
Definition: nasl_text_utils.c:950
nasl_chomp
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
nasl_int
tree_cell * nasl_int(lex_ctxt *)
Definition: nasl_text_utils.c:1435