diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-04-15 09:56:09 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-04-15 09:56:09 +0300 |
commit | 9567337fd2444aa9b30a6cbfdd5bc9a98d171f25 (patch) | |
tree | 7811255a8e028774b154d67245283022092312b9 /src/apk_state.h | |
parent | a23f6f4afb0f819c6c478975df41e235e8d0953a (diff) | |
download | apk-tools-9567337fd2444aa9b30a6cbfdd5bc9a98d171f25.tar.gz apk-tools-9567337fd2444aa9b30a6cbfdd5bc9a98d171f25.tar.bz2 apk-tools-9567337fd2444aa9b30a6cbfdd5bc9a98d171f25.tar.xz apk-tools-9567337fd2444aa9b30a6cbfdd5bc9a98d171f25.zip |
fetch: new applet to download .apk files
Fixes #24.
Diffstat (limited to 'src/apk_state.h')
-rw-r--r-- | src/apk_state.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/apk_state.h b/src/apk_state.h index d065411..402b919 100644 --- a/src/apk_state.h +++ b/src/apk_state.h @@ -14,7 +14,19 @@ #include "apk_database.h" -struct apk_state; +typedef void *apk_name_state_t; + +struct apk_change { + struct list_head change_list; + struct apk_package *oldpkg; + struct apk_package *newpkg; +}; + +struct apk_state { + int refs; + struct list_head change_list_head; + apk_name_state_t name[]; +}; struct apk_state *apk_state_new(struct apk_database *db); struct apk_state *apk_state_dup(struct apk_state *state); |