]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows port: merged Windows native IPC support
authorserassio <>
Mon, 4 Sep 2006 01:28:10 +0000 (01:28 +0000)
committerserassio <>
Mon, 4 Sep 2006 01:28:10 +0000 (01:28 +0000)
src/ipc.cc

index 87dcec4589c42fe6eb1cd885674fe29f360631d2..5e921a957d66de02425635d52c25f63085010cab 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipc.cc,v 1.43 2006/09/03 17:19:34 serassio Exp $
+ * $Id: ipc.cc,v 1.44 2006/09/03 19:28:10 serassio Exp $
  *
  * DEBUG: section 54    Interprocess Communication
  * AUTHOR: Duane Wessels
@@ -73,8 +73,8 @@ PutEnvironment()
 #endif
 }
 
-int
-ipcCreate(int type, const char *prog, const char *const args[], const char *name, int *rfd, int *wfd)
+pid_t
+ipcCreate(int type, const char *prog, const char *const args[], const char *name, int *rfd, int *wfd, void **hIpc)
 {
     pid_t pid;
 
@@ -101,6 +101,9 @@ ipcCreate(int type, const char *prog, const char *const args[], const char *name
     if (wfd)
         *wfd = -1;
 
+    if (hIpc)
+        *hIpc = NULL;
+
     if (type == IPC_TCP_SOCKET) {
         crfd = cwfd = comm_open(SOCK_STREAM,
                                 0,