X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2FQueryCallbacks.h;h=5d36e0b6ee4e590ddb876ee7e904f783732d5f42;hb=48cdb87442b7b3f1cdde9c1710ed90ec773dce97;hp=ad4461b426ce36f407fd3e1a8dfd46c3d6994632;hpb=813cf9d12ff1b1c58e508485c977d33caaf89a86;p=rrq%2Frrqmisc.git diff --git a/vector/QueryCallbacks.h b/vector/QueryCallbacks.h index ad4461b..5d36e0b 100644 --- a/vector/QueryCallbacks.h +++ b/vector/QueryCallbacks.h @@ -1,9 +1,9 @@ #ifndef QueryCallbacks_H #define QueryCallbacks_H -typedef struct HashVector HashVector; -typedef struct Query Query; -typedef struct BindingTable BindingTable;; +#include + +typedef struct Query Query; // forward enum NextState { /** @@ -41,6 +41,7 @@ typedef struct QueryCallbacks { * thereafter reclaim their local state memory. */ void (*reclaim)(Query *this); + /** * \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); + /** * \brief This callback function adds its binding names to the * hashvector.