Revision: 14628
Author: adrian.chadd
Date: Mon Apr 19 22:01:43 2010
Log: Break out the pconn declarations so I can tweak them without
having to rebuild the whole of src/ .


http://code.google.com/p/lusca-cache/source/detail?r=14628

Added:
 /branches/LUSCA_HEAD/src/pconn.h
Modified:
 /branches/LUSCA_HEAD/src/forward.c
 /branches/LUSCA_HEAD/src/http.c
 /branches/LUSCA_HEAD/src/main.c
 /branches/LUSCA_HEAD/src/pconn.c
 /branches/LUSCA_HEAD/src/protos.h

=======================================
--- /dev/null
+++ /branches/LUSCA_HEAD/src/pconn.h    Mon Apr 19 22:01:43 2010
@@ -0,0 +1,8 @@
+#ifndef        __LUSCA_PCONN_H__
+#define        __LUSCA_PCONN_H__
+
+extern void pconnPush(int, const char *host, u_short port, const char *domain, struct in_addr *client_address, u_short client_port); +extern int pconnPop(const char *host, u_short port, const char *domain, struct in_addr *client_address, u_short client_port, int *idle);
+extern void pconnInit(void);
+
+#endif
=======================================
--- /branches/LUSCA_HEAD/src/forward.c  Mon Oct 26 23:58:33 2009
+++ /branches/LUSCA_HEAD/src/forward.c  Mon Apr 19 22:01:43 2010
@@ -35,6 +35,7 @@


 #include "squid.h"
+#include "pconn.h"

 #if LINUX_NETFILTER
 #include <linux/types.h>
=======================================
--- /branches/LUSCA_HEAD/src/http.c     Sat Mar 20 01:40:28 2010
+++ /branches/LUSCA_HEAD/src/http.c     Mon Apr 19 22:01:43 2010
@@ -39,6 +39,7 @@
  */

 #include "squid.h"
+#include "pconn.h"

 static const char *const crlf = "\r\n";

=======================================
--- /branches/LUSCA_HEAD/src/main.c     Mon Apr 19 02:27:56 2010
+++ /branches/LUSCA_HEAD/src/main.c     Mon Apr 19 22:01:43 2010
@@ -35,6 +35,7 @@

 #include "squid.h"
 #include "client_db.h"
+#include "pconn.h"

 #if defined(USE_WIN32_SERVICE) && defined(_SQUID_WIN32_)
 #include <windows.h>
=======================================
--- /branches/LUSCA_HEAD/src/pconn.c    Mon Jun 30 04:36:05 2008
+++ /branches/LUSCA_HEAD/src/pconn.c    Mon Apr 19 22:01:43 2010
@@ -34,6 +34,7 @@
  */

 #include "squid.h"
+#include "pconn.h"

 struct _pconn {
     hash_link hash;            /* must be first */
=======================================
--- /branches/LUSCA_HEAD/src/protos.h   Mon Apr 19 02:27:56 2010
+++ /branches/LUSCA_HEAD/src/protos.h   Mon Apr 19 22:01:43 2010
@@ -822,10 +822,6 @@
extern ErrorState *errorCon(err_type type, http_status, request_t * request);
 extern int errorPageId(const char *page_name);

-extern void pconnPush(int, const char *host, u_short port, const char *domain, struct in_addr *client_address, u_short client_port); -extern int pconnPop(const char *host, u_short port, const char *domain, struct in_addr *client_address, u_short client_port, int *idle);
-extern void pconnInit(void);
-
 extern int asnMatchIp(void *, struct in_addr);
 extern void asnInit(void);
 extern void asnFreeMemory(void);

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to