extern void *housekeeping_loop(void);
extern pthread_mutex_t MasterCritter;
+const char *defaulthost = DEFAULT_HOST;
+const char *defaultport = DEFAULT_PORT;
+
/*
* This is a generic function to set up a master socket for listening on
* a TCP port. The server shuts down if the bind fails.
if (fork()!=0) exit(0);
}
-/*
- * Issue an HTTP Redirect header
- * url must be a complete url (with http://)
- */
-void redirect(char *url) {
- printf("Location: %s\n\n", url);
-}
-
-const char *defaulthost = DEFAULT_HOST;
-const char *defaultport = DEFAULT_PORT;
-
/*
* Here's where it all begins.
*/