From: Ralph Ronnquist Date: Wed, 13 Jul 2022 06:08:35 +0000 (+1000) Subject: add the *variables callback X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=8e08c60aa6d5a3520f3f7232c9efe1e6bd93c8a7;hp=4e5a12ca4bfd6541fac14c1b0fa0d6e12168ce88;p=rrq%2Frrqmisc.git add the *variables callback --- diff --git a/vector/QueryCallbacks.h b/vector/QueryCallbacks.h index 0414ddb..b74550a 100644 --- a/vector/QueryCallbacks.h +++ b/vector/QueryCallbacks.h @@ -1,6 +1,8 @@ #ifndef QueryCallbacks_H #define QueryCallbacks_H +typedef struct HashVector HashVector; + enum NextState { /** * This state tells the "next" function that it should capture the @@ -63,11 +65,10 @@ struct QueryCallbacks { */ int (*next)(Query *this,BindingTable *bt,enum NextState state); /** - * This callback function adds its binding names to the + * \brief This callback function adds its binding names to the * hashvector. */ - void (*bindings)(Query *this,HashVector *hv); + void (*variables)(Query *this,HashVector *hv); }; - #endif