* Added support for named pipes and proper parseing of arguments for

SCGI.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@906 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-05-21 01:51:52 +00:00
parent 5f274b2619
commit 2db205a89d
6 changed files with 75 additions and 18 deletions
+4 -3
View File
@@ -57,7 +57,8 @@ public:
SCgi() {}
virtual ~SCgi();
bool open(uint16_t port);
void open_port(uint16_t port);
void open_named(const std::string& filename);
const std::string path() const { return m_path; }
@@ -72,10 +73,10 @@ public:
utils::SocketFd& get_fd() { return *reinterpret_cast<utils::SocketFd*>(&m_fileDesc); }
private:
void open(void* sa, unsigned int length);
std::string m_path;
slot_process m_slotProcess;
SCgiTask m_task[10];
};