projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring
[rrq/rrqmisc.git]
/
vector
/
QueryCallbacks.h
diff --git
a/vector/QueryCallbacks.h
b/vector/QueryCallbacks.h
index ad4461b426ce36f407fd3e1a8dfd46c3d6994632..5d36e0b6ee4e590ddb876ee7e904f783732d5f42 100644
(file)
--- a/
vector/QueryCallbacks.h
+++ b/
vector/QueryCallbacks.h
@@
-1,9
+1,9
@@
#ifndef QueryCallbacks_H
#define QueryCallbacks_H
#ifndef QueryCallbacks_H
#define QueryCallbacks_H
-typedef struct HashVector HashVector;
-typedef struct Query Query;
-typedef struct
BindingTable BindingTable;;
+#include <BindingTable.h>
+
+typedef struct
Query Query; // forward
enum NextState {
/**
enum NextState {
/**
@@
-41,6
+41,7
@@
typedef struct QueryCallbacks {
* thereafter reclaim their local state memory.
*/
void (*reclaim)(Query *this);
* thereafter reclaim their local state memory.
*/
void (*reclaim)(Query *this);
+
/**
* \brief Callback function to update the Binding table with a
* succession of alternative bindings.
/**
* \brief Callback function to update the Binding table with a
* succession of alternative bindings.
@@
-66,6
+67,7
@@
typedef struct QueryCallbacks {
* it cannot setup any (more) Binding.
*/
int (*next)(Query *this,BindingTable *bt,enum NextState state);
* it cannot setup any (more) Binding.
*/
int (*next)(Query *this,BindingTable *bt,enum NextState state);
+
/**
* \brief This callback function adds its binding names to the
* hashvector.
/**
* \brief This callback function adds its binding names to the
* hashvector.