* rename mu-util-xapian => mu-util-db (and some leftovers)

This commit is contained in:
djcb
2010-08-25 21:40:07 +03:00
parent b50a3dc245
commit ba2cb41585
10 changed files with 579 additions and 35 deletions

38
src/mu-msg-iter-priv.hh Normal file
View File

@ -0,0 +1,38 @@
/*
** Copyright (C) 2008-2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** 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_PRIV_HH__
#define __MU_MSG_PRIV_HH__
#include <xapian.h>
/**
* create a new MuMsgIter -- 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 MuMsgIter, or NULL in case of error
*/
MuMsgIter *mu_msg_iter_new (const Xapian::Enquire& enq,
size_t batchsize) G_GNUC_WARN_UNUSED_RESULT;
#endif /*__MU_MSG_PRIV_HH__*/