1 /* $Id: pipe.hpp,v 1.1 2005-11-07 12:32:01 adam Exp $
2 Copyright (c) 2005, Index Data.
10 #include <boost/scoped_ptr.hpp>
12 #include <yaz/yconfig.h>
16 class Error : public std::runtime_error {
18 Error(const std::string msg)
19 : std::runtime_error("Pipe error: " + msg) {};
23 Pipe(int port_to_use);
26 int &write_fd() const;
28 boost::scoped_ptr<Rep> m_p;
35 * indent-tabs-mode: nil
36 * c-file-style: "stroustrup"
38 * vim: shiftwidth=4 tabstop=8 expandtab