Rename tinyproxy.[ch] to main.[ch]

This commit is contained in:
Mukund Sivaraman 2009-08-07 03:42:53 +05:30
parent b5089fecc7
commit a21cd7e3ed
26 changed files with 29 additions and 29 deletions

View File

@ -36,7 +36,7 @@ tinyproxy_SOURCES = \
sock.c sock.h \ sock.c sock.h \
stats.c stats.h \ stats.c stats.h \
text.c text.h \ text.c text.h \
tinyproxy.c tinyproxy.h \ main.c main.h \
utils.c utils.h \ utils.c utils.h \
vector.c vector.h vector.c vector.h

View File

@ -21,7 +21,7 @@
* which is then used to compare incoming connections. * which is then used to compare incoming connections.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "acl.h" #include "acl.h"
#include "heap.h" #include "heap.h"

View File

@ -20,7 +20,7 @@
* when the anonymous feature is turned on. * when the anonymous feature is turned on.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "anonymous.h" #include "anonymous.h"
#include "hashmap.h" #include "hashmap.h"

View File

@ -25,7 +25,7 @@
* the ends of an array. :) * the ends of an array. :)
*/ */
#include "tinyproxy.h" #include "main.h"
#include "buffer.h" #include "buffer.h"
#include "heap.h" #include "heap.h"

View File

@ -20,7 +20,7 @@
* processing incoming connections. * processing incoming connections.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "child.h" #include "child.h"
#include "daemon.h" #include "daemon.h"

View File

@ -17,7 +17,7 @@
*/ */
/* This file groups all the headers required throughout the tinyproxy /* This file groups all the headers required throughout the tinyproxy
* system. All this information use to be in the "tinyproxy.h" header, * system. All this information use to be in the "main.h" header,
* but various other "libraries" in the program need the same information, * but various other "libraries" in the program need the same information,
* without the tinyproxy specific defines. * without the tinyproxy specific defines.
*/ */

View File

@ -22,7 +22,7 @@
* add new directives to. Who knows if I'm right though. * add new directives to. Who knows if I'm right though.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "conffile.h" #include "conffile.h"

View File

@ -22,7 +22,7 @@
* connection structure definition. * connection structure definition.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "buffer.h" #include "buffer.h"
#include "conns.h" #include "conns.h"

View File

@ -21,7 +21,7 @@
#ifndef TINYPROXY_CONNS_H #ifndef TINYPROXY_CONNS_H
#define TINYPROXY_CONNS_H #define TINYPROXY_CONNS_H
#include "tinyproxy.h" #include "main.h"
#include "hashmap.h" #include "hashmap.h"
/* /*

View File

@ -21,7 +21,7 @@
* a function to portably set a signal handler. * a function to portably set a signal handler.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "daemon.h" #include "daemon.h"

View File

@ -22,7 +22,7 @@
* pointed at by DEFAULT_FILTER. * pointed at by DEFAULT_FILTER.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "filter.h" #include "filter.h"
#include "heap.h" #include "heap.h"

View File

@ -25,7 +25,7 @@
* don't try to free the data, or realloc the memory. :) * don't try to free the data, or realloc the memory. :)
*/ */
#include "tinyproxy.h" #include "main.h"
#include "hashmap.h" #include "hashmap.h"
#include "heap.h" #include "heap.h"

View File

@ -23,7 +23,7 @@
* format of the log message is standardized. * format of the log message is standardized.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "heap.h" #include "heap.h"
#include "text.h" #include "text.h"

View File

@ -20,7 +20,7 @@
* HTML error pages with variable substitution. * HTML error pages with variable substitution.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "common.h" #include "common.h"
#include "buffer.h" #include "buffer.h"

View File

@ -21,7 +21,7 @@
* or the syslog daemon. Not much to it... * or the syslog daemon. Not much to it...
*/ */
#include "tinyproxy.h" #include "main.h"
#include "heap.h" #include "heap.h"
#include "log.h" #include "log.h"

View File

@ -26,7 +26,7 @@
* elsewhere. * elsewhere.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "anonymous.h" #include "anonymous.h"
#include "buffer.h" #include "buffer.h"

View File

@ -17,10 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
/* See 'tinyproxy.c' for detailed information. */ /* See 'main.c' for detailed information. */
#ifndef TINYPROXY_TINYPROXY_H #ifndef __MAIN_H__
#define TINYPROXY_TINYPROXY_H #define __MAIN_H__
#include "common.h" #include "common.h"
#include "hashmap.h" #include "hashmap.h"
@ -106,4 +106,4 @@ extern struct config_s config;
extern unsigned int received_sighup; /* boolean */ extern unsigned int received_sighup; /* boolean */
extern unsigned int processed_config_file; /* boolean */ extern unsigned int processed_config_file; /* boolean */
#endif #endif /* __MAIN_H__ */

View File

@ -23,7 +23,7 @@
* to write an arbitrary amount of data to the network. * to write an arbitrary amount of data to the network.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "heap.h" #include "heap.h"
#include "network.h" #include "network.h"

View File

@ -25,7 +25,7 @@
* and then relays the bytes between the two. * and then relays the bytes between the two.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "acl.h" #include "acl.h"
#include "anonymous.h" #include "anonymous.h"

View File

@ -18,7 +18,7 @@
/* Allow tinyproxy to be used as a reverse proxy. */ /* Allow tinyproxy to be used as a reverse proxy. */
#include "tinyproxy.h" #include "main.h"
#include "reverse-proxy.h" #include "reverse-proxy.h"
#include "conns.h" #include "conns.h"

View File

@ -25,7 +25,7 @@
* actually is. * actually is.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "log.h" #include "log.h"
#include "heap.h" #include "heap.h"

View File

@ -25,7 +25,7 @@
* and the switch statement in update_stats(). * and the switch statement in update_stats().
*/ */
#include "tinyproxy.h" #include "main.h"
#include "log.h" #include "log.h"
#include "heap.h" #include "heap.h"

View File

@ -22,7 +22,7 @@
* with the standard C string library. * with the standard C string library.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "text.h" #include "text.h"

View File

@ -23,7 +23,7 @@
* traffic to tinyproxy for this to work properly. * traffic to tinyproxy for this to work properly.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "transparent-proxy.h" #include "transparent-proxy.h"
#include "conns.h" #include "conns.h"

View File

@ -23,7 +23,7 @@
* it, so it's in here. * it, so it's in here.
*/ */
#include "tinyproxy.h" #include "main.h"
#include "conns.h" #include "conns.h"
#include "heap.h" #include "heap.h"

View File

@ -21,7 +21,7 @@
* vector.) * vector.)
*/ */
#include "tinyproxy.h" #include "main.h"
#include "heap.h" #include "heap.h"
#include "vector.h" #include "vector.h"