graphicscomposition/openwfcompositionengine/common/include/owflinkedlist.h
changeset 152 9f1c3fea0f87
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
--- a/graphicscomposition/openwfcompositionengine/common/include/owflinkedlist.h	Tue Jul 06 15:45:57 2010 +0300
+++ b/graphicscomposition/openwfcompositionengine/common/include/owflinkedlist.h	Wed Aug 18 11:05:09 2010 +0300
@@ -1,4 +1,5 @@
 /* Copyright (c) 2009 The Khronos Group Inc.
+ * Portions copyright (c) 2009-2010  Nokia Corporation and/or its subsidiary(-ies)
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and/or associated documentation files (the
@@ -131,41 +132,6 @@
 OWF_API_CALL OWF_NODE*
 OWF_List_Clear(OWF_NODE* root);
 
-/*!
- *  Calls given callback function for each node in the list
- *  as long as the callback function returns a non-zero value.
- *  Useful for performing some action on list until some condition
- *  is met.
- *
- *  \param root List root
- *  \param func Callback function
- *  \param data Data to be passed to callback function
- */
-OWF_API_CALL void
-OWF_List_ForEach(OWF_NODE* root, NODEITERFUNC func, void* data);
-
-/*
- *  Returns first node for which given comparison function
- *  returns a non-zero value. Useful for searching the list
- *  for something of intrest. To find all matching nodes
- *  from the list, use the following pattern:
- *
- *  node = OWF_List_Find(list, compareFunc, dada);
- *  while (node) {
- *      processFoundNode(node);
- *      node = OWF_List_Find(node->next, compareFunc, dada);
- *  }
- *
- *  \param root List root
- *  \param func Node equality comparison function
- *  \param data Data to pass to node comparison function.
- *
- *  \return Node that matches in comparison.
- */
-OWF_API_CALL OWF_NODE*
-OWF_List_Find(OWF_NODE* root, NODECMPFUNC func, void* data);
-
-
 #ifdef __cplusplus
 }
 #endif