summaryrefslogtreecommitdiff
path: root/lib/fsm.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-10-28 22:17:47 +0000
committerjbj <devnull@localhost>2001-10-28 22:17:47 +0000
commit966fabbc441b5d859ecda64fe926be3912603fe5 (patch)
treea8cc37298737e3d0af890e13d3e0a33e2f4014f3 /lib/fsm.h
parentc1d367a0941b3778a84252691bbd294a0a8be4b7 (diff)
downloadrpm-966fabbc441b5d859ecda64fe926be3912603fe5.tar.gz
rpm-966fabbc441b5d859ecda64fe926be3912603fe5.tar.bz2
rpm-966fabbc441b5d859ecda64fe926be3912603fe5.zip
- memory indices for dependency check are typedef'd and abstract'd.
- no-brainer refcounts for fi object, debug the mess. - dump the header early in transaction, recreate fi before installing. CVS patchset: 5137 CVS date: 2001/10/28 22:17:47
Diffstat (limited to 'lib/fsm.h')
-rw-r--r--lib/fsm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/fsm.h b/lib/fsm.h
index a3b7e0b54..690703249 100644
--- a/lib/fsm.h
+++ b/lib/fsm.h
@@ -106,7 +106,6 @@ struct hardLink {
*/
struct fsmIterator_s {
rpmTransactionSet ts; /*!< transaction set. */
-/*@kept@*/ /*@exposed@*/
TFI_t fi; /*!< transaction element file info. */
int reverse; /*!< reversed traversal? */
int isave; /*!< last returned iterator index. */
@@ -214,12 +213,12 @@ extern "C" {
*/
int fsmSetup(FSM_t fsm, fileStage goal,
const rpmTransactionSet ts,
- /*@kept@*/ const TFI_t fi,
+ const TFI_t fi,
FD_t cfd,
/*@out@*/ unsigned int * archiveSize,
/*@out@*/ const char ** failedFile)
/*@globals fileSystem @*/
- /*@modifies fsm, ts, *archiveSize, *failedFile, fileSystem @*/;
+ /*@modifies fsm, ts, fi, *archiveSize, *failedFile, fileSystem @*/;
/**
* Clean file state machine.
@@ -244,7 +243,7 @@ rpmTransactionSet fsmGetTs(const FSM_t fsm)
* @param fsm file state machine data
* @return transaction element file info
*/
-/*@kept@*/ /*@exposed@*/ TFI_t fsmGetFi(/*@partial@*/const FSM_t fsm)
+TFI_t fsmGetFi(/*@partial@*/ const FSM_t fsm)
/*@*/;
/**