| 1 |
/* |
| 2 |
* *************************************************************************** |
| 3 |
* MALOC = < Minimal Abstraction Layer for Object-oriented C > |
| 4 |
* Copyright (C) 1994-- Michael Holst |
| 5 |
* |
| 6 |
* This library is free software; you can redistribute it and/or |
| 7 |
* modify it under the terms of the GNU Lesser General Public |
| 8 |
* License as published by the Free Software Foundation; either |
| 9 |
* version 2.1 of the License, or (at your option) any later version. |
| 10 |
* |
| 11 |
* This library is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 |
* Lesser General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU Lesser General Public |
| 17 |
* License along with this library; if not, write to the Free Software |
| 18 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 |
* |
| 20 |
* rcsid="$Id: vpup.h,v 1.14 2010/08/12 05:40:26 fetk Exp $" |
| 21 |
* *************************************************************************** |
| 22 |
*/ |
| 23 |
|
| 24 |
/* |
| 25 |
* *************************************************************************** |
| 26 |
* File: vpup.h < vpup.c > |
| 27 |
* |
| 28 |
* Purpose: Class Vpup: provides shell redirection, pipes, and execv/execvp. |
| 29 |
* |
| 30 |
* Author: Michael Holst |
| 31 |
* *************************************************************************** |
| 32 |
*/ |
| 33 |
|
| 34 |
#ifndef _VPUP_H_ |
| 35 |
#define _VPUP_H_ |
| 36 |
|
| 37 |
#include <maloc/maloc_base.h> |
| 38 |
#include "maloccf.h" |
| 39 |
|
| 40 |
/* |
| 41 |
* *************************************************************************** |
| 42 |
* Class Vpup: Parameters and datatypes |
| 43 |
* *************************************************************************** |
| 44 |
*/ |
| 45 |
|
| 46 |
/* |
| 47 |
* *************************************************************************** |
| 48 |
* Class Vpup: Definition |
| 49 |
* *************************************************************************** |
| 50 |
*/ |
| 51 |
|
| 52 |
/* |
| 53 |
* *************************************************************************** |
| 54 |
* Class Vpup: Inlineable methods (vpup.c) |
| 55 |
* *************************************************************************** |
| 56 |
*/ |
| 57 |
|
| 58 |
#if !defined(VINLINE_MALOC) |
| 59 |
#else /* if defined(VINLINE_MALOC) */ |
| 60 |
#endif /* if !defined(VINLINE_MALOC) */ |
| 61 |
|
| 62 |
/* |
| 63 |
* *************************************************************************** |
| 64 |
* Class Vpup: Non-Inlineable methods (vpup.c) |
| 65 |
* *************************************************************************** |
| 66 |
*/ |
| 67 |
|
| 68 |
VEXTERNC void Vpup_execCmd(const char *PR, int argc, char **argv, char *inbuf); |
| 69 |
|
| 70 |
#endif /* _VPUP_H_ */ |
| 71 |
|