Initial Revision
[ohcount] / ext / ohcount_native / polyglot.h
1 /*
2  *  polyglot.h
3  *  Ohcount
4  *
5  *  Created by Jason Allen on 6/23/06.
6  *  Copyright 2006 Ohloh. All rights reserved.
7  *
8  */
9
10 typedef struct {
11         char *name;
12         State **states;
13         Transition **transitions;
14         CompiledState *compiled_states;
15         int compiled_state_count;
16 } Polyglot;
17
18 int polyglot_state_count(Polyglot *polyglot);
19 void polyglot_compile_states(Polyglot *polyglot);