OpenVAS Libraries  9.0.3
nasl_func.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  st_nasl_func
 

Macros

#define FUNC_NAME_HASH   17
 
#define FUNC_FLAG_COMPAT   (1 << 0) /* Old interface */
 
#define FUNC_FLAG_INTERNAL   (1 << 1) /* Internal C function */
 

Typedefs

typedef struct st_nasl_func nasl_func
 

Functions

void free_func_chain (nasl_func *)
 

Macro Definition Documentation

◆ FUNC_FLAG_COMPAT

#define FUNC_FLAG_COMPAT   (1 << 0) /* Old interface */

Definition at line 24 of file nasl_func.h.

Referenced by nasl_func_call().

◆ FUNC_FLAG_INTERNAL

#define FUNC_FLAG_INTERNAL   (1 << 1) /* Internal C function */

Definition at line 25 of file nasl_func.h.

◆ FUNC_NAME_HASH

#define FUNC_NAME_HASH   17

Definition at line 22 of file nasl_func.h.

Referenced by dump_ctxt(), free_lex_ctxt(), and init_empty_lex_ctxt().

Typedef Documentation

◆ nasl_func

typedef struct st_nasl_func nasl_func

Type for a built-in nasl function.

Function Documentation

◆ free_func_chain()

void free_func_chain ( nasl_func )

Definition at line 375 of file nasl_func.c.

References free_func_chain(), and st_nasl_func::next_func.

Referenced by free_func_chain(), and free_lex_ctxt().

376 {
377  if (f == NULL)
378  return;
379  free_func_chain (f->next_func);
380  free_func (f);
381 }
void free_func_chain(nasl_func *f)
Definition: nasl_func.c:375
Here is the call graph for this function:
Here is the caller graph for this function: