summaryrefslogtreecommitdiff
path: root/src/main.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2010-03-27Update Tinyproxy website URLsMukund Sivaraman1-1/+1
2010-03-02change the default pid file location to "@LOCALSTATEDIR@/run/tinyproxy/tinypr...Michael Adam1-1/+1
2010-03-02change the default log file location to "@LOCALSTATEDIR@/log/tinyproxy/tinypr...Michael Adam1-1/+1
2010-03-02main: some tabs->spacesMichael Adam1-2/+2
2010-03-02main: move a log message.Michael Adam1-2/+2
2010-03-02main: drop privileges right after reading the configMichael Adam1-7/+8
2010-03-02main: separate loading of config and setup_logging at startupMichael Adam1-1/+8
2010-02-17Display upstream proxy support in usage messageMukund Sivaraman1-0/+5
2010-02-17Update help text a littleMukund Sivaraman1-1/+1
2010-01-19Change to for loopMukund Sivaraman1-8/+3
2010-01-18Show authors and documenters when license is requestedMukund Sivaraman1-1/+25
2010-01-13conf: add a default for PidFile: LOCALSTATEDIR/run/tinyproxy.pidMichael Adam1-0/+1
2010-01-13conf: set default LogFile to LOCALSTATEDIR/log/tinyproxy.logMichael Adam1-0/+1
2010-01-10Happy new year 2010!Michael Adam1-4/+4
2009-12-23Use shutdown_logging() in main().Michael Adam1-4/+1
2009-12-23Use reload_config() in main() to load config and init logging.Michael Adam1-7/+1
2009-12-23enhance reload_config to correctly re-initialize the logging subsystem.Michael Adam1-0/+9
2009-12-23main: remove global bool processed_config_file.Michael Adam1-3/+0
2009-12-23log: call send_stored_logs in setup_logging instead of in main().Michael Adam1-1/+0
2009-12-22main: add convenience wrapper reload_config() for reload_config_file()Michael Adam1-0/+13
2009-12-22conf: rename reload_config --> reload_config_fileMichael Adam1-2/+2
2009-12-07Use reload_config() in main.Michael Adam1-24/+5
2009-12-07main: Move setup_logging to after the config post-processing checks.Michael Adam1-8/+8
2009-12-07Don't make config_file const in the config struct.Michael Adam1-1/+8
2009-12-06main/conf: add maxidletimeout to initialize_config_defaultsMichael Adam1-0/+1
2009-12-06main: fix tab -> spacesMichael Adam1-1/+1
2009-12-06conf: move setting of default stathost to initialize_config_defaults()Michael Adam1-6/+1
2009-12-06main: use safestrdup instead of strdup in process_cmdlineMichael Adam1-1/+1
2009-11-14conf: refactor loading of config file out into load_config_file()Michael Adam1-14/+2
2009-11-14main: add a config struct argument to process_cmdline.Michael Adam1-5/+5
2009-11-14main: put initialization of config defaults into a function of its ownMichael Adam1-9/+14
2009-11-14extract setup of the logging subsystem into a function of its own.Michael Adam1-17/+3
2009-11-14main: move initialization of default config values closer togetherMichael Adam1-5/+4
2009-10-25Change child_kill_children() to take the signal as an argument.Michael Adam1-1/+1
2009-10-07add muks' and my (C) to the main.c boilerplate comment.Michael Adam1-0/+3
2009-10-07main: add muks and me to the license output (tinyproxy -l)Michael Adam1-0/+2
2009-09-27Modify usage help text shown when Tinyproxy is run with -hMukund Sivaraman1-7/+26
2009-09-27strdup() the default stathost in config struct as it can be freedMukund Sivaraman1-1/+1
2009-09-21Rename conffile.[ch] to conf.[ch]Mukund Sivaraman1-1/+1
2009-09-20build: Remove use of the obsolete AC_TYPE_SIGNAL macroMukund Sivaraman1-1/+1
2009-09-20build: Rename autoconf variableMukund Sivaraman1-2/+2
2009-09-20Remove the target system information when the version is displayedMukund Sivaraman1-1/+1
2009-09-20Remove ability to change the name of the default configuration fileMukund Sivaraman1-1/+1
2009-09-15Make takesig() into a static functionMukund Sivaraman1-3/+1
2009-09-15Minor indenting changesMukund Sivaraman1-46/+38
2009-09-15Return instead of exit() at end of main()Mukund Sivaraman1-1/+1
2009-09-15Minor indenting changesMukund Sivaraman1-5/+10
2009-09-15Exit with proper status in case of bad commandline argumentsMukund Sivaraman1-1/+4
2009-09-15Add doc for change_user()Mukund Sivaraman1-0/+8
2009-09-15Return correct error status when setuid() or setgid() failsMukund Sivaraman1-2/+2