null+****@clear*****
null+****@clear*****
2012年 7月 24日 (火) 16:40:08 JST
Kouhei Sutou 2012-07-24 16:40:08 +0900 (Tue, 24 Jul 2012) New Revision: aa4ba261a75379769b24e664bbcd474edd5b1358 https://github.com/groonga/groonga/commit/aa4ba261a75379769b24e664bbcd474edd5b1358 Log: Export grn_ctx_recv_handler_set() Modified files: include/groonga.h lib/ctx.h src/nginx-module/ngx_http_groonga_module.c Modified: include/groonga.h (+3 -0) =================================================================== --- include/groonga.h 2012-07-24 16:35:53 +0900 (fbf9565) +++ include/groonga.h 2012-07-24 16:40:08 +0900 (a18a40d) @@ -2147,6 +2147,9 @@ GRN_API void grn_output_envelope(grn_ctx *ctx, grn_rc rc, grn_obj *head, grn_obj *body, grn_obj *foot, const char *file, int line); GRN_API const char *grn_ctx_get_mime_type(grn_ctx *ctx); +GRN_API void grn_ctx_recv_handler_set(grn_ctx *, + void (*func)(grn_ctx *, int, void *), + void *func_arg); /* obsolete */ GRN_API grn_rc grn_text_otoj(grn_ctx *ctx, grn_obj *bulk, grn_obj *obj, Modified: lib/ctx.h (+0 -3) =================================================================== --- lib/ctx.h 2012-07-24 16:35:53 +0900 (6a58323) +++ lib/ctx.h 2012-07-24 16:40:08 +0900 (9c5cf9d) @@ -495,9 +495,6 @@ void grn_cache_get_statistics(grn_ctx *ctx, grn_cache_statistics *statistics); /**** receive handler ****/ -GRN_API void grn_ctx_recv_handler_set(grn_ctx *c, void (*func)(grn_ctx *, int, void *), - void *func_arg); - void grn_ctx_concat_func(grn_ctx *ctx, int flags, void *dummy); GRN_API void grn_ctx_stream_out_func(grn_ctx *c, int flags, void *stream); Modified: src/nginx-module/ngx_http_groonga_module.c (+0 -3) =================================================================== --- src/nginx-module/ngx_http_groonga_module.c 2012-07-24 16:35:53 +0900 (d3dfd17) +++ src/nginx-module/ngx_http_groonga_module.c 2012-07-24 16:40:08 +0900 (2b8bd5b) @@ -122,9 +122,6 @@ ngx_http_groonga_grn_obj_to_ngx_buf(ngx_pool_t *pool, grn_obj *object) } #define GRN_NO_FLAGS 0 -GRN_API void grn_ctx_recv_handler_set(grn_ctx *, - void (*func)(grn_ctx *, int, void *), - void *func_arg); typedef struct { grn_obj head, body, foot; -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...下载