summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-11-23 16:50:06 +0100
committerThomas Graf <tgraf@suug.ch>2012-11-23 16:50:06 +0100
commit3163fa707b198ee6db5aa2bb03d569812bacdaa4 (patch)
tree165e6ae1dbf5f25c834a05549b26ddc00ab7a99e
parent0a9d5fcfa4c3fe8c930103f7639723dfd1ae4889 (diff)
downloadlibnl-3163fa707b198ee6db5aa2bb03d569812bacdaa4.tar.gz
cache: reserve room in cache_ops to avoid breaking module ABI too frequently
Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--include/netlink/cache-api.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/netlink/cache-api.h b/include/netlink/cache-api.h
index f2111b9..b332415 100644
--- a/include/netlink/cache-api.h
+++ b/include/netlink/cache-api.h
@@ -252,6 +252,15 @@ struct nl_cache_ops
int (*co_include_event)(struct nl_cache *cache, struct nl_object *obj,
change_func_t change_cb, void *data);
+ void (*reserved_1)(void);
+ void (*reserved_2)(void);
+ void (*reserved_3)(void);
+ void (*reserved_4)(void);
+ void (*reserved_5)(void);
+ void (*reserved_6)(void);
+ void (*reserved_7)(void);
+ void (*reserved_8)(void);
+
/** Object operations */
struct nl_object_ops * co_obj_ops;