/*
- * $Id: stub_comm.cc,v 1.7 2008/02/26 00:19:59 rousskov Exp $
+ * $Id$
*
* DEBUG: section 84 Helper process maintenance
* AUTHOR: Robert Collins
}
void
-comm_read(int fd, char *buf, int size, IOCB *handler, void *handler_data)
+comm_read(const Comm::ConnectionPointer &conn, char *buf, int size, IOCB *handler, void *handler_data)
{
fatal ("Not implemented");
}
void
-comm_read(int, char*, int, AsyncCall::Pointer &callback)
+comm_read(const Comm::ConnectionPointer &conn, char*, int, AsyncCall::Pointer &callback)
{
fatal ("Not implemented");
}
/* bah, cheating on stub count */
pid_t
-ipcCreate(int type, const char *prog, const char *const args[], const char *name, IPAddress &local_addr, int *rfd, int *wfd, void **hIpc)
+ipcCreate(int type, const char *prog, const char *const args[], const char *name, Ip::Address &local_addr, int *rfd, int *wfd, void **hIpc)
{
fatal ("Not implemented");
return -1;
/* Keep a few file descriptors free so that we don't run out of FD's
* after accepting a client but before it opens a socket or a file.
* Since Squid_MaxFD can be as high as several thousand, don't waste them */
- RESERVED_FD = XMIN(100, Squid_MaxFD / 4);
+ RESERVED_FD = min(100, Squid_MaxFD / 4);
}
/* MinGW needs also a stub of _comm_close() */
{
fatal ("Not implemented");
}
+
+int
+commSetTimeout(int fd, int timeout, AsyncCall::Pointer& callback)
+{
+ fatal ("Not implemented");
+ return -1;
+}
+
+int
+comm_open_uds(int sock_type, int proto, struct sockaddr_un* addr, int flags)
+{
+ fatal ("Not implemented");
+ return -1;
+}
+
+void
+comm_write(int fd, const char *buf, int size, AsyncCall::Pointer &callback, FREE * free_func)
+{
+ fatal ("Not implemented");
+}
+
+ConnectionDetail::ConnectionDetail() : me(), peer()
+{
+ fatal ("Not implemented");
+}