summaryrefslogtreecommitdiff
path: root/src/main.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-12-23main: remove global bool processed_config_file.Michael Adam1-1/+0
This seemed out of place. Now the information is stored in the correct places (as log.c:logging_initialized). This way, we will be able to cleanly re-initialize logging during config reload (SIGHUP) in subsequent commits. Michael
2009-12-22main: add convenience wrapper reload_config() for reload_config_file()Michael Adam1-0/+2
Michael
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam1-76/+0
Michael
2009-12-07main.h: fix tabs ---> spacesMichael Adam1-12/+12
Michael
2009-12-07Don't make config_file const in the config struct.Michael Adam1-1/+1
Michael
2009-12-07Add the anonymous_map hasmap to the config struct.Michael Adam1-0/+6
Michael
2009-12-07Add connect_ports list to config struct instead of keeping extra global var.Michael Adam1-0/+5
Michael
2009-12-07Add access_list to the config struct instead of a global variable in acl.c.Michael Adam1-0/+3
Change insert_acl, check_acl and flush_access_list to take a corresponding argument. Michael
2009-12-06move handling of upstream list to new module upstream.{c,h}Michael Adam1-12/+0
Michael
2009-10-11Add a boolean config option "DisableViaHeader".Michael Adam1-0/+2
2009-09-27conf: turn XTinyproxy into a boolean optionMichael Adam1-1/+1
This is what it actually is. The string value was used in earlier versions to compare against the uri->authority string. But not as a list of sites to create an X-Tinyproxy header for, as the tinyproxy.conf template states... Michael
2009-09-15Revert "Fix constness of stathost"Mukund Sivaraman1-1/+1
This reverts commit 42d2e10c93aacea89b7e5c23c1487a45788715b3.
2009-09-15Fix constness of stathostMukund Sivaraman1-1/+1
2009-09-15Extract cmdline parsing code into a functionMukund Sivaraman1-0/+1
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman1-49/+47
The modified files were indented with GNU indent using the following command: indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \ -saf -sai -saw -sc -cdw -ce -nut -il0 No other changes of any sort were made.
2009-09-10make "config_file" a const in the config struct.Michael Adam1-1/+1
Michael
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman1-0/+109