summaryrefslogtreecommitdiffstats
path: root/router.h
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2016-09-28 09:59:53 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commit1d150864f72a103aebed4a43381ce109a414cfe2 (patch)
tree9f34003a6000bd63746fe22aaf4d16efb08d399e /router.h
parent8c8a801130da286ce50cc3861b1725f7187b5fa8 (diff)
router: add missing accessor
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Diffstat (limited to 'router.h')
-rw-r--r--router.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/router.h b/router.h
index cc7bf95..1a139b5 100644
--- a/router.h
+++ b/router.h
@@ -79,6 +79,7 @@ int agl_router_phone_effect (struct userdata *, agl_rtgroup *, agl_node *, bool)
agl_rtgroup *agl_router_create_rtgroup (struct userdata *, agl_direction, const char *, const char *, agl_rtgroup_accept_t, agl_rtgroup_effect_t);
void agl_router_destroy_rtgroup (struct userdata *, agl_direction, const char *);
bool agl_router_assign_class_to_rtgroup (struct userdata *, agl_node_type, uint32_t, agl_direction, const char *);
+agl_rtgroup * agl_router_get_rtgroup_from_class (struct userdata *u, agl_node_type class, uint32_t zone, agl_direction type);
void agl_router_assign_class_priority (struct userdata *, agl_node_type, int);
int agl_router_get_node_priority (struct userdata *, agl_node *);
bool agl_router_apply_node_priority_effect (struct userdata *, agl_node *, bool);