oops
[libnl.git] / include / netlink / fib_lookup / lookup.h
1 /*
2  * netlink/fib_lookup/fib_lookup.h      FIB Lookup
3  *
4  *      This library is free software; you can redistribute it and/or
5  *      modify it under the terms of the GNU Lesser General Public
6  *      License as published by the Free Software Foundation version 2.1
7  *      of the License.
8  *
9  * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
10  */
11
12 #ifndef NETLINK_FIB_LOOKUP_H_
13 #define NETLINK_FIB_LOOKUP_H_
14
15 #include <netlink/netlink.h>
16 #include <netlink/cache.h>
17 #include <netlink/addr.h>
18 #include <netlink/fib_lookup/request.h>
19
20 struct flnl_result;
21
22 extern struct flnl_result *     flnl_result_alloc(void);
23 extern struct nl_cache *        flnl_result_alloc_cache(void);
24 extern void                     flnl_result_put(struct flnl_result *);
25 extern void                     flnl_result_free(struct flnl_result *);
26
27 extern struct nl_msg *          flnl_lookup_build_request(struct flnl_request *,
28                                                           int);
29 extern int                      flnl_lookup(struct nl_handle *,
30                                             struct flnl_request *,
31                                             struct nl_cache *);
32
33 #endif