mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-28 21:07:43 +00:00
Use enum dhcp_token instead of int.
This commit is contained in:
parent
c8d91ebbe3
commit
4b7f87367e
@ -245,6 +245,7 @@ struct lease_state {
|
|||||||
#define SV_NEXT_SERVER 17
|
#define SV_NEXT_SERVER 17
|
||||||
#define SV_AUTHORITATIVE 18
|
#define SV_AUTHORITATIVE 18
|
||||||
#define SV_VENDOR_OPTION_SPACE 19
|
#define SV_VENDOR_OPTION_SPACE 19
|
||||||
|
#define SV_ALWAYS_REPLY_RFC1048 20
|
||||||
|
|
||||||
#if !defined (DEFAULT_DEFAULT_LEASE_TIME)
|
#if !defined (DEFAULT_DEFAULT_LEASE_TIME)
|
||||||
# define DEFAULT_DEFAULT_LEASE_TIME 43200
|
# define DEFAULT_DEFAULT_LEASE_TIME 43200
|
||||||
@ -829,8 +830,8 @@ extern char comments [4096];
|
|||||||
extern int comment_index;
|
extern int comment_index;
|
||||||
extern int eol_token;
|
extern int eol_token;
|
||||||
void new_parse PROTO ((char *));
|
void new_parse PROTO ((char *));
|
||||||
int next_token PROTO ((char **, FILE *));
|
enum dhcp_token next_token PROTO ((char **, FILE *));
|
||||||
int peek_token PROTO ((char **, FILE *));
|
enum dhcp_token peek_token PROTO ((char **, FILE *));
|
||||||
|
|
||||||
/* confpars.c */
|
/* confpars.c */
|
||||||
int readconf PROTO ((void));
|
int readconf PROTO ((void));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user