summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.h
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-03-22 22:13:49 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-03-22 22:13:49 +0000
commit8a40b42338d4d8f23036428ca1de8583573f6461 (patch)
treec50a11e3e6587573d400bc774ac283925a2a0ca2 /usr.sbin/ospfd/ospfe.h
parenta5c8c7427195568ba9d33a925c8c45c14163b6a5 (diff)
Remove bool cruft.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/ospfe.h')
-rw-r--r--usr.sbin/ospfd/ospfe.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h
index 4cada9ff7ce..03e95318ffb 100644
--- a/usr.sbin/ospfd/ospfe.h
+++ b/usr.sbin/ospfd/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.8 2005/03/17 21:17:12 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.9 2005/03/22 22:13:48 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -140,8 +140,7 @@ struct nbr {
u_int8_t options;
u_int8_t last_rx_options;
u_int8_t last_rx_bits;
-
- bool master;
+ u_int8_t master;
};
/* auth.c */
@@ -208,7 +207,7 @@ int lsa_hdr_check(struct nbr *, struct lsa_hdr *);
void ls_ack_list_add(struct iface *, struct lsa_hdr *);
void ls_ack_list_free(struct iface *, struct lsa_entry *);
void ls_ack_list_clr(struct iface *);
-bool ls_ack_list_empty(struct iface *);
+int ls_ack_list_empty(struct iface *);
void ls_ack_tx_timer(int, short, void *);
int start_ls_ack_tx_timer(struct iface *);
int stop_ls_ack_tx_timer(struct iface *);
@@ -221,7 +220,7 @@ int ls_req_list_del(struct nbr *, struct lsa_hdr *);
struct lsa_entry *ls_req_list_get(struct nbr *, struct lsa_hdr *);
void ls_req_list_free(struct nbr *, struct lsa_entry *);
void ls_req_list_clr(struct nbr *);
-bool ls_req_list_empty(struct nbr *);
+int ls_req_list_empty(struct nbr *);
void ls_req_tx_timer(int, short, void *);
int start_ls_req_tx_timer(struct nbr *);
int stop_ls_req_tx_timer(struct nbr *);
@@ -237,7 +236,7 @@ int ls_retrans_list_del(struct nbr *, struct lsa_hdr *);
struct lsa_entry *ls_retrans_list_get(struct nbr *, struct lsa_hdr *);
void ls_retrans_list_free(struct nbr *, struct lsa_entry *);
void ls_retrans_list_clr(struct nbr *);
-bool ls_retrans_list_empty(struct nbr *);
+int ls_retrans_list_empty(struct nbr *);
void ls_retrans_timer(int, short, void *);