|
Graphviz
2.29.20120524.0446
|
00001 /* $Id$ $Revision$ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /************************************************************************* 00005 * Copyright (c) 2011 AT&T Intellectual Property 00006 * All rights reserved. This program and the accompanying materials 00007 * are made available under the terms of the Eclipse Public License v1.0 00008 * which accompanies this distribution, and is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * 00011 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 00012 *************************************************************************/ 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 00019 /* File - TrieFA.h 00020 * 00021 * The data types for the generated trie-based finite automata. 00022 */ 00023 00024 struct TrieState { /* An entry in the FA state table */ 00025 short def; /* If this state is an accepting state then */ 00026 /* this is the definition, otherwise -1. */ 00027 short trans_base; /* The base index into the transition table. */ 00028 long mask; /* The transition mask. */ 00029 }; 00030 00031 struct TrieTrans { /* An entry in the FA transition table. */ 00032 short c; /* The transition character (lowercase). */ 00033 short next_state; /* The next state. */ 00034 }; 00035 00036 typedef struct TrieState TrieState; 00037 typedef struct TrieTrans TrieTrans; 00038 00039 extern TrieState TrieStateTbl[]; 00040 extern TrieTrans TrieTransTbl[]; 00041 00042 #ifdef __cplusplus 00043 } 00044 #endif
1.7.5