]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/icmp/testIcmp.h
SourceLayout: Add Ip namespace for internal libip
[thirdparty/squid.git] / src / icmp / testIcmp.h
index e0692bfd24ea27edb9afcdf9cee71cc024cd9981..90da1a927403624c51d41e7b0068ad1f31a7842a 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef SQUID_SRC_TEST_URL_H
 #define SQUID_SRC_TEST_URL_H
 
+#define SQUID_UNIT_TEST 1
+
 #include "Icmp.h"
 #include <cppunit/extensions/HelperMacros.h>
 
@@ -15,7 +17,7 @@ public:
     virtual void Close() {};
 
     /// Construct ECHO request
-    virtual void SendEcho(IpAddress &to, int opcode, const char *payload, int len) {};
+    virtual void SendEcho(Ip::Address &to, int opcode, const char *payload, int len) {};
 
     /// Handle ICMP responses.
     virtual void Recv(void) {};