Skip to content

Commit

Permalink
Export some ii functions
Browse files Browse the repository at this point in the history
  * grn_ii_posting_add()
  * grn_ii_resolve_sel_and()

They will be used by PGroonga.
  • Loading branch information
kou committed Nov 11, 2016
1 parent 6408ebb commit 3a771fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions include/groonga/ii.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ GRN_API grn_rc grn_ii_buffer_append(grn_ctx *ctx,
GRN_API grn_rc grn_ii_buffer_commit(grn_ctx *ctx, grn_ii_buffer *ii_buffer);
GRN_API grn_rc grn_ii_buffer_close(grn_ctx *ctx, grn_ii_buffer *ii_buffer);

GRN_API grn_rc grn_ii_posting_add(grn_ctx *ctx, grn_posting *pos,
grn_hash *s, grn_operator op);
GRN_API void grn_ii_resolve_sel_and(grn_ctx *ctx, grn_hash *s, grn_operator op);


/* Experimental */
typedef struct _grn_ii_cursor grn_ii_cursor;
Expand Down
3 changes: 0 additions & 3 deletions lib/grn_ii.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ int grn_ii_updspec_cmp(grn_ii_updspec *a, grn_ii_updspec *b);
void grn_ii_expire(grn_ctx *ctx, grn_ii *ii);
grn_rc grn_ii_flush(grn_ctx *ctx, grn_ii *ii);

GRN_API grn_rc grn_ii_posting_add(grn_ctx *ctx, grn_posting *pos,
grn_hash *s, grn_operator op);

grn_ii_cursor *grn_ii_cursor_openv1(grn_ii *ii, uint32_t key);
grn_rc grn_ii_cursor_openv2(grn_ii_cursor **cursors, int ncursors);
grn_posting *grn_ii_cursor_next_pos(grn_ctx *ctx, grn_ii_cursor *c);
Expand Down

0 comments on commit 3a771fe

Please sign in to comment.