summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
AgeCommit message (Collapse)Author
2009-12-06conf: move setting of default stathost to initialize_config_defaults()Michael Adam
Michael
2009-12-06main: use safestrdup instead of strdup in process_cmdlineMichael Adam
Michael
2009-11-14conf: refactor loading of config file out into load_config_file()Michael Adam
and make config_compile and config_parse static to conf.c Michael
2009-11-14main: add a config struct argument to process_cmdline.Michael Adam
Michael
2009-11-14main: put initialization of config defaults into a function of its ownMichael Adam
Michael
2009-11-14extract setup of the logging subsystem into a function of its own.Michael Adam
Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-14main: move initialization of default config values closer togetherMichael Adam
Michael
2009-10-25Change child_kill_children() to take the signal as an argument.Michael Adam
2009-10-07add muks' and my (C) to the main.c boilerplate comment.Michael Adam
Michael
2009-10-07main: add muks and me to the license output (tinyproxy -l)Michael Adam
Michael
2009-09-27Modify usage help text shown when Tinyproxy is run with -hMukund Sivaraman
2009-09-27strdup() the default stathost in config struct as it can be freedMukund Sivaraman
2009-09-21Rename conffile.[ch] to conf.[ch]Mukund Sivaraman
2009-09-20build: Remove use of the obsolete AC_TYPE_SIGNAL macroMukund Sivaraman
C89 compilers use void return type for signal handler functions.
2009-09-20build: Rename autoconf variableMukund Sivaraman
2009-09-20Remove the target system information when the version is displayedMukund Sivaraman
If we require information about the runtime environment, it can be found using the uname program. And binutils can tell about what the tinyproxy binary contains. Tinyproxy doesn't have to report this information.
2009-09-20Remove ability to change the name of the default configuration fileMukund Sivaraman
This feature will only confuse us during support, if users come to us with a Tinyproxy build which has a differently named default config file. This feature is not that useful anyway.
2009-09-15Make takesig() into a static functionMukund Sivaraman
2009-09-15Minor indenting changesMukund Sivaraman
Also changed the text "configuration file" to read "config file".
2009-09-15Return instead of exit() at end of main()Mukund Sivaraman
2009-09-15Minor indenting changesMukund Sivaraman
2009-09-15Exit with proper status in case of bad commandline argumentsMukund Sivaraman
2009-09-15Add doc for change_user()Mukund Sivaraman
2009-09-15Return correct error status when setuid() or setgid() failsMukund Sivaraman
2009-09-15Extract setuid/setgid code into a functionMukund Sivaraman
2009-09-15Extract cmdline parsing code into a functionMukund Sivaraman
2009-09-15Remove unused variableMukund Sivaraman
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