Go to the documentation of this file.00001 #ifndef H_FSM
00002 #define H_FSM
00003
00009 #include <iosm.h>
00010
00014 typedef struct iosm_s * FSM_t;
00015
00016
00017
00018 extern int _fsm_debug;
00019
00020
00024 typedef struct iosmIterator_s * FSMI_t;
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00034 IOSM_t newFSM(void)
00035 ;
00036
00042 IOSM_t freeFSM( IOSM_t fsm)
00043
00044 ;
00045
00058 int fsmSetup(void * _fsm, iosmFileStage goal, const char * afmt,
00059 const void * _ts,
00060 const void * _fi,
00061 FD_t cfd,
00062 unsigned int * archiveSize,
00063 const char ** failedFile)
00064
00065
00066 ;
00067
00073 int fsmTeardown(void * _fsm)
00074
00075 ;
00076
00081 int fsmMapPath(IOSM_t fsm)
00082 ;
00083
00088 int fsmMapAttrs(IOSM_t fsm)
00089 ;
00090
00091
00098 int fsmNext(IOSM_t fsm, iosmFileStage nstage)
00099
00100 ;
00101
00108
00109 int fsmStage( IOSM_t fsm, iosmFileStage stage)
00110
00111 ;
00112
00113
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117
00118 #endif