commit
f20bbe1f07fcff1509425884f5ed72ca8d5fb6ab
Author: Thomas Graf <tgraf@suug.ch>
Date: Tue Jan 22 19:10:38 2013 +0100
No longer install module API headers
This commit causes a regression so no app using libnl can be compiled
against it. This patch fixes it by removing includes of no-longe
existing headers.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
#define NETLINK_CACHE_API_H_
#include <netlink/netlink.h>
+#include <netlink/cache.h>
#ifdef __cplusplus
extern "C" {
#endif
-typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
-
/**
* @ingroup cache
* @defgroup cache_api Cache Implementation
#include <netlink/msg.h>
#include <netlink/utils.h>
#include <netlink/object.h>
-#include <netlink/cache-api.h>
#ifdef __cplusplus
extern "C" {
#endif
struct nl_cache;
+typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
/**
* @ingroup cache
#ifndef __NETLINK_CLI_TC_H_
#define __NETLINK_CLI_TC_H_
-#include <netlink/route/tc-api.h>
+#include <netlink/route/tc.h>
+
+struct rtnl_tc_ops;
extern void nl_cli_tc_parse_dev(struct rtnl_tc *, struct nl_cache *, char *);
extern void nl_cli_tc_parse_parent(struct rtnl_tc *, char *);
#include <netlink/handlers.h>
#include <netlink/socket.h>
#include <netlink/object.h>
-#include <netlink/cache-api.h>
#ifdef __cplusplus
extern "C" {
#endif
struct ucred;
+struct nl_cache_ops;
+struct nl_parser_param;
extern int nl_debug;
extern struct nl_dump_params nl_debug_dp;
extern "C" {
#endif
-enum rtnl_tc_type {
- RTNL_TC_TYPE_QDISC,
- RTNL_TC_TYPE_CLASS,
- RTNL_TC_TYPE_CLS,
- __RTNL_TC_TYPE_MAX,
-};
-
#define RTNL_TC_TYPE_MAX (__RTNL_TC_TYPE_MAX - 1)
/**
extern "C" {
#endif
+enum rtnl_tc_type {
+ RTNL_TC_TYPE_QDISC,
+ RTNL_TC_TYPE_CLASS,
+ RTNL_TC_TYPE_CLS,
+ __RTNL_TC_TYPE_MAX,
+};
+
/**
* Compute tc handle based on major and minor parts
* @ingroup tc