2009-11-25 21:55:06 +01:00
|
|
|
/*
|
2010-01-23 22:34:27 +01:00
|
|
|
** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
2009-11-25 21:55:06 +01:00
|
|
|
**
|
|
|
|
** This program is free software; you can redistribute it and/or modify
|
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation; either version 3 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** This program 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 General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with this program; if not, write to the Free Software Foundation,
|
|
|
|
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
**
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MU_MSG_XAPIAN_PRIV_HH__
|
|
|
|
#define __MU_MSG_XAPIAN_PRIV_HH__
|
|
|
|
|
|
|
|
#include <xapian.h>
|
|
|
|
|
2010-01-23 22:34:27 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* create a new MuMsgIterXapian -- basically, an iterator over the search
|
|
|
|
* results
|
|
|
|
*
|
|
|
|
* @param enq a Xapian::Enquiry providing access to search results
|
|
|
|
* @param batchsize how many results to retrieve at once
|
|
|
|
*
|
|
|
|
* @return a new MuMsgIterXapian, or NULL in case of error
|
|
|
|
*/
|
|
|
|
MuMsgIterXapian *mu_msg_iter_xapian_new
|
|
|
|
(const Xapian::Enquire& enq, size_t batchsize)G_GNUC_WARN_UNUSED_RESULT;
|
2009-11-25 21:55:06 +01:00
|
|
|
|
|
|
|
#endif /*__MU_MSG_XAPIAN_PRIV_HH__*/
|