Loading of the nfa now possible from an xml file.
[yaz-moved-to-github.git] / include / yaz / nfa.h
index ddce4af..7ff29bc 100644 (file)
@@ -1,6 +1,6 @@
 /*  Copyright (C) 2006, Index Data ApS
  *  See the file LICENSE for details.
- *  $Id: nfa.h,v 1.7 2006-05-10 13:58:46 heikki Exp $
+ *  $Id: nfa.h,v 1.9 2006-07-14 13:06:37 heikki Exp $
  */
 
 /**
@@ -28,6 +28,7 @@
 #define YAZ_NFA_H
 
 #include <yaz/yconfig.h>
+#include <stdio.h>
 
 YAZ_BEGIN_CDECL
 
@@ -529,7 +530,14 @@ yaz_nfa_state *yaz_nfa_get_next(yaz_nfa *n, yaz_nfa_state *s);
  *  already printable, passing a null pointer here prints them with a %s
  *
  */
-void yaz_nfa_dump(FILE *F, yaz_nfa *n, char *(*strfunc)(void *) ); 
+void yaz_nfa_dump(FILE *F, 
+                  yaz_nfa *n, 
+                  char *(*strfunc)(void *) ); 
+
+/** \brief Helper to dump converters 
+ *
+ */
+char *yaz_nfa_dump_converter(void *conv);
 
 /* \} */