fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 StdCmds.h - description 00003 00004 begin : Wed Jan 3 2001 00005 copyright : (C) 2001 by A Kopmann 00006 email : kopmann@hpe.fzk.de 00007 status : 00008 test : 00009 history : 00010 ***************************************************************************/ 00011 00012 00013 00014 #if defined (_MSC_VER) && (_MSC_VER >= 1000) 00015 #pragma once 00016 #endif 00017 00018 #ifndef _INC_STDCMDS_3925024E0033_INCLUDED 00019 #define _INC_STDCMDS_3925024E0033_INCLUDED 00020 00021 00022 #include <cstdio> 00023 #include <cstring> 00024 00025 #include "cmds.h" 00026 00027 class shell; 00028 class SimpleSocket; 00029 00030 00048 class StdCmds : public cmds { 00049 private: 00050 int parse(char * comm); 00051 00052 public: 00053 StdCmds(); 00054 00055 ~StdCmds(); 00056 00057 int interprete(FILE * fin, FILE * fout, char *line); 00058 00059 00060 private: 00061 00062 SimpleSocket *sock; 00063 00064 }; 00065 00066 #endif /* _INC_STDCMDS_3925024E0033_INCLUDED */ 00067