From: Miek Gieben Date: Tue, 26 Apr 2005 12:59:24 +0000 (+0000) Subject: don't use a space in these cases X-Git-Tag: release-0.50~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c62c5c1cdc1fe9463ec71d201a911f339f0a238;p=thirdparty%2Fldns.git don't use a space in these cases @param->\param --- diff --git a/ldns/dnssec.h b/ldns/dnssec.h index f47f15dc..d1e84a4b 100644 --- a/ldns/dnssec.h +++ b/ldns/dnssec.h @@ -81,21 +81,21 @@ RSA *ldns_key_buf2rsa(ldns_buffer *key); * Verifies the tsig rr for the given packet and key (string?) * wire must be given too because tsig does not sign normalized packet * packet is still given (and used, but could be constructed from wire) - remove that? - * @return true if tsig is correct, false if not, or if tsig is not set + * remove that? + * \return true if tsig is correct, false if not, or if tsig is not set */ bool ldns_pkt_tsig_verify(ldns_pkt *pkt, uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, ldns_rdf *mac); /** * Creates a tsig rr for the given packet and key (string?) * - * @param pkt the packet to sign - * @param key_name the name of the shared key - * @param key_data the key in base 64 format - * @param fudge seconds of error permitted in time signed - * @param algorithm_name the name of the algorithm used (TODO more than only hmac-md5.sig-alg.reg.int.?) - * @param query_mac is added to the digest if not NULL (so NULL is for signing queries, not NULL is for signing answers) - * @return status (OK if success) + * \param[in] pkt the packet to sign + * \param[in] key_name the name of the shared key + * \param[in]key_data the key in base 64 format + * \param[in] fudge seconds of error permitted in time signed + * \param[in] algorithm_name the name of the algorithm used (TODO more than only hmac-md5.sig-alg.reg.int.?) + * \param[in] query_mac is added to the digest if not NULL (so NULL is for signing queries, not NULL is for signing answers) + * \return status (OK if success) */ ldns_status ldns_pkt_tsig_sign(ldns_pkt *pkt, const char *key_name, const char *key_data, uint16_t fudge, const char *algorithm_name, ldns_rdf *query_mac); diff --git a/ldns/rr.h b/ldns/rr.h index 26cc5d13..0785cd4b 100644 --- a/ldns/rr.h +++ b/ldns/rr.h @@ -401,13 +401,13 @@ void ldns_rr_list_set_rr_count(ldns_rr_list *rr_list, uint16_t count); * \param[in] nr return this rr * \return the rr at position nr */ -ldns_rr * ldns_rr_list_rr(ldns_rr_list *rr_list, uint16_t nr); +ldns_rr* ldns_rr_list_rr(ldns_rr_list *rr_list, uint16_t nr); /** * create a new rr_list strcture * \return a new rr_list structure */ -ldns_rr_list * ldns_rr_list_new(); +ldns_rr_list* ldns_rr_list_new(); /** * free an rr_list structure @@ -422,7 +422,7 @@ void ldns_rr_list_free(ldns_rr_list *rr_list); * \param[in] right the rightside * \return a new rr_list with leftside/rightside concatenated */ -ldns_rr_list * ldns_rr_list_cat(ldns_rr_list *left, ldns_rr_list *right); +ldns_rr_list* ldns_rr_list_cat(ldns_rr_list *left, ldns_rr_list *right); /** * push an rr to a rrlist @@ -437,7 +437,7 @@ bool ldns_rr_list_push_rr(ldns_rr_list *rr_list, ldns_rr *rr); * \param[in] rr_list the rr_list to pop from * \return NULL if nothing to pop. Otherwise the popped RR */ -ldns_rr * ldns_rr_list_pop_rr(ldns_rr_list *rr_list); +ldns_rr* ldns_rr_list_pop_rr(ldns_rr_list *rr_list); /** * check if an rr_list is a rrset @@ -461,7 +461,7 @@ bool ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr); * \return NULL if nothing to pop. Otherwise the popped RR * */ -ldns_rr * ldns_rr_set_pop_rr(ldns_rr_list *rr_list); +ldns_rr* ldns_rr_set_pop_rr(ldns_rr_list *rr_list); /** @@ -483,14 +483,14 @@ ldns_rr_class ldns_get_rr_class_by_name(const char *name); * \param[in] rr the rr to clone * \return the new rr or NULL on failure */ -ldns_rr * ldns_rr_deep_clone(const ldns_rr *rr); +ldns_rr* ldns_rr_deep_clone(const ldns_rr *rr); /** * Clone an rr list * \param[in] rrlist the rrlist to clone * \return the cloned rr list */ -ldns_rr_list * ldns_rr_list_deep_clone(ldns_rr_list *rrlist); +ldns_rr_list* ldns_rr_list_deep_clone(ldns_rr_list *rrlist); /** * sort an rr_list. the sorting is done inband