Handle right-trucation for ICU normalized terms.
[idzebra-moved-to-github.git] / include / dfa.h
index f0de59c..eceb0a6 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: dfa.h,v 1.13 2006-05-10 08:13:18 adam Exp $
-   Copyright (C) 1995-2005
+/* $Id: dfa.h,v 1.16 2007-01-15 20:08:24 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #ifndef DFA_H
@@ -61,11 +61,13 @@ struct DFA {
 };
 
 struct DFA *dfa_init (void);
+void dfa_anyset_includes_nl(struct DFA *dfa);
 void dfa_set_cmap (struct DFA *dfa, void *vp,
                    const char **(*cmap)(void *vp, const char **from, int len));
 int dfa_parse (struct DFA *, const char **);
 void dfa_mkstate (struct DFA *);
 void dfa_delete (struct DFA **);
+int dfa_get_last_rule (struct DFA *);
 
 void dfa_parse_cmap_clean (struct DFA *d);
 void dfa_parse_cmap_new (struct DFA *d, const int *cmap);