Revision: 14694
Author: adrian.chadd
Date: Sun May 23 06:06:44 2010
Log: Break out the hostname, url and login size length #define's into libsqurl.


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

Added:
 /branches/LUSCA_HEAD/libsqurl/defines.h
Modified:
 /branches/LUSCA_HEAD/src/defines.h
 /branches/LUSCA_HEAD/src/squid.h

=======================================
--- /dev/null
+++ /branches/LUSCA_HEAD/libsqurl/defines.h     Sun May 23 06:06:44 2010
@@ -0,0 +1,8 @@
+#ifndef        __LUSCA_LIBSQURL_DEFINES_H__
+#define        __LUSCA_LIBSQURL_DEFINES_H__
+
+#define SQUIDHOSTNAMELEN 256
+#define MAX_URL  4096
+#define MAX_LOGIN_SZ  128
+
+#endif
=======================================
--- /branches/LUSCA_HEAD/src/defines.h  Wed Apr 21 07:10:06 2010
+++ /branches/LUSCA_HEAD/src/defines.h  Sun May 23 06:06:44 2010
@@ -119,9 +119,6 @@

 #define MAX_FILES_PER_DIR (1<<20)

-#define MAX_URL  4096
-#define MAX_LOGIN_SZ  128
-
 #define PEER_MAX_ADDRESSES 10
 #define RTT_AV_FACTOR      50

=======================================
--- /branches/LUSCA_HEAD/src/squid.h    Sun May 23 03:46:54 2010
+++ /branches/LUSCA_HEAD/src/squid.h    Sun May 23 06:06:44 2010
@@ -261,7 +261,8 @@
 #include <math.h>
 #endif

-#define SQUIDHOSTNAMELEN 256
+/* This is for SQUIDHOSTNAMELEN */
+#include "../libsqurl/defines.h"

 #if !HAVE_GETRUSAGE
 #if defined(_SQUID_HPUX_)

--
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