summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-10 06:54:40 +0000
committerPavel Machek <pavel@ucw.cz>2000-05-10 06:54:40 +0000
commitc0100454cf37833d23fdb9d24412de659f683c12 (patch)
treea1e632070155a9660885f0a9a3eff0e1ec5eacfd /nest/route.h
parentfe95ab68164f0c9f18e65f7965ac4d93b24bef97 (diff)
Added more convient interface for ea_find.
What is special about int default;? Compiler chokes on that!
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h
index d15ffae6..523d3905 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -324,6 +324,7 @@ typedef struct ea_list {
#define EALF_CACHED 4 /* Attributes belonging to cached rta */
eattr *ea_find(ea_list *, unsigned ea);
+int ea_get_int(ea_list *, unsigned ea, int def);
void ea_dump(ea_list *);
void ea_sort(ea_list *); /* Sort entries in all sub-lists */
unsigned ea_scan(ea_list *); /* How many bytes do we need for merged ea_list */