summaryrefslogtreecommitdiffstats
path: root/tests/util.h
diff options
context:
space:
mode:
authord0u9 <d0u9.su@outlook.com>2018-03-23 13:21:11 (GMT)
committerThomas Haller <thaller@redhat.com>2018-06-25 12:39:41 (GMT)
commitddfc36f46e2d1581e2b08bbe167644bd8b1f1571 (patch)
treeed21ede97a53822c1086701c3d79b59adc7018a6 /tests/util.h
parent3ebb0ea66b165d061c287164ca4514c13f8b2772 (diff)
downloadlibnl-ddfc36f46e2d1581e2b08bbe167644bd8b1f1571.zip
libnl-ddfc36f46e2d1581e2b08bbe167644bd8b1f1571.tar.gz
libnl-ddfc36f46e2d1581e2b08bbe167644bd8b1f1571.tar.bz2
Add support for cloning cgroup filter object.
In this commit, we implement ematch_tree_clone(), which is basis of cgroup_clone() interface. The whole ematch tree is deep-copied except the e_ops filed. Also, a new unit test is added for testing the interface, which named as check-ematch-tree-clone.c located in tests directory. https://github.com/thom311/libnl/pull/176
Diffstat (limited to 'tests/util.h')
-rw-r--r--tests/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/util.h b/tests/util.h
index cd383ef..8c9acf1 100644
--- a/tests/util.h
+++ b/tests/util.h
@@ -6,4 +6,5 @@
Suite *make_nl_attr_suite(void);
Suite *make_nl_addr_suite(void);
+Suite *make_nl_ematch_tree_clone_suite(void);