summaryrefslogtreecommitdiffstats
path: root/nest/attrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h7
1 files changed, 4 insertions, 3 deletions
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);