~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina5/tina-libs/tina/sys/sysLst_list.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  * 
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  * 
 35  * Program :    TINA
 36  * File    :  $Source: /home/tina/cvs/tina-libs/tina/sys/sysLst_list.h,v $
 37  * Date    :  $Date: 2007/02/15 01:52:29 $
 38  * Version :  $Revision: 1.4 $
 39  * CVS Id  :  $Id: sysLst_list.h,v 1.4 2007/02/15 01:52:29 paul Exp $
 40  *
 41  * Notes :
 42  *
 43  *********
 44 */
 45 
 46 #ifndef TINA_SYS_LST_LIST_HDR
 47 #define TINA_SYS_LST_LIST_HDR
 48 
 49 #include <tina/sys/sys_LstDef.h>
 50 
 51 #ifdef __cplusplus
 52 extern "C" {
 53 #endif /* __cplusplus */
 54 
 55 void *list_query(List * list, void *(*match_func) (), void *key);
 56 
 57 List *list_of(int type, ...);
 58 
 59 List *list_add_sorted(List * list, List * el, double (*sortfunc) ());
 60 List *link_get_by_type(List * list, int type);
 61 List *link_get_by_ref(List * list, void *ptr);
 62 List *list_get_min(List * list, Bool(*func) (), void *data);
 63 void list_apply_func(List * list, void (*func) (), void *data);
 64 List *list_reversecopy(List * list, void *(*cpfunc) (), void *data);
 65 List *list_reverse(List * list);
 66 List *list_copy(List * list, void *(*cpfunc) (), void *data);
 67 List *link_copy(List * el, void *(*cpfunc) (), void *data);
 68 void list_list_rm(List * list);
 69 void list_rm(List * list, void (*freefunc) ());
 70 void list_free_refs(List * list, void (*freefunc) ());
 71 List *list_rm_links_on_func(List * list, Bool(*func) (), void *data);
 72 List *list_rm_links_on_type(List * list, int type);
 73 void list_rm_links(List * list);
 74 List *list_rm_ref(List * list, void *ptr, void (*freefunc) ());
 75 List *list_rm_el(List * list, List * el, void (*freefunc) ());
 76 List *link_rm(List * at, void (*freefunc) ());
 77 void link_rm_next(List * at, void (*freefunc) ());
 78 void ref_free(List * at, void (*freefunc) ());
 79 List *link_rm_el(List * at);
 80 void link_rm_next_el(List * at);
 81 void link_addafter(List * at, List * el);
 82 List *list_addtoend(List * list, List * el);
 83 List *ref_addtoend(List * end, void *ptr, int type);
 84 List *link_addtoend(List * end, List * el);
 85 List *list_addtostart(List * list, List * el);
 86 List *ref_addtostart(List * list, void *ptr, int type);
 87 List *link_addtostart(List * list, List * el);
 88 List *list_append(List * l1, List * l2);
 89 List *list_get_end(List * list);
 90 List *list_make(int n, int type);
 91 void ref_set(List * el, void *ptr, int type);
 92 List *link_alloc(void *ptr, int type);
 93 List *dd_list_add_sorted(List * list, List * el, double (*sortfunc) ());
 94 List *dd_link_get_by_type(List * list, int type);
 95 List *dd_link_get_by_ref(List * list, void *ptr);
 96 List *dd_get_min(List * list, Bool(*func) (), void *data);
 97 void dd_apply_func(List * list, void (*func) (), void *data);
 98 List *dd_list_reversecopy(List * list, void *(*cpfunc) (), void *data);
 99 List *dd_list_reverse(List * list);
100 List *dd_list_copy(List * list, void *(*cpfunc) (), void *data);
101 List *dd_link_copy(List * el, void *(*cpfunc) (), void *data);
102 void dd_list_rm(List * list, void (*freefunc) ());
103 void dd_list_free_refs(List * list, void (*freefunc) ());
104 List *dd_list_rm_links_on_func(List * list, Bool(*func) (), void *data);
105 List *dd_list_rm_links_on_type(List * list, int type);
106 void dd_list_rm_links(List * list);
107 List *dd_list_rm_ref(List * list, void *ptr, void (*freefunc) ());
108 List *dd_list_rm_el(List * list, List * el, void (*freefunc) ());
109 List *dd_list_rm_el(List * list, List * el, void (*freefunc) ());
110 List *dd_link_rm(List * at, void (*freefunc) ());
111 void dd_link_rm_next(List * at, void (*freefunc) ());
112 void dd_ref_free(List * at, void (*freefunc) ());
113 List *dd_link_rm_el(List * at);
114 void dd_link_rm_next_el(List * at);
115 void dd_link_addafter(List * at, List * el);
116 List *dd_list_addtoend(List * list, List * el);
117 List *dd_ref_addtoend(List * end, void *ptr, int type);
118 List *dd_link_addtoend(List * end, List * el);
119 List *dd_append(List * l1, List * l2);
120 List *dd_get_end(List * list);
121 List *dd_list_make(int n, int type);
122 List *dd_ref_addtostart(List * list, void *ptr, int type);
123 List *dd_link_addtostart(List * list, List * el);
124 void dd_ref_set(List * el, void *ptr, int type);
125 List *dd_link_alloc(void *ptr, int type);
126 
127 
128 #ifdef __cplusplus
129 }
130 #endif /* __cplusplus */
131 
132 #endif /* TINA_SYS_LST_LIST_HDR */ 
133 
134 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.