add the *variables callback
[rrq/rrqmisc.git] / vector / QueryCallbacks.h
index 0414ddb8edc2b419f53ead3211d6b8f711ecb852..b74550ab5277efd400bc9715dad84156d7ac98d3 100644 (file)
@@ -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