/*
* dataiterator.h
- *
+ *
*/
#ifndef LIBSOLV_DATAITERATOR_H
#include "pooltypes.h"
#include "pool.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct _Repo;
typedef struct _KeyValue {
/*
* Dataiterator
- *
+ *
* Iterator like interface to 'search' functionality
- *
+ *
* Dataiterator is per-pool, additional filters can be applied
* to limit the search domain. See dataiterator_init below.
- *
+ *
* Use these like:
* Dataiterator di;
* dataiterator_init(&di, repo->pool, repo, 0, 0, "bla", SEARCH_SUBSTRING);
/*
* Initialize dataiterator
- *
+ *
* di: Pointer to Dataiterator to be initialized
* pool: Search domain for the iterator
* repo: if non-null, limit search to this repo
#define DI_SEEK_PARENT 2
#define DI_SEEK_REWIND 3
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBSOLV_DATAITERATOR_H */