Changeset 1363 in MondoRescue for branches/stable/mondo/src/include
- Timestamp:
- Apr 30, 2007, 12:28:55 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/include/mr_list.h
r1361 r1363 23 23 void *data; 24 24 25 /* Function to unallocate memory contained in data */ 26 void (*mr_free_data)(void *data); 27 25 28 /* The neighbours (pointers to next and previous) */ 26 29 struct mr_list_elt *next; … … 32 35 33 36 void mr_list_alloc(struct mr_list *list); 34 void mr_list_alloc_elt(struct mr_list_elt *elt, void *data );37 void mr_list_alloc_elt(struct mr_list_elt *elt, void *data, void (*mr_free_data)(void *data)); 35 38 void mr_list_free(struct mr_list *list); 36 39 void mr_list_free_elt(struct mr_list_elt *elt);
Note:
See TracChangeset
for help on using the changeset viewer.