]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
don't use a space in these cases
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 26 Apr 2005 12:59:24 +0000 (12:59 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 26 Apr 2005 12:59:24 +0000 (12:59 +0000)
@param->\param

ldns/dnssec.h
ldns/rr.h

index f47f15dc722b64f3aeaab418ebb026ff2feda708..d1e84a4b3a4e9e95070b71c6ce377d30b6afcadc 100644 (file)
@@ -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);
 
index 26cc5d13f364d7c57ec2e2f700839b32b62a0f57..0785cd4ba0b606e84896d46f02c830435183f367 100644 (file)
--- 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