summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/src
AgeCommit message (Collapse)Author
2016-01-01Put config-related functions in a separate fileMaxim Biro
bootstrap_node_packets.c was giving an error as it was being included twice and there were no include guards, so part of it was split into bootstrap_node_packets.h.
2015-12-31Add ability to run the daemon in foregroundMaxim Biro
Useful for things like a Docker container or just running it in the terminal. Complements the stdout logging option. This is actually why the stdout logging was added in the first place -- to be used in the foreground mode, though nothing stops one from using stdout in the background mode, which one could redirect to a file.
2015-12-31Fix wrong filename mentioned above licenseMaxim Biro
2015-12-31Rename LOGGER_BACKEND to LOG_BACKENDMaxim Biro
2015-12-31Add ability to specify multiple command line argumentsMaxim Biro
Needed in order to specify which log backend to use. Init scripts need to be updated to contain --config before the path to the config file.
2015-12-31Make daemon use the new log codeMaxim Biro
"log" is a reserved name (log from math.h), so it got changed into write_log.
2015-12-31Make logger a global object instead of an instanceMaxim Biro
Passing Logger object into every function isn't fun. See for yourself: something as simple as a public key printing function turns from >void print_public_key(const uint8_t *public_key) to >void print_public_key(Logger *logger, const uint8_t *public_key)
2015-12-30Add logger object to be able to support multiple logging backendsMaxim Biro