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
dhcp
Commits
a59ea078
Commit
a59ea078
authored
Apr 06, 2000
by
Ted Lemon
Browse files
Move tsig_key declaration above client_lease declaration.
parent
eb1aa668
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/dhcpd.h
View file @
a59ea078
...
...
@@ -569,6 +569,13 @@ struct class {
struct
executable_statement
*
statements
;
};
struct
tsig_key
{
int
refcnt
;
char
*
name
;
char
*
algorithm
;
struct
data_string
key
;
};
/* DHCP client lease structure... */
struct
client_lease
{
struct
client_lease
*
next
;
/* Next lease in list. */
...
...
@@ -577,7 +584,7 @@ struct client_lease {
char
*
server_name
;
/* Name of boot server. */
char
*
filename
;
/* Name of file we're supposed to boot. */
struct
string_list
*
medium
;
/* Network medium. */
struct
data_string
auth_key_id
;
/* A
uthentication
key ID used
. */
struct
tsig_key
*
key
;
/* Key used in basic DHCP a
uthentication. */
unsigned
int
is_static
:
1
;
/* If set, lease is from config file. */
unsigned
int
is_bootp
:
1
;
/* If set, lease was aquired with BOOTP. */
...
...
@@ -777,13 +784,6 @@ struct dns_query {
int
backoff
;
/* Current backoff, in seconds. */
};
struct
tsig_key
{
int
refcnt
;
char
*
name
;
char
*
algorithm
;
struct
data_string
key
;
};
struct
dns_zone
{
int
refcnt
;
TIME
timeout
;
...
...
@@ -998,6 +998,7 @@ TIME parse_date PROTO ((struct parse *));
struct
option
*
parse_option_name
PROTO
((
struct
parse
*
,
int
,
int
*
));
void
parse_option_space_decl
PROTO
((
struct
parse
*
));
int
parse_option_code_definition
PROTO
((
struct
parse
*
,
struct
option
*
));
int
parse_base64
(
struct
data_string
*
,
struct
parse
*
);
int
parse_cshl
PROTO
((
struct
data_string
*
,
struct
parse
*
));
int
parse_executable_statement
PROTO
((
struct
executable_statement
**
,
struct
parse
*
,
int
*
,
...
...
@@ -1006,6 +1007,7 @@ int parse_executable_statements PROTO ((struct executable_statement **,
struct
parse
*
,
int
*
,
enum
expression_context
));
int
parse_zone
(
struct
dns_zone
*
,
struct
parse
*
);
int
parse_key
(
struct
parse
*
);
int
parse_on_statement
PROTO
((
struct
executable_statement
**
,
struct
parse
*
,
int
*
));
int
parse_switch_statement
PROTO
((
struct
executable_statement
**
,
...
...
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