Commit a0175dbe authored by Karel Slaný's avatar Karel Slaný

review: removed return values in documentation that cannot be returned

parent f3bbef55
......@@ -38,7 +38,6 @@ struct knot_cc_input {
* return contains size of client cookie.
*
* \retval KNOT_EOK
* \retval KNOT_ESPACE
* \retval KNOT_EINVAL
*/
typedef int (knot_cc_gen_t)(const struct knot_cc_input *input,
......@@ -61,7 +60,6 @@ struct knot_cc_alg {
* \param cc_alg Client cookie algorithm.
*
* \retval KNOT_EOK
* \retval KNOT_ESPACE
* \retval KNOT_EINVAL
*/
int knot_cc_check(const uint8_t *cc, uint16_t cc_len,
......
......@@ -96,7 +96,6 @@ int knot_sc_parse(uint16_t nonce_len, const uint8_t *sc, uint16_t sc_len,
* return contains size of written hash.
*
* \retval KNOT_EOK
* \retval KNOT_ESPACE
* \retval KNOT_EINVAL
*/
typedef int (knot_sc_hash_t)(const struct knot_sc_input *input,
......@@ -119,7 +118,6 @@ struct knot_sc_alg {
* \param sc_alg Server cookie algorithm.
*
* \retval KNOT_EOK
* \retval KNOT_ESPACE
* \retval KNOT_EINVAL
*/
int knot_sc_check(uint16_t nonce_len, const struct knot_dns_cookies *cookies,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment