diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-03 14:26:34 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-03 14:26:34 +0300 |
commit | 09d8cbafff94cde37accd9c43fcd8087457925cd (patch) | |
tree | 95357b4f6bf396d65213b37b2a554eae8ef1d7bc /lib/fsm.h | |
parent | 50f34a622edc4d737d671622401f7dad44a10d62 (diff) | |
download | rpm-09d8cbafff94cde37accd9c43fcd8087457925cd.tar.gz rpm-09d8cbafff94cde37accd9c43fcd8087457925cd.tar.bz2 rpm-09d8cbafff94cde37accd9c43fcd8087457925cd.zip |
Unexport file state machine internals
- fsmGetTs(), fsmGetFi(), fileStageString(), fileActionString(),
fsmMapPath(), fsmMapAttrs() and fsmStage() aren't needed outside fsm,
make 'em static to avoid leaking to symbol space
Diffstat (limited to 'lib/fsm.h')
-rw-r--r-- | lib/fsm.h | 48 |
1 files changed, 0 insertions, 48 deletions
@@ -170,20 +170,6 @@ extern "C" { #endif /** - * Return formatted string representation of file stages. - * @param a file stage - * @return formatted string - */ -const char * fileStageString(fileStage a) ; - -/** - * Return formatted string representation of file disposition. - * @param a file dispostion - * @return formatted string - */ -const char * fileActionString(rpmFileAction a) ; - -/** * Create file state machine instance. * @return file state machine */ @@ -222,32 +208,6 @@ int fsmSetup(FSM_t fsm, fileStage goal, int fsmTeardown(FSM_t fsm); /** - * Retrieve transaction set from file state machine iterator. - * @param fsm file state machine - * @return transaction set - */ -rpmts fsmGetTs(const FSM_t fsm); - -/** - * Retrieve transaction element file info from file state machine iterator. - * @param fsm file state machine - * @return transaction element file info - */ -rpmfi fsmGetFi(const FSM_t fsm); - -/** - * Map next file path and action. - * @param fsm file state machine - */ -int fsmMapPath(FSM_t fsm); - -/** - * Map file stat(2) info. - * @param fsm file state machine - */ -int fsmMapAttrs(FSM_t fsm); - -/** * File state machine driver. * @param fsm file state machine * @param nstage next stage @@ -255,14 +215,6 @@ int fsmMapAttrs(FSM_t fsm); */ int fsmNext(FSM_t fsm, fileStage nstage); -/** - * File state machine driver. - * @param fsm file state machine - * @param stage next stage - * @return 0 on success - */ -int fsmStage(FSM_t fsm, fileStage stage); - #ifdef __cplusplus } #endif |