diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-06-13 10:11:28 +0200 |
---|---|---|
committer | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-10-11 17:09:07 +0200 |
commit | 6fc3e02df9de8347eb76fdfd26ed781686d37b6c (patch) | |
tree | a291b1fa88b957941e9abd3baee01df26ebf4177 /router.h | |
parent | d126c05ba201b0fd6daabf7c03d05da3db1b2957 (diff) |
Clean up node status after sink_input unlink
We now unload all modules associated with a node when
it disappears.
Change-Id: I6d2055d546c9cc1b1967f85c973eafcc216bc91f
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'router.h')
-rw-r--r-- | router.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -70,10 +70,14 @@ struct agl_connection { pa_router *pa_router_init (struct userdata *); void pa_router_done (struct userdata *); + +void agl_router_register_node (struct userdata *, agl_node *); +void agl_router_unregister_node (struct userdata *, agl_node *); agl_node *agl_router_make_prerouting (struct userdata *, agl_node *); void agl_router_make_routing (struct userdata *); void implement_default_route (struct userdata *, agl_node *, agl_node *, uint32_t); agl_node *find_default_route (struct userdata *, agl_node *, uint32_t); +void remove_routes (struct userdata *, agl_node *, agl_node*, uint32_t); #endif |