From 684c6f5a0e134426159be7dbd514271aea9f4d3d Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 17 Apr 2000 11:06:39 +0000 Subject: Path_getlen moved to nest and length was made callable from filters. --- nest/attrs.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nest/attrs.h') diff --git a/nest/attrs.h b/nest/attrs.h index fc960fb..67ec52d 100644 --- a/nest/attrs.h +++ b/nest/attrs.h @@ -11,12 +11,13 @@ /* a-path.c */ -struct adata *as_path_prepend(struct linpool *pool, struct adata *olda, int as); -void as_path_format(struct adata *path, byte *buf, unsigned int size); - #define AS_PATH_SET 1 /* Types of path segments */ #define AS_PATH_SEQUENCE 2 +struct adata *as_path_prepend(struct linpool *pool, struct adata *olda, int as); +void as_path_format(struct adata *path, byte *buf, unsigned int size); +int as_path_getlen(struct adata *path); + /* a-set.c */ void int_set_format(struct adata *set, byte *buf, unsigned int size); -- cgit v1.2.3