Currently, there is no good way to figure out what went wrong when something goes wrong. Logging statements should be added throughout the program to help with debugging, as well as figuring out what is wrong when someone has an issue.
Additionally, errors are put in a field in the lickdir_t struct. This is the primary reason the struct needs to be passed to almost every function. This might be able to be replaced with logging infrastructure.
Currently, there is no good way to figure out what went wrong when something goes wrong. Logging statements should be added throughout the program to help with debugging, as well as figuring out what is wrong when someone has an issue.
Additionally, errors are put in a field in the
lickdir_tstruct. This is the primary reason the struct needs to be passed to almost every function. This might be able to be replaced with logging infrastructure.