1 /* parse.h --- generating a markov chain. 2 * DadaDodo, Copyright (c) 1997, 2003 Jamie Zawinski <jwz@jwz.org> 3 * 4 * Permission to use, copy, modify, distribute, and sell this software and its 5 * documentation for any purpose is hereby granted without fee, provided that 6 * the above copyright notice appear in all copies and that both that 7 * copyright notice and this permission notice appear in supporting 8 * documentation. No representations are made about the suitability of this 9 * software for any purpose. It is provided "as is" without express or 10 * implied warranty. 11 */ 12 13 #ifndef __DADADODO_PARSE_H__ 14 #define __DADADODO_PARSE_H__ 15 16 #include "hash.h" 17 18 typedef struct pword pword; 19 20 extern pword *scan_line (unsigned char *line, hash_table *table, pword *prev); 21 22 extern int total_words; 23 extern int total_links; 24 extern int total_starters; 25 26 #endif /* __DADADODO_PARSE_H__ */ 27