]> granicus.if.org Git - libnl/commitdiff
cache: reserve room in cache_ops to avoid breaking module ABI too frequently
authorThomas Graf <tgraf@suug.ch>
Fri, 23 Nov 2012 15:50:06 +0000 (16:50 +0100)
committerThomas Graf <tgraf@suug.ch>
Fri, 23 Nov 2012 15:50:06 +0000 (16:50 +0100)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/cache-api.h

index f2111b95eb5331861002fbe4a97fc882b4d4b679..b33241585e1ff42d75b600cfdfe17e011329be83 100644 (file)
@@ -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;