mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
add appropriate sorting function for struct leases_t
The HASH_SORT in analyze needs this. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
965875d20b
commit
e09f655a7b
6 changed files with 38 additions and 1 deletions
|
|
@ -71,6 +71,7 @@ const char *(*ntop_ipaddr) (const union ipaddr_t *ip);
|
|||
double (*get_range_size) (const struct range_t *r);
|
||||
int (*xstrstr) (const char *__restrict str);
|
||||
int (*ipcomp) (const union ipaddr_t *restrict a, const union ipaddr_t *restrict b);
|
||||
int (*leasecomp) (const struct leases_t *restrict a, const struct leases_t *restrict b);
|
||||
int (*output_analysis) (void);
|
||||
void (*add_lease) (union ipaddr_t *ip, enum ltype type);
|
||||
struct leases_t *(*find_lease) (union ipaddr_t *ip);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue