File size: 1,788 Bytes
10f2621 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | /**
* @file psh.h
* @ingroup Vsh
* @brief Header file for a simple parallel extension of ALOC's VSH.
* @author Michael Holst
* @note None
* @version $Id: psh.h,v 1.28 2010/08/12 05:40:23 fetk Exp $
*
* @attention
* @verbatim
*
* MALOC = < Minimal Abstraction Layer for Object-oriented C >
* Copyright (C) 1994-- Michael Holst
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @endverbatim
*/
#ifndef _PSH_H_
#define _PSH_H_
#include <maloc/maloc_base.h>
#include <maloc/vsys.h>
#include <maloc/vsh.h>
#include <maloc/vmp.h>
/**
* @ingroup Vsh
* @brief Drop-in replacement for Vsh_shell giving parallel extensions.
* @author Michael Holst
* @note None
* @return Success enumeration
* @param thee Pointer to the Vsh object
* @param pPR minimal prompt
* @param pthee the externally supplied builtin object pointer
* @param builtin external supershell builtin function
*/
VEXTERNC int Vsh_pshell(Vsh *thee, char *pPR, void *pthee,
int (*builtin)(void *thee, int argc, char **argv));
#endif /* _PSH_H_ */
|