#include <sent/stddefs.h>
#include <sent/dfa.h>
Include dependency graph for rddfa.c:

Go to the source code of this file.
Functions | |
| void | dfa_state_init (DFA_INFO *dinfo) | 
| void | dfa_state_expand (DFA_INFO *dinfo, int needed) | 
| boolean | rddfa (FILE *fp, DFA_INFO *dinfo) | 
| boolean | rddfa_fd (int fd, DFA_INFO *dinfo) | 
| boolean | rddfa_sd (int sd, DFA_INFO *dinfo) | 
| boolean | rddfa_line (char *line, DFA_INFO *dinfo, int *state_max, int *arc_num, int *terminal_max) | 
| void | dfa_append (DFA_INFO *dst, DFA_INFO *src, int soffset, int coffset) | 
Variables | |
| static char | buf [MAXLINELEN] | 
| Local text buffer.  | |
Definition in file rddfa.c.
      
  | 
  
| 
 Initialize and allocate DFA state information list in the grammar. 
 
 Definition at line 35 of file rddfa.c. Referenced by multigram_exec(), rddfa(), rddfa_fd(), and rddfa_sd().  | 
  
      
  | 
  ||||||||||||
| 
 Expand the state information list to the required length. 
 
 Definition at line 56 of file rddfa.c. Referenced by dfa_append(), and rddfa_line().  | 
  
      
  | 
  ||||||||||||
| 
 Top loop function to read DFA grammar via file pointer 
 
 
 Definition at line 79 of file rddfa.c. Referenced by init_dfa().  | 
  
      
  | 
  ||||||||||||
| 
 Top loop function to read DFA grammar via file descriptor 
 
 
  | 
  
      
  | 
  ||||||||||||
| 
 Top loop function to read DFA grammar via socket descriptor 
 
 
  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Parse the input line and set grammar information, one by line. 
 
 
 Definition at line 172 of file rddfa.c. Referenced by rddfa(), rddfa_fd(), and rddfa_sd().  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Append the DFA state information to other 
 
 Definition at line 230 of file rddfa.c. Referenced by multigram_build_append().  | 
  
 1.4.2