diff options
author | Thomas Haller <thaller@redhat.com> | 2016-06-29 18:43:33 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-07-08 10:02:07 (GMT) |
commit | f01e93f1f9fd3ea3dade4e291b965abf3a928794 (patch) | |
tree | 509ff9323374e22d5a021d6beddfad55d9334f09 /lib/object.c | |
parent | c312a2a929bbd273619790a9a601f685071a995a (diff) | |
download | libnl-f01e93f1f9fd3ea3dade4e291b965abf3a928794.zip libnl-f01e93f1f9fd3ea3dade4e291b965abf3a928794.tar.gz libnl-f01e93f1f9fd3ea3dade4e291b965abf3a928794.tar.bz2 |
Diffstat (limited to 'lib/object.c')
-rw-r--r-- | lib/object.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/object.c b/lib/object.c index 4951885..7405437 100644 --- a/lib/object.c +++ b/lib/object.c @@ -144,6 +144,17 @@ struct nl_object *nl_object_clone(struct nl_object *obj) return new; } +int _nl_object_check_objflags (struct nl_object *obj, + enum oo_objflags flags) +{ + struct nl_object_ops *ops = obj_ops(obj); + + if (ops->oo_check_objflags) + return ops->oo_check_objflags(obj, flags); + + return -NLE_OPNOTSUPP; +} + int _nl_object_update(struct nl_object *dst, struct nl_object *src, enum oo_update_flags flags) |