Constness in knotd module interface
Hi,
It looks like the const
qualifier could easily be added to several function parameters in the knotd module interface. Attached is a patch that does so where it looks like const
could be used.
Missing constness in the module interface isn't that big of a deal when developing knotd modules in C, but I've found instances where it can be helpful when writing knotd modules in Rust via bindgen, where a mutable vs. non-mutable reference/pointer is a much bigger distinction than it is in C.
Thanks!
0001-knot-module-Add-const-qualifier-to-various-parameter.patch