Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
5f120ce9
Commit
5f120ce9
authored
Aug 12, 1999
by
Bob Halley
Browse files
add dns_wildcardname constant
parent
593d9512
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dns/include/dns/name.h
View file @
5f120ce9
...
...
@@ -198,6 +198,7 @@ struct dns_name {
#define DNS_NAMEATTR_DYNAMIC 0x0004
extern
dns_name_t
*
dns_rootname
;
extern
dns_name_t
*
dns_wildcardname
;
/***
*** Initialization
...
...
lib/dns/name.c
View file @
5f120ce9
...
...
@@ -150,6 +150,17 @@ static struct dns_name root = {
dns_name_t
*
dns_rootname
=
&
root
;
static
struct
dns_name
wild
=
{
NAME_MAGIC
,
(
unsigned
char
*
)
"
\001
*"
,
2
,
1
,
DNS_NAMEATTR_READONLY
,
(
unsigned
char
*
)
""
,
NULL
,
{(
void
*
)
-
1
,
(
void
*
)
-
1
},
{
NULL
,
NULL
}
};
dns_name_t
*
dns_wildcardname
=
&
wild
;
static
void
set_offsets
(
dns_name_t
*
name
,
unsigned
char
*
offsets
,
isc_boolean_t
set_labels
,
isc_boolean_t
set_length
,
isc_boolean_t
set_absolute
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment