OpenVAS Scanner  7.0.1~git
nasl_func.h
Go to the documentation of this file.
1 /* Based on work Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
2  *
3  * SPDX-License-Identifier: GPL-2.0-only
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * version 2 as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef NASL_FUNC_H_INCLUDED
20 #define NASL_FUNC_H_INCLUDED
21 
25 typedef struct st_nasl_func
26 {
27  char *func_name;
28  void *block; /* Can be pointer to a C function! */
29 } nasl_func;
30 
31 nasl_func *
32 func_is_internal (const char *);
33 
34 void
36 
37 #endif
void * block
Definition: nasl_func.h:28
char * func_name
Definition: nasl_func.h:27
void free_func(nasl_func *)
Definition: nasl_func.c:269
nasl_func * func_is_internal(const char *)
Definition: nasl_init.c:486
struct st_nasl_func nasl_func