summaryrefslogtreecommitdiffstats
path: root/include/netlink/route/link/api.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-01-24 13:03:52 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-01-24 13:03:52 (GMT)
commit1b9de9a49d02cf311a3dcf1d06fff4dea7794282 (patch)
tree8952ce658b8bea5a54b363b35bdb0bd2c0cd8147 /include/netlink/route/link/api.h
parent9680f910f46b78d700ae66a16c08d8927dfc2199 (diff)
downloadlibnl-1b9de9a49d02cf311a3dcf1d06fff4dea7794282.zip
libnl-1b9de9a49d02cf311a3dcf1d06fff4dea7794282.tar.gz
libnl-1b9de9a49d02cf311a3dcf1d06fff4dea7794282.tar.bz2
Provide compat headers for removed private API
Some projects seem to have mistakenly included the private API headers without actually needing them. Provide dummy headers referring to the real headers to provide backwards compatibility. Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include/netlink/route/link/api.h')
-rw-r--r--include/netlink/route/link/api.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/netlink/route/link/api.h b/include/netlink/route/link/api.h
new file mode 100644
index 0000000..03b1e5e
--- /dev/null
+++ b/include/netlink/route/link/api.h
@@ -0,0 +1,20 @@
+/*
+ * netlink/route/link/api.h Link Modules API
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation version 2.1
+ * of the License.
+ *
+ * Copyright (c) 2013 Thomas Graf <tgraf@suug.ch>
+ */
+
+#ifndef NETLINK_DUMMY_LINK_API_H_
+#define NETLINK_DUMMY_LINK_API_H_
+
+#include <netlink/netlink.h>
+#include <netlink/route/link.h>
+
+#warning "You are including a deprecated header file, include <netlink/route/link.h>."
+
+#endif