summaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-04-15 09:56:09 +0300
committerTimo Teras <timo.teras@iki.fi>2009-04-15 09:56:09 +0300
commit9567337fd2444aa9b30a6cbfdd5bc9a98d171f25 (patch)
tree7811255a8e028774b154d67245283022092312b9 /src/state.c
parenta23f6f4afb0f819c6c478975df41e235e8d0953a (diff)
downloadapk-tools-9567337fd2444aa9b30a6cbfdd5bc9a98d171f25.tar.bz2
apk-tools-9567337fd2444aa9b30a6cbfdd5bc9a98d171f25.tar.xz
fetch: new applet to download .apk files
Fixes #24.
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/state.c b/src/state.c
index a0abb57..79655a9 100644
--- a/src/state.c
+++ b/src/state.c
@@ -16,25 +16,11 @@
#include "apk_state.h"
#include "apk_database.h"
-typedef void *apk_name_state_t;
-
-struct apk_change {
- struct list_head change_list;
- struct apk_package *oldpkg;
- struct apk_package *newpkg;
-};
-
struct apk_name_choices {
unsigned short refs, num;
struct apk_package *pkgs[];
};
-struct apk_state {
- int refs;
- struct list_head change_list_head;
- apk_name_state_t name[];
-};
-
#if 0
struct apk_deferred_state {
unsigned int preference;