Rudiments
|
00001 // Copyright (c) 2004 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_CHAT_H 00005 #define RUDIMENTS_CHAT_H 00006 00007 #include <rudiments/private/chatincludes.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 class chatprivate; 00014 00017 class RUDIMENTS_DLLSPEC chat { 00018 public: 00021 chat(const filedescriptor *fd); 00022 00025 chat(const filedescriptor *rfd, const filedescriptor *wfd); 00026 00028 ~chat(); 00029 00092 int32_t runScript(const char *script, char **abort); 00093 00161 int32_t runScript(const char *script, char **abort, 00162 constnamevaluepairs *variables); 00163 00164 #include <rudiments/private/chat.h> 00165 }; 00166 00167 #ifdef RUDIMENTS_NAMESPACE 00168 } 00169 #endif 00170 00171 #endif