|
OpenVAS Libraries
8.0.8
|
Go to the source code of this file.
Data Structures | |
| struct | st_nasl_string |
| struct | st_nasl_array |
| struct | st_a_nasl_var |
| struct | st_n_nasl_var |
| struct | nasl_iterator |
Macros | |
| #define | VAR_NAME_HASH 17 |
Typedefs | |
| typedef struct st_nasl_string | nasl_string_t |
| typedef struct st_nasl_array | nasl_array |
| typedef struct st_a_nasl_var | anon_nasl_var |
| typedef struct st_n_nasl_var | named_nasl_var |
Enumerations | |
| enum | { VAR2_UNDEF = 0, VAR2_INT, VAR2_STRING, VAR2_DATA, VAR2_ARRAY } |
Functions | |
| tree_cell * | nasl_affect (tree_cell *, tree_cell *) |
| void | clear_unnamed_var (anon_nasl_var *) |
| const char * | var2str (const anon_nasl_var *) |
| anon_nasl_var * | nasl_get_var_by_num (nasl_array *, int, int) |
| nasl_iterator | nasl_array_iterator (tree_cell *) |
| tree_cell * | nasl_iterate_array (nasl_iterator *) |
| int | add_var_to_list (nasl_array *, int, const anon_nasl_var *) |
| int | add_var_to_array (nasl_array *, char *, const anon_nasl_var *) |
| int | array_max_index (nasl_array *) |
| void | free_array (nasl_array *) |
| tree_cell * | copy_ref_array (const tree_cell *) |
| int | hash_str2 (const char *, int) |
| tree_cell * | var2cell (anon_nasl_var *) |
| tree_cell * | make_array_from_elems (tree_cell *) |
| const char * | array2str (const nasl_array *) |
| #define VAR_NAME_HASH 17 |
| typedef struct st_a_nasl_var anon_nasl_var |
| typedef struct st_n_nasl_var named_nasl_var |
| typedef struct st_nasl_array nasl_array |
| typedef struct st_nasl_string nasl_string_t |
| int add_var_to_array | ( | nasl_array * | , |
| char * | , | ||
| const anon_nasl_var * | |||
| ) |
| int add_var_to_list | ( | nasl_array * | , |
| int | , | ||
| const anon_nasl_var * | |||
| ) |
| const char* array2str | ( | const nasl_array * | ) |
| int array_max_index | ( | nasl_array * | a | ) |
The name is not great: this function does not returns the index of the last element, but the index of the next free slot
| void clear_unnamed_var | ( | anon_nasl_var * | ) |
| void free_array | ( | nasl_array * | a | ) |
Note: the function does not free the nasl_array structure. Do it if necessary
| int hash_str2 | ( | const char * | s, |
| int | n | ||
| ) |
make_array_from_list is used by the parser only The list of elements is freed after use
| nasl_iterator nasl_array_iterator | ( | tree_cell * | ) |
| anon_nasl_var* nasl_get_var_by_num | ( | nasl_array * | , |
| int | , | ||
| int | |||
| ) |
| tree_cell* nasl_iterate_array | ( | nasl_iterator * | ) |
| tree_cell* var2cell | ( | anon_nasl_var * | ) |
| const char* var2str | ( | const anon_nasl_var * | ) |
1.8.11