Hide fsmIterator_s struct details, not needed outside fsm.c

This commit is contained in:
Panu Matilainen 2007-12-17 13:20:05 +02:00
parent c3353c2af4
commit 8268570f48
2 changed files with 11 additions and 11 deletions

View File

@ -48,6 +48,17 @@ struct hardLink_s {
int createdPath;
};
/** \ingroup payload
* Iterator across package file info, forward on install, backward on erase.
*/
struct fsmIterator_s {
rpmts ts; /*!< transaction set. */
rpmfi fi; /*!< transaction element file info. */
int reverse; /*!< reversed traversal? */
int isave; /*!< last returned iterator index. */
int i; /*!< iterator index. */
};
rpmts fsmGetTs(const FSM_t fsm) {
const FSMI_t iter = fsm->iter;
return (iter ? iter->ts : NULL);

View File

@ -90,17 +90,6 @@ typedef enum fileStage_e {
typedef struct hardLink_s * hardLink_t;
/** \ingroup payload
* Iterator across package file info, forward on install, backward on erase.
*/
struct fsmIterator_s {
rpmts ts; /*!< transaction set. */
rpmfi fi; /*!< transaction element file info. */
int reverse; /*!< reversed traversal? */
int isave; /*!< last returned iterator index. */
int i; /*!< iterator index. */
};
/** \ingroup payload
* File name and stat information.
*/