diff options
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); |