summaryrefslogtreecommitdiff
path: root/lib/fsm.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-10-27 22:31:10 +0000
committerjbj <devnull@localhost>2001-10-27 22:31:10 +0000
commitc1d367a0941b3778a84252691bbd294a0a8be4b7 (patch)
tree5faac19a37b8826954b34fcfc8270155cbee1a18 /lib/fsm.h
parent7402ce15464cc59617177a2af2799c36c8ef60fd (diff)
downloadlibrpm-tizen-c1d367a0941b3778a84252691bbd294a0a8be4b7.tar.gz
librpm-tizen-c1d367a0941b3778a84252691bbd294a0a8be4b7.tar.bz2
librpm-tizen-c1d367a0941b3778a84252691bbd294a0a8be4b7.zip
- transaction sets cerated in cli main.
- no-brainer refcounts for ts object. CVS patchset: 5136 CVS date: 2001/10/27 22:31:10
Diffstat (limited to 'lib/fsm.h')
-rw-r--r--lib/fsm.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/fsm.h b/lib/fsm.h
index 418406b5f..a3b7e0b54 100644
--- a/lib/fsm.h
+++ b/lib/fsm.h
@@ -105,11 +105,12 @@ struct hardLink {
* Iterator across package file info, forward on install, backward on erase.
*/
struct fsmIterator_s {
-/*@kept@*/ /*@exposed@*/ rpmTransactionSet ts; /*!< transaction set. */
-/*@kept@*/ /*@exposed@*/ TFI_t fi; /*!< transaction element file info. */
- int reverse; /*!< reversed traversal? */
- int isave; /*!< last returned iterator index. */
- int i; /*!< iterator index. */
+ rpmTransactionSet ts; /*!< transaction set. */
+/*@kept@*/ /*@exposed@*/
+ TFI_t fi; /*!< transaction element file info. */
+ int reverse; /*!< reversed traversal? */
+ int isave; /*!< last returned iterator index. */
+ int i; /*!< iterator index. */
};
/** \ingroup payload
@@ -212,13 +213,13 @@ extern "C" {
* @return 0 on success
*/
int fsmSetup(FSM_t fsm, fileStage goal,
- /*@kept@*/ const rpmTransactionSet ts,
+ const rpmTransactionSet ts,
/*@kept@*/ const TFI_t fi,
FD_t cfd,
/*@out@*/ unsigned int * archiveSize,
/*@out@*/ const char ** failedFile)
/*@globals fileSystem @*/
- /*@modifies fsm, *archiveSize, *failedFile, fileSystem @*/;
+ /*@modifies fsm, ts, *archiveSize, *failedFile, fileSystem @*/;
/**
* Clean file state machine.
@@ -235,7 +236,7 @@ int fsmTeardown(FSM_t fsm)
* @param fsm file state machine data
* @return transaction set
*/
-/*@kept@*/ /*@exposed@*/ rpmTransactionSet fsmGetTs(const FSM_t fsm)
+rpmTransactionSet fsmGetTs(const FSM_t fsm)
/*@*/;
/**