added lttv_filter_clone(...) prototype
authorsiboud <siboud@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 15 Mar 2005 14:26:53 +0000 (14:26 +0000)
committersiboud <siboud@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 15 Mar 2005 14:26:53 +0000 (14:26 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@888 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/filter.c
ltt/branches/poly/lttv/lttv/filter.h

index 8b03facfbed6e58c8b08df06fe95c329b83ec554..62092a2546b4b707acce655120a055e20e3c7746 100644 (file)
@@ -118,6 +118,19 @@ void lttv_filter_tree_destroy(lttv_filter_tree* tree) {
   g_free(tree);
 }
 
+lttv_filter*
+lttv_filter_clone(lttv_filter* tree) {
+
+    lttv_filter* newtree = lttv_filter_tree_new();
+
+    /*
+     * TODO : Copy tree into new tree
+     */
+    
+    return newtree;
+    
+}
+
 void
 lttv_filter_tree_add_node(GPtrArray* stack, lttv_filter_tree* subtree, lttv_logical_op op) {
 
index a108fa8bccb90af45e622400c93a130f73f2b066..ecf53c1a5fa950bcb912e0c98764c9dc0e2f92a4 100644 (file)
@@ -166,6 +166,8 @@ lttv_filter_tree* lttv_filter_tree_new();
 
 void lttv_filter_tree_destroy(lttv_filter_tree* tree);
 
+lttv_filter* lttv_filter_clone(lttv_filter* tree);
+
 void lttv_filter_tree_add_node(GPtrArray* stack, lttv_filter_tree* subtree, lttv_logical_op op);
 
 /* Parse field path contained in list */
This page took 0.026011 seconds and 4 git commands to generate.