2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Replace custom isc_u?intNN_t types with C99 u?intNN_t types

This commit is contained in:
Ondřej Surý
2018-03-28 14:19:37 +02:00
parent 055278c936
commit cb6a185c69
390 changed files with 2812 additions and 2528 deletions

View File

@@ -14,6 +14,8 @@
/*! \file dst/dst.h */
#include <inttypes.h>
#include <isc/lang.h>
#include <isc/stdtime.h>
@@ -675,7 +677,7 @@ dst_key_proto(const dst_key_t *key);
unsigned int
dst_key_alg(const dst_key_t *key);
isc_uint32_t
uint32_t
dst_key_flags(const dst_key_t *key);
dns_keytag_t
@@ -747,9 +749,9 @@ dst_key_secretsize(const dst_key_t *key, unsigned int *n);
*\li "n" stores the size of a generated shared secret
*/
isc_uint16_t
uint16_t
dst_region_computeid(const isc_region_t *source, unsigned int alg);
isc_uint16_t
uint16_t
dst_region_computerid(const isc_region_t *source, unsigned int alg);
/*%<
* Computes the (revoked) key id of the key stored in the provided
@@ -762,7 +764,7 @@ dst_region_computerid(const isc_region_t *source, unsigned int alg);
*\li the key id
*/
isc_uint16_t
uint16_t
dst_key_getbits(const dst_key_t *key);
/*%<
* Get the number of digest bits required (0 == MAX).
@@ -772,7 +774,7 @@ dst_key_getbits(const dst_key_t *key);
*/
void
dst_key_setbits(dst_key_t *key, isc_uint16_t bits);
dst_key_setbits(dst_key_t *key, uint16_t bits);
/*%<
* Set the number of digest bits required (0 == MAX).
*
@@ -801,7 +803,7 @@ dst_key_getttl(const dst_key_t *key);
*/
isc_result_t
dst_key_setflags(dst_key_t *key, isc_uint32_t flags);
dst_key_setflags(dst_key_t *key, uint32_t flags);
/*
* Set the key flags, and recompute the key ID.
*
@@ -810,7 +812,7 @@ dst_key_setflags(dst_key_t *key, isc_uint32_t flags);
*/
isc_result_t
dst_key_getnum(const dst_key_t *key, int type, isc_uint32_t *valuep);
dst_key_getnum(const dst_key_t *key, int type, uint32_t *valuep);
/*%<
* Get a member of the numeric metadata array and place it in '*valuep'.
*
@@ -821,7 +823,7 @@ dst_key_getnum(const dst_key_t *key, int type, isc_uint32_t *valuep);
*/
void
dst_key_setnum(dst_key_t *key, int type, isc_uint32_t value);
dst_key_setnum(dst_key_t *key, int type, uint32_t value);
/*%<
* Set a member of the numeric metadata array.
*