summaryrefslogtreecommitdiffhomepage
path: root/src/conffile.c
AgeCommit message (Collapse)Author
2009-09-14conffile: reformat the directives array for readability.Michael Adam
Michael
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman
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-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2009-08-04conffile: change [sg]et_int_arg() to return unsigned long intMichael Adam
This is also the parser regexp for INT in the definition. Michael
2009-08-04conffile: add explicit cast in get_string_arg().Michael Adam
Michael
2009-08-04config_compile(): add an explicit cast.Michael Adam
Michael
2009-08-04config_compile(): fix as signed / unsigned comparison compiler warning.Michael Adam
Michael
2009-08-04conffile: fix indentation in the directives definition.Michael Adam
Michael
2009-08-04conffile: fix some missing initializer warnings in the directives definition.Michael Adam
Michael
2009-08-04conffile: reformat some indentation and linebreak in the directives definition.Michael Adam
Michael
2008-12-08Convert tabs to spacesMukund Sivaraman
2008-12-08Break at 80 columnsMukund Sivaraman
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
2008-07-14Allow numeric uid/gids in User and Group directivesMukund Sivaraman
This change allows numeric uid/gids to be specified in the User and Group directives in tinyproxy.conf. Formerly, only username and group names were accepted. This fixes bug #15, which was created after looking at a case on the OpenWrt wiki. X-Banu-Bugzilla-Ids: 15
2008-05-24Renamed htmlerror.[ch] to html-error.[ch]Mukund Sivaraman
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated.
2008-03-30Free arg before returning, or it'll leakMukund Sivaraman
2008-03-13Renamed file to replace underscores in it with dashesMukund Sivaraman
2005-11-04Added support for UPSTREAM directive.Robert James Kaes
Included the basic grammar and handler functions for the "upstream" and "no upstream" directives. I still need to update the grammar to match _all_ the possibilities documented in the tinyproxy.conf file, but at least it now does as much as the old config parser.
2005-11-04Reformatted the reverse and filter configuration blocks. If eitherRobert James Kaes
section is not enabled at compile time, it should not be included in the object file.
2005-11-04Fixed up whitespace formatting of the config file directives. AlsoRobert James Kaes
added blank lines to group related directives.
2005-08-16* [Refactor] Moved Reverse Proxy CodeRobert James Kaes
Moved the reverse proxy code from reqs.c into it's own files (reverse_proxy.c). The code in reqs.c is way too complicated, so I want to move unrelated code into their own files to simplify the main concepts in reqs.c.
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes
I re-indented the source code using indent with the following options: indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs There are now _no_ tabs in the source files, and all indentation is eight spaces. Lines are 80 characters long, and the procedure type is on it's own line. Read the indent manual for more information about what each option means.
2004-08-24(get_bool_arg): Moved the initialization of "p" _before_ the assert()Robert James Kaes
calls. The code doesn't compile under gcc 2.95 otherwise. (I'm surprised it compiles under gcc 3.3 without a problem.)
2004-08-14Reorganized the source code. Added the missing reverse proxyRobert James Kaes
directives. Added a bunch of comments to clarify how the code works.
2004-08-13Added some error logging information for directives that areRobert James Kaes
conditionally compiled. Still need to add info messages for the directives.
2004-08-13Added the new configuration parsing system (conffile.c andRobert James Kaes
conffile.h.) The new system is intended to replace the existing grammar.y and scanner.l files. I don't want to depend on flex/bison any longer.