make magic numbers be the first things in the structures

This commit is contained in:
Michael Graff
2000-05-10 23:58:12 +00:00
parent 8648b6190d
commit 202ea9ccee
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -181,8 +181,8 @@ struct dns_c_kid {
* List of key ids for a 'server' statement.
*/
struct dns_c_kid_list {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
ISC_LIST(dns_c_kid_t) keyids;
};
+2 -2
View File
@@ -77,8 +77,8 @@ typedef struct dns_c_lstn_list dns_c_lstnlist_t;
* Structure for holing value of a single listen-on statement.
*/
struct dns_c_lstn_on {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
in_port_t port;
dns_c_ipmatchlist_t *iml;
@@ -91,8 +91,8 @@ struct dns_c_lstn_on {
* A list of listen-on statements.
*/
struct dns_c_lstn_list {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
ISC_LIST(dns_c_lstnon_t) elements;
};
+4 -4
View File
@@ -43,8 +43,8 @@ typedef struct dns_c_ndcserverlist dns_c_ndcserverlist_t;
typedef struct dns_c_ndckey dnc_c_ndckey_t;
struct dns_c_ndcctx {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
dns_c_ndcopts_t *opts;
dns_c_ndcserverlist_t *servers;
@@ -52,23 +52,23 @@ struct dns_c_ndcctx {
};
struct dns_c_ndcopts {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
char *defserver;
char *defkey;
};
struct dns_c_ndcserverlist {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
ISC_LIST(dns_c_ndcserver_t) list;
};
struct dns_c_ndcserver {
isc_mem_t *mem;
isc_uint32_t magic;
isc_mem_t *mem;
char *name;
char *key;