diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-01-09 14:44:56 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-01-09 14:44:56 +0000 |
commit | 5938e9b01684d98de7b15fd01984ba1b06c6b559 (patch) | |
tree | 9e16e1b491b382934998103309692acadda4db7e /usr.sbin/bgpd/rde.h | |
parent | a3ce925304553dae1c22f8bb69df514ffc39d7d9 (diff) |
Clean up header a bit, remove peer_recv_eor and peer_send_eor prototypes
and order prototypes like the functions in rde_peer.c
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 8d168c06f39..7878aaac262 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.230 2020/01/09 13:31:52 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.231 2020/01/09 14:44:55 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -382,18 +382,16 @@ struct rde_peer *peer_get(u_int32_t); struct rde_peer *peer_match(struct ctl_neighbor *, u_int32_t); struct rde_peer *peer_add(u_int32_t, struct peer_config *); -void peer_imsg_push(struct rde_peer *, struct imsg *); -int peer_imsg_pop(struct rde_peer *, struct imsg *); -int peer_imsg_pending(void); -void peer_imsg_flush(struct rde_peer *); - int peer_up(struct rde_peer *, struct session_up *); void peer_down(struct rde_peer *, void *); void peer_flush(struct rde_peer *, u_int8_t, time_t); void peer_stale(struct rde_peer *, u_int8_t); void peer_dump(struct rde_peer *, u_int8_t); -void peer_recv_eor(struct rde_peer *, u_int8_t); -void peer_send_eor(struct rde_peer *, u_int8_t); + +void peer_imsg_push(struct rde_peer *, struct imsg *); +int peer_imsg_pop(struct rde_peer *, struct imsg *); +int peer_imsg_pending(void); +void peer_imsg_flush(struct rde_peer *); /* rde_attr.c */ int attr_write(void *, u_int16_t, u_int8_t, u_int8_t, void *, |