X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fnfa.h;h=290174663af5de80ada22b76fcebb1645e2ff746;hb=be6bf53019f49c1448f0161e3b0ce8d3b5b09ec0;hp=addea169425b3ccd14a859d46003645744634098;hpb=fb61309506b52ca0dad9aea4135ceeda63707b0d;p=yaz-moved-to-github.git diff --git a/include/yaz/nfa.h b/include/yaz/nfa.h index addea16..2901746 100644 --- a/include/yaz/nfa.h +++ b/include/yaz/nfa.h @@ -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); + /* \} */