mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 08:16:59 +00:00
clean up: move code to more proper location
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
2008e1a047
commit
a9d2d9c82f
3 changed files with 25 additions and 37 deletions
|
|
@ -146,8 +146,6 @@ struct leases_t {
|
|||
};
|
||||
|
||||
/* Global variables */
|
||||
/* \var prefixes An array holding dhcpd.leases lines that are wanted to examine.*/
|
||||
const char *prefixes[2][NUM_OF_PREFIX];
|
||||
/* \var prefix_length Length of each prefix. */
|
||||
int prefix_length[2][NUM_OF_PREFIX];
|
||||
/* \var config Runtime configuration. */
|
||||
|
|
@ -175,6 +173,8 @@ struct range_t *ranges;
|
|||
unsigned int num_ranges;
|
||||
/* \var leases Pointer holding all leases. */
|
||||
struct leases_t *leases;
|
||||
/*! \var RANGES Maximum number of ranges. */
|
||||
unsigned int RANGES;
|
||||
|
||||
/* Function prototypes */
|
||||
int prepare_memory(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue