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

Linux Cross Reference
Tina4/src/sys/lists/listfuncs.h

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

  1 extern List *dd_link_alloc(void *ptr, int type);
  2 extern void    dd_ref_set(List * el, void *ptr, int type);
  3 extern List *dd_list_make(int n, int type);
  4 extern List *dd_get_end(List * list);
  5 extern List *dd_get_start(List * list);
  6 extern List *dd_append(List * l1, List * l2);
  7 extern List *dd_link_addtostart(List * list, List * el);
  8 extern List *dd_ref_addtostart(List * list, void *ptr, int type);
  9 extern List *dd_link_addtoend(List * end, List * el);
 10 extern List *dd_ref_addtoend(List * end, void *ptr, int type);
 11 extern List *dd_list_addtoend(List * list, List * el);
 12 extern void    dd_link_addafter(List * at, List * el);
 13 extern void    dd_link_rm_next_el(List * at);
 14 extern List *dd_link_rm_el(List * at);
 15 extern void    dd_ref_free(List * at, void (*freefunc) (   ));
 16 extern void    dd_link_rm_next(List * at, void (*freefunc) (   ));
 17 extern List *dd_link_rm(List * at, void (*freefunc) (   ));
 18 extern List *dd_list_rm_el(List * list, List * el, void (*freefunc) (   ));
 19 extern List *dd_link_get_by_ref(List * list, void *ptr);
 20 extern List *dd_link_get_by_type(List * list, int type);
 21 extern List *dd_list_rm_ref(List * list, void *ptr, void (*freefunc) (   ));
 22 extern void    dd_list_rm_links(List * list);
 23 extern List *dd_list_rm_links_on_type(List * list, int type);
 24 extern List *dd_list_rm_links_on_func(List * list, Bool(*func) (   ), void*data);
 25 extern void    dd_list_free_refs(List * list, void (*freefunc) (   ));
 26 extern void    dd_list_rm(List * list, void (*freefunc) (   ));
 27 extern List *dd_link_copy(List * el, void *(*cpfunc) (   ), void *data);
 28 extern List *dd_list_copy(List * list, void *(*cpfunc) (   ), void *data);
 29 extern List *dd_list_reverse(List * list);
 30 extern List *dd_list_reversecopy(List * list, void *(*cpfunc) (   ), void *data);
 31 extern void    dd_apply_func(List * list, void (*func) (   ), void *data);
 32 extern List *dd_get_min(List * list, Bool(*func) (   ), void *data);
 33 extern List   *dd_list_add_sorted(List * list, List * el, double (*sortfunc) ( /* ??? */ ));
 34 extern List *dd_nth_el(List * list, int n);
 35 extern void *dd_list_query(List * list, void *(*match_func) ( /* ??? */ ), void *key);
 36 extern List *dd_list_of(int type,...);
 37 extern int     ddstr_count(List * start, List * end);
 38 extern void    ddstr_free(List * start, List * end, void (*freefunc) (   ));
 39 extern void    ddstr_rm_links(List * start, List * end);
 40 extern void    ddstr_rm(List * start, List * end, void (*freefunc) (   ));
 41 extern List *ddstr_link_get_by_ref(List * start, List * end, void *ptr);
 42 extern void    ddstr_reverse(List ** startp, List ** endp);
 43 extern void    ddstr_copy(List ** startp, List ** endp, void *(*copyfunc) (   ), void *data);
 44 extern void    ddstr_set_type(List * start, List * end, int type, int n);
 45 extern List *ddstr_nth_point(List * start, List * end, int n);
 46 extern List *ddstr_mid_point(List * start, List * end);
 47 extern void    ddstr_apply_func(List * start, List * end, void (*func) (   ), void *data);
 48 extern List *ddstr_get_min(List * start, List * end, Bool(*func) (   ), void *data);
 49 extern List   *link_alloc(void *ptr, int type);
 50 extern void    ref_set(List * el, void *ptr, int type);
 51 extern List   *list_make(int n, int type);
 52 extern List   *list_get_end(List * list);
 53 extern List   *list_append(List * l1, List * l2);
 54 extern List   *link_addtostart(List * list, List * el);
 55 extern List   *ref_addtostart(List * list, void *ptr, int type);
 56 extern List   *list_addtostart(List * list, List * el);
 57 extern List   *link_addtoend(List * end, List * el);
 58 extern List   *ref_addtoend(List * end, void *ptr, int type);
 59 extern List   *list_addtoend(List * list, List * el);
 60 extern void    link_addafter(List * at, List * el);
 61 extern void    link_rm_next_el(List * at);
 62 extern List   *link_rm_el(List * at);
 63 extern void    ref_free(List * at, void (*freefunc) (   ));
 64 extern void    link_rm_next(List * at, void (*freefunc) (   ));
 65 extern List   *link_rm(List * at, void (*freefunc) (   ));
 66 extern List   *list_rm_el(List * list, List * el, void (*freefunc) (   ));
 67 extern List   *list_rm_ref(List * list, void *ptr, void (*freefunc) (   ));
 68 extern void    list_rm_links(List * list);
 69 extern List   *list_rm_links_on_type(List * list, int type);
 70 extern List   *list_rm_links_on_func(List * list, Bool(*func) (   ), void *data);
 71 extern void    list_free_refs(List * list, void (*freefunc) (   ));
 72 extern void    list_rm(List * list, void (*freefunc) ());
 73 extern void    list_list_rm(List * list);
 74 extern List   *link_copy(List * el, void *(*cpfunc) (   ), void *data);
 75 extern List   *list_copy(List * list, void *(*cpfunc) (   ), void *data);
 76 extern List   *list_reverse(List * list);
 77 extern List   *list_reversecopy(List * list, void *(*cpfunc) (   ), void *data);
 78 extern void    list_apply_func(List * list, void (*func) (   ), void *data);
 79 extern List   *list_get_min(List * list, Bool(*func) (   ), void *data);
 80 extern List   *link_get_by_ref(List * list, void *ptr);
 81 extern List   *link_get_by_type(List * list, int type);
 82 extern List   *list_add_sorted(List * list, List * el, double (*sortfunc) (   ));
 83 extern List   *list_of(int type,...);
 84 extern void   *list_query(List * list, void *(*match_func) (   ), void *key);
 85 
 86 
 87 
 88 extern List   *proplist_add(List * proplist, void *ptr, int type, void (*freefunc) (   ));
 89 extern List   *proplist_addifnp(List * proplist, void *ptr, int type, void (*freefunc) (   ), Bool dofree);
 90 extern void   *prop_get(List * proplist, int type);
 91 extern int     prop_present(List * proplist, int type);
 92 extern int     prop_ref_present(List * proplist, void *ptr);
 93 extern void   *prop_first(List * proplist, int *type);
 94 extern int     prop_set(List * proplist, void *ptr, int type, Bool dofree);
 95 extern List   *proplist_copy(List * proplist);
 96 extern List   *proplist_rm(List * proplist, int type);
 97 extern List   *proplist_rm_by_ref(List * proplist, void *ptr);
 98 extern List   *proplist_free(List * proplist, int type);
 99 extern List   *proplist_free_by_ref(List * proplist, void *ptr);
100 
101 
102 extern void    proplist_rmlist(List * proplist);
103 extern List   *proplist_rm_first(List * proplist);
104 extern void    proplist_freelist(List * proplist);
105 extern void    reclist_list_apply(List * list, void (*func) (   ), int type, void *data);
106 extern void    reclist_string_apply(Tstring * str, void (*func) (   ), int type, void *data);
107 extern void    reclist_apply(void *ptr, int ptype, void (*func) (   ), int type, void *data);
108 extern List   *reclist_list_rm_entry(List * list, void *to, void (*freefunc) (   ));
109 extern Tstring *reclist_string_rm_entry(Tstring * str, void *to, void (*freefunc) (   ));
110 extern void   *reclist_rm_entry(void *ptr, int type, void *to, void (*freefunc) (   ));
111 extern List   *reclist_list_update(List * list, void *(*func) (   ), int type,
112                                     void *data);
113 extern Tstring *reclist_string_update(Tstring * str, void *(*func) (   ), int type, void *data);
114 extern void   *reclist_update(void *ptr, int *ptype, void *(*func) (   ), int type, void *data);
115 extern List   *reclist_list_flat(List * list, void *(*func) (   ), int type, void *data);
116 extern List   *reclist_string_flat(Tstring * str, void *(*func) (   ), int type, void *data);
117 extern List   *reclist_flat(void *ptr, int *ptype, void *(*func) (   ), int type, void *data);
118 extern List   *reclist_list_copy(List * list, void *(*func) (   ), int type, void *data);
119 extern Tstring *reclist_string_copy(Tstring * str, void *(*func) (   ), int type, void *data);
120 extern void   *reclist_copy(void *ptr, int ptype, void *(*func) (   ), int type, void *data);
121 extern List   *reclist_list_free(List * list, void (*freefunc) (   ), int type,
122                                   void *data);
123 extern Tstring *reclist_string_free(Tstring * str, void (*freefunc) (   ), int type, void *data);
124 extern void   *reclist_free(void *ptr, int ptype, void (*freefunc) (   ), int type, void *data);
125 extern void    sort_keys_simple(int *key, float *val, int n);
126 extern List   *sort_list(List * list, double (*valfunc) (   ), void *data);
127 extern List *sort_ddlist(List * list, double (*valfunc) (   ), void *data);
128 extern Tstring *str_alloc(void);
129 extern Tstring *str_make(int type, List * start, List * end);
130 extern List *str_mid_point(Tstring * str);
131 extern Tstring *str_divide(Tstring * str, int n);
132 extern void str_free(Tstring * str, void (*freefunc) (   ));
133 extern void str_rm_links(Tstring * str);
134 extern void str_rm(Tstring * str, void (*freefunc) (   ));
135 extern void str_rm_only_str(Tstring * str);
136 extern Tstring *str_segment(Tstring * str, List * at);
137 extern List *str_link_get_by_ref(Tstring * str, void *ptr);
138 extern Tstring *str_list_get_by_ref(List * strings, void *ptr);
139 extern void str_reverse(Tstring * str);
140 extern Tstring *str_combine(Tstring * s1, Tstring * s2);
141 extern Tstring *str_copy(Tstring * str, void *(*copyfunc) (   ), void *data);
142 extern Tstring *str_clone(Tstring * str);
143 extern void str_apply_func(Tstring * str, void (*func) (   ), void *data);
144 extern List *str_get_min(Tstring * str, Bool(*func) (   ), void *data);
145 extern Bool str_get_min_dist(Tstring * str, Bool(*func) (   ), void *data, double *d);
146 extern Tstring *str_list_get_min(List * strings, Bool(*func) (   ), void *data);
147 extern void str_rm_list(List * strings);
148 extern int str_length(Tstring * str);
149 extern int     list_length(List * list);
150 extern int     dd_list_length(List * list);
151 extern int     ddstr_length(List * start, List * end);
152 extern void    proplist_pprint(FILE * fp, List * plist);
153 extern List   *list_nth(List * list, int n);
154 extern List *ddlist_nth(List * ddlist, int n);
155 

~ [ 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.