MALOC 0.1
|
00001 /* 00002 * *************************************************************************** 00003 * MALOC = < Minimal Abstraction Layer for Object-oriented C > 00004 * Copyright (C) 1994--2006 Michael Holst 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation; either version 2 of the License, or (at your 00009 * option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00014 * See the GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License along 00017 * with this program; if not, write to the Free Software Foundation, Inc., 00018 * 675 Mass Ave, Cambridge, MA 02139, USA. 00019 * 00020 * rcsid="$Id: psh.h,v 1.19 2006/06/03 07:22:30 mholst Exp $" 00021 * *************************************************************************** 00022 */ 00023 00024 /* 00025 * *************************************************************************** 00026 * File: psh.h < psh.c, ... > 00027 * 00028 * Purpose: Header file for a simple parallel extension of ALOC's VSH. 00029 * 00030 * Author: Michael Holst 00031 * *************************************************************************** 00032 */ 00033 00034 #ifndef _PSH_H_ 00035 #define _PSH_H_ 00036 00037 #include <maloc/maloc_base.h> 00038 00039 #include <maloc/vsys.h> 00040 #include <maloc/vsh.h> 00041 #include <maloc/vmp.h> 00042 00043 int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, 00044 int (*builtin)(void *thee, int argc, char **argv)); 00045 00046 Vio *Vsh_pioSetup(Vsh *thee, char *key); 00047 void Vsh_pioCleanup(Vsh *thee, Vio **sock); 00048 00049 #endif /* _PSH_H_ */ 00050 00051