From 3035a6a3bff45f668d53cd94fafd44870d401c6e Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:34:16 -0500 Subject: opkg: using active_list to list all the installed pkgs. adding function that allows node move from one list to another git-svn-id: http://opkg.googlecode.com/svn/trunk@178 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/active_list.h') diff --git a/libopkg/active_list.h b/libopkg/active_list.h index 28e909a..3bedc2f 100644 --- a/libopkg/active_list.h +++ b/libopkg/active_list.h @@ -33,6 +33,7 @@ void active_list_init(struct active_list *ptr); void active_list_clear(struct active_list *head); void active_list_add_depend(struct active_list *node, struct active_list *depend); void active_list_add(struct active_list *head, struct active_list *node); +struct active_list *active_list_move_node(struct active_list *old_head, struct active_list *new_head, struct active_list *node); struct active_list * active_list_next(struct active_list *head, struct active_list *ptr); -- cgit v0.9.1