mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
all files: re-indent
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
1875a13733
commit
7cd381ed83
6 changed files with 69 additions and 67 deletions
|
|
@ -93,6 +93,7 @@ enum dhcp_version {
|
|||
IPv4,
|
||||
IPv6
|
||||
};
|
||||
|
||||
/*! \enum prefix_t
|
||||
* \brief Enumeration of interesting data in dhcpd.leases file, that has
|
||||
* to be further examined, and saved.
|
||||
|
|
@ -108,6 +109,7 @@ enum prefix_t {
|
|||
PREFIX_HARDWARE_ETHERNET,
|
||||
NUM_OF_PREFIX
|
||||
};
|
||||
|
||||
/*! \struct shared_network_t
|
||||
* \brief Counters for an individual shared network.
|
||||
*/
|
||||
|
|
@ -119,6 +121,7 @@ struct shared_network_t {
|
|||
double backups;
|
||||
int netmask;
|
||||
};
|
||||
|
||||
/*! \struct range_t
|
||||
* \brief Counters for an individual range.
|
||||
*/
|
||||
|
|
@ -130,6 +133,7 @@ struct range_t {
|
|||
double touched;
|
||||
double backups;
|
||||
};
|
||||
|
||||
/*! \enum count_status_t
|
||||
* \brief Enumeration of possible range and shared net statuses.
|
||||
*/
|
||||
|
|
@ -140,6 +144,7 @@ enum count_status_t {
|
|||
STATUS_IGNORED,
|
||||
STATUS_SUPPRESSED
|
||||
};
|
||||
|
||||
/*! \struct output_helper_t
|
||||
* \brief Various per range and shared net temporary calculation results.
|
||||
*/
|
||||
|
|
@ -151,6 +156,7 @@ struct output_helper_t {
|
|||
double tcp;
|
||||
double bup;
|
||||
};
|
||||
|
||||
/*! \enum isc_conf_parser
|
||||
* \brief Configuration file parsing state flags.
|
||||
*/
|
||||
|
|
@ -163,6 +169,7 @@ enum isc_conf_parser {
|
|||
ITS_A_SUBNET,
|
||||
ITS_A_NETMASK
|
||||
};
|
||||
|
||||
/*! \enum ltype
|
||||
* \brief Lease state types.
|
||||
*/
|
||||
|
|
@ -171,6 +178,7 @@ enum ltype {
|
|||
FREE,
|
||||
BACKUP
|
||||
};
|
||||
|
||||
/*! \struct leases_t
|
||||
* \brief An individual lease. The leaases are hashed.
|
||||
*/
|
||||
|
|
@ -180,6 +188,7 @@ struct leases_t {
|
|||
char *ethernet;
|
||||
UT_hash_handle hh;
|
||||
};
|
||||
|
||||
/*! \enum limbits
|
||||
* \brief Output limit bits: R_BIT ranges, S_BIT shared networks, A_BIT all.
|
||||
*/
|
||||
|
|
@ -208,7 +217,7 @@ enum color_mode {
|
|||
color_unknown,
|
||||
color_off,
|
||||
color_on,
|
||||
color_auto /* default */
|
||||
color_auto /* default */
|
||||
};
|
||||
|
||||
/*! \var comparer_t
|
||||
|
|
@ -223,6 +232,7 @@ struct output_sort {
|
|||
comparer_t func;
|
||||
struct output_sort *next;
|
||||
};
|
||||
|
||||
/*! \struct conf_t
|
||||
* \brief Runtime configuration state.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue