summaryrefslogtreecommitdiff
path: root/lib/cache_mngr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cache_mngr.c')
-rw-r--r--lib/cache_mngr.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c
index dd119f23..f16882f7 100644
--- a/lib/cache_mngr.c
+++ b/lib/cache_mngr.c
@@ -26,13 +26,28 @@
* ~~~~
*/
-#include <netlink-private/netlink.h>
-#include <netlink-private/utils.h>
+#include "nl-default.h"
+
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/utils.h>
+#include "nl-core.h"
+#include "nl-priv-dynamic-core/nl-core.h"
+#include "nl-priv-dynamic-core/cache-api.h"
+#include "nl-aux-core/nl-core.h"
+
/** @cond SKIP */
+struct nl_cache_mngr
+{
+ int cm_protocol;
+ int cm_flags;
+ int cm_nassocs;
+ struct nl_sock * cm_sock;
+ struct nl_sock * cm_sync_sock;
+ struct nl_cache_assoc * cm_assocs;
+};
+
#define NASSOC_INIT 16
#define NASSOC_EXPAND 8
/** @endcond */