diff options
author | Martyn Russell <martyn@lanedo.com> | 2009-10-02 11:33:50 +0100 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2009-10-02 12:32:23 +0100 |
commit | 9d162add80bcbe68dde8152bed2129b734f4e0c4 (patch) | |
tree | 621e4640fbedd32797464b34fac6f4c9c442f507 /src/libtracker-common/tracker-parser.h | |
parent | 6bb0688d01d2fc8e829827431f3feaf84755cc3b (diff) | |
download | tracker-9d162add80bcbe68dde8152bed2129b734f4e0c4.tar.gz |
tracker-fts: Moved tracker-parser here from libtracker-common
Diffstat (limited to 'src/libtracker-common/tracker-parser.h')
-rw-r--r-- | src/libtracker-common/tracker-parser.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/libtracker-common/tracker-parser.h b/src/libtracker-common/tracker-parser.h deleted file mode 100644 index b5798dcad..000000000 --- a/src/libtracker-common/tracker-parser.h +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * Copyright (C) 2006, Mr Jamie McCracken (jamiemcc@gnome.org) - * Copyright (C) 2008, Nokia - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef __LIBTRACKER_TRACKER_COMMON_PARSER_H__ -#define __LIBTRACKER_TRACKER_COMMON_PARSER_H__ - -#include <glib.h> - -#include "tracker-language.h" - -G_BEGIN_DECLS - -#if !defined (__LIBTRACKER_COMMON_INSIDE__) && !defined (TRACKER_COMPILATION) -#error "only <libtracker-common/tracker-common.h> must be included directly." -#endif - -typedef struct TrackerParser TrackerParser; - -TrackerParser *tracker_parser_new (TrackerLanguage *language, - gint max_word_length, - gint min_word_length); -void tracker_parser_reset (TrackerParser *parser, - const gchar *txt, - gint txt_size, - gboolean delimit_words, - gboolean enable_stemmer, - gboolean enable_stop_words, - gboolean parse_reserved_words); -const gchar * tracker_parser_next (TrackerParser *parser, - gint *position, - gint *byte_offset_start, - gint *byte_offset_end, - gboolean *new_paragraph, - gboolean *stop_word, - gint *word_length); -gchar * tracker_parser_process_word (TrackerParser *parser, - const char *word, - gint length, - gboolean do_strip); -void tracker_parser_free (TrackerParser *parser); - -G_END_DECLS - -#endif /* __TRACKERD_PARSER_H__ */ |