]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Rename helpers/basic_auth/squid_radius_auth/util.* to radius-util.*
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 14 May 2008 04:04:23 +0000 (16:04 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 14 May 2008 04:04:23 +0000 (16:04 +1200)
They were clashing with Squids' own include/util.h

helpers/basic_auth/squid_radius_auth/Makefile.am
helpers/basic_auth/squid_radius_auth/radius-util.c [moved from helpers/basic_auth/squid_radius_auth/util.c with 97% similarity]
helpers/basic_auth/squid_radius_auth/radius-util.h [new file with mode: 0755]
helpers/basic_auth/squid_radius_auth/util.h [deleted file]

index 049d78f83bf2292f750c380e8fb2aa0430c59eeb..b13266f915234ee7115cc9d7b01ce03506f988ae 100644 (file)
@@ -12,7 +12,8 @@ EXTRA_DIST            = squid_radius_auth.8
 squid_radius_auth_SOURCES = \
                        squid_rad_auth.c \
                        radius.h \
-                       util.c util.h
+                       radius-util.c \
+                       radius-util.h
 
 LDADD                  = -L$(top_builddir)/lib -lmiscutil $(SSLLIB) $(XTRA_LIBS)
 INCLUDES               = -I$(top_srcdir)/include
similarity index 97%
rename from helpers/basic_auth/squid_radius_auth/util.c
rename to helpers/basic_auth/squid_radius_auth/radius-util.c
index 62a1373d1119e5f2431b0d00d2aa2718a0e25b1f..d35144304c949b26554c1439accab67057c7e7fa 100644 (file)
@@ -1,3 +1,4 @@
+// 2008-05-14: rename to radius-util.* to avoid name clashes with squid util.*
 /*
  *
  *     RADIUS
@@ -174,4 +175,3 @@ void md5_calc(unsigned char *output, unsigned char *input, unsigned int inlen)
        SquidMD5Update(&context, input, inlen);
        SquidMD5Final(output, &context);
 }
-
diff --git a/helpers/basic_auth/squid_radius_auth/radius-util.h b/helpers/basic_auth/squid_radius_auth/radius-util.h
new file mode 100755 (executable)
index 0000000..ee16bfe
--- /dev/null
@@ -0,0 +1,7 @@
+// 2008-05-14: rename to radius-util.* to avoid name clashes with squid util.*
+
+// uses the squid utilities
+#include "util.h"
+
+/* util.c */
+u_int32_t              get_ipaddr (char *);
diff --git a/helpers/basic_auth/squid_radius_auth/util.h b/helpers/basic_auth/squid_radius_auth/util.h
deleted file mode 100755 (executable)
index fd9d304..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#include "../../../include/util.h"
-
-/* util.c */
-u_int32_t              get_ipaddr (char *);