Hey guys
Starting to get this half working now:
//not too sure what this is meant to do yet
typedef int (*list_walk_action)(void *,void *);
//this just adds the element to the top of the list
extern LIST *list_add(LIST *root, void* element);
//search for the element in the list and delete?
extern LIST *list_delete(LIST *root, void* element);
//not sure what this is meant to do
extern LIST *list_cons(void *data,LIST *root);
//just calls list.reverse()
extern LIST *list_reverse(LIST *root);
//is this to use free to free all malloc to the list?
extern void list_free(LIST *root,unsigned int free_data);
//not sure what this is meant to do properly yet
extern int list_walk(LIST *,list_walk_action action,unsigned char *
argument);
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp