summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-17 10:18:55 +0000
committerMartin Mares <mj@ucw.cz>2000-04-17 10:18:55 +0000
commitc6add07fa6ca8366fbdcfcd9bc2872c129378366 (patch)
tree326030c1a1798b35c68ef11428461dd7a60e02cd /nest/attrs.h
parentafc54517db6946e9cfb62bbdc855954316152c62 (diff)
Printing of AS paths and community sets.
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index c1a96f95..fc960fb5 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -12,5 +12,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
+
+/* a-set.c */
+
+void int_set_format(struct adata *set, byte *buf, unsigned int size);
#endif