OpenVAS Libraries  9.0.1
popen.h
Go to the documentation of this file.
1 /* OpenVAS
2  * $Id$
3  * Description: Header file for module popen.
4  *
5  * Authors:
6  * Renaud Deraison <deraison@nessus.org> (Original pre-fork development)
7  *
8  * Copyright:
9  * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc.
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24  */
25 
26 #ifndef OPENVAS_POPEN_H
27 #define OPENVAS_POPEN_H
28 
29 #include <stdio.h>
30 
31 FILE *openvas_popen4 (const char *, char *const[], pid_t *, int);
32 int openvas_pclose (FILE *, pid_t);
33 char **append_argv (char **argv, char *opt);
34 void destroy_argv (char **argv);
35 
36 #endif
char ** append_argv(char **argv, char *opt)
void destroy_argv(char **argv)
FILE * openvas_popen4(const char *, char *const [], pid_t *, int)
Definition: popen.c:36
int openvas_pclose(FILE *, pid_t)
Definition: popen.c:136