diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-14 09:16:03 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-14 09:16:03 +0100 |
commit | 97456fa7bb23c22e2a06ca4a99e62e75529f8a91 (patch) | |
tree | 6958149286cb562d91ca0167eb8ffc3662442eb4 /pingu_route.h | |
parent | b29539a9bbe9f328ec0dedfad2cc8efe8b344550 (diff) | |
download | pingu-97456fa7bb23c22e2a06ca4a99e62e75529f8a91.tar.bz2 pingu-97456fa7bb23c22e2a06ca4a99e62e75529f8a91.tar.xz |
pingu_route: add helper function for generating route string
Use for logging.
Diffstat (limited to 'pingu_route.h')
-rw-r--r-- | pingu_route.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pingu_route.h b/pingu_route.h index 9be6f21..c416182 100644 --- a/pingu_route.h +++ b/pingu_route.h @@ -19,6 +19,8 @@ struct pingu_route { struct list_head route_list_entry; }; +char *pingu_route_to_string(struct pingu_route *route, + char *buf, size_t bufsize); void pingu_route_del_all(struct list_head *head); void pingu_route_add(struct list_head *route_list, struct pingu_route *gw); |