Commit Graph

17 Commits (3ce1982af61c7b2c06c34b2712c24dd13bf21e7e)

Author SHA1 Message Date
Justin Reichardt 3ce1982af6 Added config.h.in file
cmake generates a config file. It currently just shows the version.
rhosts now prints the version at start
2021-09-17 11:28:11 -05:00
Justin Reichardt fe7d96e573 Removed openfile and closefile functions
They are not used and so were removed
2021-09-02 16:43:27 -05:00
Justin Reichardt 3893dc2bd9 Revert "Added libclogs"
libclogs had issues when the program was split into multiple files.
So it is being removed for now and will be readded later.
2021-09-02 10:38:59 -05:00
Justin Reichardt 74c0f189a0 Log level is set to WARNING unless -d flag is used
-d flag now sets logging to debug
2021-08-30 11:46:02 -05:00
Justin Reichardt c286c78c1f Added libclogs
Added custom logging library
2021-08-30 10:44:18 -05:00
Justin Reichardt 128b20d857 Corrected the license notice
Turns out the program is not called Foobar. Forgot to replace one of the
Foobar entries.
2021-08-28 14:04:45 -05:00
Justin Reichardt a3607e7717 Improved the the Copyright
Changed the Licence file to Copying
Added license notices to the source files
2021-08-28 13:59:33 -05:00
Justin Reichardt 50cdb303b9 Added download.c
Moved the download functions from rhosts to their own file
2021-08-27 10:10:08 -05:00
Justin Reichardt d2d092ed31 Copy tmp file to hosts file when complete 2021-08-26 19:17:57 -05:00
Justin Reichardt 1c6d230aac Forgot to stage the function definition 2021-08-26 19:08:35 -05:00
Justin Reichardt bba9693138 Added libcurl to download remote repos
Added the functions to download and add the contents to tmpfile
Updated the Makefile and README.md
2021-08-26 18:03:17 -05:00
Justin Reichardt 7de6403f27 Added add_site_entries
Added the function for adding static sites
Also remembered to close the files before exiting the download_entries
function
2021-08-26 15:58:35 -05:00
Justin Reichardt 4c443474e5 Added download_entries
It currently doesn't funtion
2021-08-26 14:53:54 -05:00
Justin Reichardt 89a122ed16 Added MAXSTRSIZE
To unify the string buffer sizes
2021-08-26 10:37:44 -05:00
Justin Reichardt 59ac732945 Corrected the spelling of string.h 2021-08-25 21:22:05 -05:00
Justin Reichardt f318271a28 Parses the config file
Added parse_config and determine_config_entry_value functions and entry
types definitions in order to parse the config file
2021-08-25 21:02:35 -05:00
Justin Reichardt 3bf49028a4 Initialized the rhosts c files 2021-08-24 10:27:46 -05:00