From 4408d355bf203228e260018e43cfbc145f9ea1d3 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 3 Jan 2006 22:20:00 +0000 Subject: Move functions shared with bgpctl into new file util.c. Simplifies the link between bgpctl and bgpd mostly because of rde_attr.c. --- usr.sbin/bgpd/rde.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/bgpd/rde.h') diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index e33842a4b67..2dd90e7e40f 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.77 2005/12/30 17:20:21 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.78 2006/01/03 22:19:59 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker and @@ -273,9 +273,6 @@ u_int16_t aspath_neighbor(struct aspath *); int aspath_loopfree(struct aspath *, u_int16_t); int aspath_compare(struct aspath *, struct aspath *); struct aspath *aspath_prepend(struct aspath *, u_int16_t, int); -int aspath_snprint(char *, size_t, void *, u_int16_t); -int aspath_asprint(char **, void *, u_int16_t); -size_t aspath_strlen(void *, u_int16_t); int aspath_match(struct aspath *, enum as_spec, u_int16_t); int community_match(void *, u_int16_t, int, int); int community_set(struct attr *, int, int); @@ -359,4 +356,7 @@ int rde_filter_community(struct rde_aspath *, int, int); int rde_filter_equal(struct filter_head *, struct filter_head *, enum directions); +/* util.c */ +u_int16_t aspath_extract(const void *, int); + #endif /* __RDE_H__ */ -- cgit v1.2.3