summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-02-14 11:37:10 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-02-14 11:37:10 (GMT)
commitbb9911b5a337aeba34b6be53a2ef654828a92897 (patch)
tree10d85968669b604e5940099f805c9cfdddeedfd4
parent5a5aa73158027ae74eef3433388350c214b908f1 (diff)
downloadlibnl-bb9911b5a337aeba34b6be53a2ef654828a92897.zip
libnl-bb9911b5a337aeba34b6be53a2ef654828a92897.tar.gz
libnl-bb9911b5a337aeba34b6be53a2ef654828a92897.tar.bz2
netlink: Forward declare frequent libnl types to ease inclusion deps
Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--include/netlink/netlink.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/netlink/netlink.h b/include/netlink/netlink.h
index 5f68548..1d74ba1 100644
--- a/include/netlink/netlink.h
+++ b/include/netlink/netlink.h
@@ -6,7 +6,7 @@
* License as published by the Free Software Foundation version 2.1
* of the License.
*
- * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
+ * Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch>
*/
#ifndef NETLINK_NETLINK_H_
@@ -40,6 +40,8 @@ extern "C" {
struct ucred;
struct nl_cache_ops;
struct nl_parser_param;
+struct nl_object;
+struct nl_sock;
extern int nl_debug;
extern struct nl_dump_params nl_debug_dp;