Hide fsmIterator_s struct details, not needed outside fsm.c
This commit is contained in:
parent
c3353c2af4
commit
8268570f48
11
lib/fsm.c
11
lib/fsm.c
|
@ -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);
|
||||
|
|
11
lib/fsm.h
11
lib/fsm.h
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue