20 #ifndef __CPCCLIENT_HPP_INCLUDED__
21 #define __CPCCLIENT_HPP_INCLUDED__
24 #include <SocketServer.hpp>
25 #include <util/InputStream.hpp>
26 #include <util/OutputStream.hpp>
36 int getPort()
const {
return port;}
37 const char * getHost()
const {
return host;}
65 ParserDummy(NDB_SOCKET_TYPE sock);
73 NDB_SOCKET_TYPE cpc_sock;
84 int cpc_send(
const char *cmd,
90 void **user_data = NULL);
94 const ParserRow_t *reply_syntax);