* mu-msg-iter-priv.cc: get rid of this with some void** casting tricks...

This commit is contained in:
Dirk-Jan C. Binnema
2011-05-18 23:51:52 +03:00
parent 0c783567cf
commit 57498fb1a2
6 changed files with 28 additions and 47 deletions

View File

@ -36,6 +36,20 @@ G_BEGIN_DECLS
struct _MuMsgIter;
typedef struct _MuMsgIter MuMsgIter;
/**
* create a new MuMsgIter -- basically, an iterator over the search
* results
*
* @param enq a Xapian::Enquire* cast to XapianEnquire* (because this
* is C, not C++),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 (XapianEnquire *enq,
size_t batchsize) G_GNUC_WARN_UNUSED_RESULT;
/**
* get the next message (which you got from
* e.g. mu_query_run)