]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
adding HTCP code
authorwessels <>
Fri, 13 Mar 1998 04:19:46 +0000 (04:19 +0000)
committerwessels <>
Fri, 13 Mar 1998 04:19:46 +0000 (04:19 +0000)
src/main.cc
src/structs.h

index ca55116c58b41fcd46b7be02011b36fa436cfdbe..90c4f3f1a3bd6fa73843c9d9288d11a801dd2fcb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.234 1998/03/06 23:22:29 wessels Exp $
+ * $Id: main.cc,v 1.235 1998/03/12 21:19:46 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -336,6 +336,9 @@ serverConnectionsOpen(void)
 {
     clientHttpConnectionsOpen();
     icpConnectionsOpen();
+#if USE_HTCP
+    htcpInit();
+#endif
 #ifdef SQUID_SNMP
     snmpConnectionOpen();
 #endif
index 04e9cd80111111d84e930420088e1fcd6b7ad4a2..894ea9fa19339269f48106027a2f9b86ab22ea34 100644 (file)
@@ -199,6 +199,9 @@ struct _SquidConfig {
     struct {
        ushortlist *http;
        u_short icp;
+#if USE_HTCP
+       u_short htcp;
+#endif
 #if SQUID_SNMP
        u_short snmp;
 #endif
@@ -775,6 +778,9 @@ struct _peer {
        int logged_state;       /* so we can print dead/revived msgs */
     } stats;
     u_short icp_port;
+#if USE_HTCP
+    u_short htcp_port;
+#endif
     u_short http_port;
     int icp_version;
     struct _domain_ping *pinglist;