summaryrefslogtreecommitdiff
path: root/src/conffile.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04conffile: change [sg]et_int_arg() to return unsigned long intMichael Adam1-7/+7
This is also the parser regexp for INT in the definition. Michael
2009-08-04conffile: add explicit cast in get_string_arg().Michael Adam1-1/+1
Michael
2009-08-04config_compile(): add an explicit cast.Michael Adam1-1/+1
Michael
2009-08-04config_compile(): fix as signed / unsigned comparison compiler warning.Michael Adam1-1/+1
Michael
2009-08-04conffile: fix indentation in the directives definition.Michael Adam1-45/+47
Michael
2009-08-04conffile: fix some missing initializer warnings in the directives definition.Michael Adam1-4/+5
Michael
2009-08-04conffile: reformat some indentation and linebreak in the directives definition.Michael Adam1-10/+8
Michael
2008-12-08Convert tabs to spacesMukund Sivaraman1-29/+29
2008-12-08Break at 80 columnsMukund Sivaraman1-1/+3
2008-12-01Reformat code to GNU coding styleMukund Sivaraman1-388/+400
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 Sivaraman1-1/+1
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 Sivaraman1-1/+1
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman1-16/+20
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 Sivaraman1-0/+3
2008-03-13Renamed file to replace underscores in it with dashesMukund Sivaraman1-1/+1
2005-11-04Added support for UPSTREAM directive.Robert James Kaes1-4/+52
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 Kaes1-73/+10
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 Kaes1-52/+61
added blank lines to group related directives.
2005-08-16* [Refactor] Moved Reverse Proxy CodeRobert James Kaes1-1/+2
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 Kaes1-168/+281
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 Kaes1-3/+3
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 Kaes1-109/+143
directives. Added a bunch of comments to clarify how the code works.
2004-08-13Added some error logging information for directives that areRobert James Kaes1-13/+49
conditionally compiled. Still need to add info messages for the directives.
2004-08-13Added the new configuration parsing system (conffile.c andRobert James Kaes1-0/+612
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.