starting on View
[rrq/rrqmisc.git] / vector / QueryCallbacks.h
index b74550ab5277efd400bc9715dad84156d7ac98d3..ad4461b426ce36f407fd3e1a8dfd46c3d6994632 100644 (file)
@@ -2,6 +2,8 @@
 #define QueryCallbacks_H
 
 typedef struct HashVector HashVector;
+typedef struct Query Query;
+typedef struct BindingTable BindingTable;;
 
 enum NextState {
     /**
@@ -27,7 +29,7 @@ enum NextState {
  * A struct Query_callbacks record defines the callbacks for a
  * specific Query type.
  */
-struct QueryCallbacks {
+typedef struct QueryCallbacks {
     /**
      * \brief Callback function to reclaim the Query memory for a
      * given Query.
@@ -69,6 +71,6 @@ struct QueryCallbacks {
      * hashvector.
      */
     void (*variables)(Query *this,HashVector *hv);
-};
+} QueryCallbacks;
 
 #endif