home *** CD-ROM | disk | FTP | other *** search
- #ifndef __SOLUTION_H__
- #define __SOLUTION_H__
-
- // Do not modify this file
-
- #include <MacTypes.h>
- #include <Files.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif // __cplusplus
-
- typedef pascal UInt32 (*GetNextCharProc)(Handle state_machine, UInt32 curstate);
-
- pascal void StateMachineInit( Handle *state_machine, UInt32 states, UInt32 chars);
- pascal void AddTransition( Handle state_machine, UInt32 state1, UInt32 state2, UInt32 first_char, UInt32 last_char );
- pascal void RunStateMachine( Handle state_machine, UInt32 start_state, GetNextCharProc GetNextChar, UInt32 *stop_state);
-
- #ifdef __cplusplus
- }
- #endif // __cplusplus
-
- #endif // __SOLUTION_H__