summaryrefslogtreecommitdiff
path: root/lib/fsm.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-10-17 16:43:36 +0000
committerjbj <devnull@localhost>2001-10-17 16:43:36 +0000
commitd57a29baac08c4cc929c9755cfbc5c93d56a0f4d (patch)
tree586ca6c4d0d8c80d4c037d18f15a30c694fbdb54 /lib/fsm.h
parent96a3f7a55d444296f97c3e28c8d810e220e1cb9f (diff)
downloadlibrpm-tizen-d57a29baac08c4cc929c9755cfbc5c93d56a0f4d.tar.gz
librpm-tizen-d57a29baac08c4cc929c9755cfbc5c93d56a0f4d.tar.bz2
librpm-tizen-d57a29baac08c4cc929c9755cfbc5c93d56a0f4d.zip
Converging on lclint-3.0.17 strict level.
CVS patchset: 5118 CVS date: 2001/10/17 16:43:36
Diffstat (limited to 'lib/fsm.h')
-rw-r--r--lib/fsm.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/fsm.h b/lib/fsm.h
index e53388f86..418406b5f 100644
--- a/lib/fsm.h
+++ b/lib/fsm.h
@@ -8,6 +8,11 @@
#include "cpio.h"
+/*@-exportlocal@*/
+/*@unchecked@*/
+extern int _fsm_debug;
+/*@=exportlocal@*/
+
/**
*/
#define FSM_VERBOSE 0x8000
@@ -100,8 +105,8 @@ struct hardLink {
* Iterator across package file info, forward on install, backward on erase.
*/
struct fsmIterator_s {
-/*@kept@*/ rpmTransactionSet ts; /*!< transaction set. */
-/*@kept@*/ TFI_t fi; /*!< transaction element file info. */
+/*@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. */
@@ -126,7 +131,7 @@ struct fsm_s {
size_t wrsize; /*!< write: Buffer allocated size. */
size_t wrlen; /*!< write: Number of bytes requested.*/
size_t wrnb; /*!< write: Number of bytes returned. */
-/*@only@*/ FSMI_t iter; /*!< File iterator. */
+/*@only@*/ /*@null@*/ FSMI_t iter; /*!< File iterator. */
int ix; /*!< Current file iterator index. */
/*@only@*/ struct hardLink * links; /*!< Pending hard linked file(s). */
/*@only@*/ struct hardLink * li; /*!< Current hard linked file(s). */
@@ -221,7 +226,7 @@ int fsmSetup(FSM_t fsm, fileStage goal,
* @return 0 on success
*/
int fsmTeardown(FSM_t fsm)
- /*@globals fileSystem@*/
+ /*@globals fileSystem @*/
/*@modifies fsm, fileSystem @*/;
/*@-exportlocal@*/
@@ -230,7 +235,7 @@ int fsmTeardown(FSM_t fsm)
* @param fsm file state machine data
* @return transaction set
*/
-/*@kept@*/ rpmTransactionSet fsmGetTs(const FSM_t fsm)
+/*@kept@*/ /*@exposed@*/ rpmTransactionSet fsmGetTs(const FSM_t fsm)
/*@*/;
/**
@@ -238,7 +243,7 @@ int fsmTeardown(FSM_t fsm)
* @param fsm file state machine data
* @return transaction element file info
*/
-/*@kept@*/ TFI_t fsmGetFi(/*@partial@*/const FSM_t fsm)
+/*@kept@*/ /*@exposed@*/ TFI_t fsmGetFi(/*@partial@*/const FSM_t fsm)
/*@*/;
/**