Using plain char instead of unsigned char in my tests.
[yaz-moved-to-github.git] / include / yaz / nfa.h
index addea16..2901746 100644 (file)
@@ -1,6 +1,6 @@
 /*  Copyright (C) 2006, Index Data ApS
  *  See the file LICENSE for details.
- *  $Id: nfa.h,v 1.8 2006-07-04 12:59:56 heikki Exp $
+ *  $Id: nfa.h,v 1.11 2006-10-04 16:59:33 mike Exp $
  */
 
 /**
@@ -89,7 +89,7 @@ typedef struct yaz_nfa_converter yaz_nfa_converter;
  * \return a pointer to the newly created NFA
  *
  * */
-yaz_nfa *yaz_nfa_init();
+yaz_nfa *yaz_nfa_init(void);
 
 /** \brief Destroy the whole thing */
 void yaz_nfa_destroy(
@@ -215,7 +215,7 @@ yaz_nfa_state *yaz_nfa_add_range( yaz_nfa *n,
  *  \param s   the state to add this to. If null, adds to the initial state
  *  \param seq is a sequence of yaz_fna_chars.
  *  \param seq_len is the length of the sequence
- *  \Return the final state
+ *  \return the final state
  *
  *  Starting from state s (or from the initial state, if s is
  *  null), finds as much of seq as possible and inserts the rest. 
@@ -534,6 +534,11 @@ void yaz_nfa_dump(FILE *F,
                   yaz_nfa *n, 
                   char *(*strfunc)(void *) ); 
 
+/** \brief Helper to dump converters 
+ *
+ */
+char *yaz_nfa_dump_converter(void *conv);
+
 /* \} */