]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - tools/squidclient.cc
Move squidclient and cachemgr from src to tools
[thirdparty/squid.git] / tools / squidclient.cc
similarity index 97%
rename from src/client.cc
rename to tools/squidclient.cc
index 2fdcb2a1ef7197aba8b3a9b418f918f348b468e4..75dce1c93657183104dd4b0a9472068ff0bfe659 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client.cc,v 1.109 2005/05/26 09:44:30 hno Exp $
+ * $Id: squidclient.cc,v 1.1 2006/05/11 01:36:57 hno Exp $
  *
  * DEBUG: section 0     WWW Client
  * AUTHOR: Harvest Derived
  *
  */
 
-#include "squid.h"
+#include "config.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <string.h>
+#include <unistd.h>
+#include <netdb.h>
+#include <signal.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
+#include "util.h"
 
 #ifndef BUFSIZ
 #define BUFSIZ 8192
 #endif
 
+typedef void SIGHDLR(int sig);
+
 /* Local functions */
 static int client_comm_bind(int, const char *);