diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-03-13 06:25:05 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-03-13 06:25:05 +0000 |
commit | d901ce9ccd1f8deec38a1f21b9277da45d579d4a (patch) | |
tree | 9feb466c7c4e3538a2673ecfcd1c5c491580840d /usr.sbin/bgpd/mrt.h | |
parent | b46197fd0e1d973767a6c5a0821f1aab60933a00 (diff) |
Next step in mrt cleanup. Switch buf_write to a smarter version of itself.
Doing more the stuff msgbuf_write does and switch the only user -- mrt --
over to use this simpler way of writing out stuff.
Diffstat (limited to 'usr.sbin/bgpd/mrt.h')
-rw-r--r-- | usr.sbin/bgpd/mrt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/mrt.h b/usr.sbin/bgpd/mrt.h index 5414be3edc8..2998c18cbec 100644 --- a/usr.sbin/bgpd/mrt.h +++ b/usr.sbin/bgpd/mrt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.h,v 1.17 2009/03/13 05:43:51 claudio Exp $ */ +/* $OpenBSD: mrt.h,v 1.18 2009/03/13 06:25:04 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -285,7 +285,7 @@ int mrt_dump_state(struct mrt *, u_int16_t, u_int16_t, struct peer *, struct bgpd_config *); void mrt_clear_seq(void); void mrt_dump_upcall(struct pt_entry *, void *); -int mrt_write(struct mrt *); +void mrt_write(struct mrt *); void mrt_clean(struct mrt *); void mrt_init(struct imsgbuf *, struct imsgbuf *); int mrt_timeout(struct mrt_head *); |