summaryrefslogtreecommitdiff
path: root/src/runtime/c/sg/sg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/sg/sg.h')
-rw-r--r--src/runtime/c/sg/sg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runtime/c/sg/sg.h b/src/runtime/c/sg/sg.h
index a94c28cb7..32a89d096 100644
--- a/src/runtime/c/sg/sg.h
+++ b/src/runtime/c/sg/sg.h
@@ -30,6 +30,17 @@ sg_insert_expr(SgSG *sg, PgfExpr expr, int wrFlag, GuExn* err);
PgfExpr
sg_get_expr(SgSG *sg, SgId key, GuPool* out_pool, GuExn* err);
+typedef struct SgQueryExprResult SgQueryExprResult;
+
+SgQueryExprResult*
+sg_query_expr(SgSG *sg, PgfExpr expr, GuPool* pool, GuExn* err);
+
+PgfExpr
+sg_query_next(SgSG *sg, SgQueryExprResult* ctxt, SgId* pKey, GuPool* pool, GuExn* err);
+
+void
+sg_query_close(SgSG* sg, SgQueryExprResult* ctxt, GuExn* err);
+
void
sg_update_fts_index(SgSG* sg, PgfPGF* pgf, GuExn* err);