Rudiments
chat.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_CHAT_H
5 #define RUDIMENTS_CHAT_H
6 
7 #include <rudiments/private/chatincludes.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 class chatprivate;
14 
17 class RUDIMENTS_DLLSPEC chat {
18  public:
21  chat(const filedescriptor *fd);
22 
25  chat(const filedescriptor *rfd, const filedescriptor *wfd);
26 
28  ~chat();
29 
92  int32_t runScript(const char *script, char **abort);
93 
161  int32_t runScript(const char *script, char **abort,
162  constnamevaluepairs *variables);
163 
164  #include <rudiments/private/chat.h>
165 };
166 
167 #ifdef RUDIMENTS_NAMESPACE
168 }
169 #endif
170 
171 #endif