From 13ecb7e337eb6e7830c4fc4249150297aab26960 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 10 Apr 2018 09:17:00 +0000 Subject: [PATCH] exported hcl_server_proto_feed_reply() --- lib/hcl-s.c | 2 -- lib/hcl-s.h | 7 +++++++ lib/hcl.h | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/hcl-s.c b/lib/hcl-s.c index 2a981dd..f1e8fcb 100644 --- a/lib/hcl-s.c +++ b/lib/hcl-s.c @@ -349,8 +349,6 @@ struct hcl_server_t pthread_mutex_t log_mutex; }; -int hcl_server_proto_feed_reply (hcl_server_proto_t* proto, const hcl_ooch_t* ptr, hcl_oow_t len, int escape); - /* ========================================================================= */ #if defined(_WIN32) || defined(__OS2__) || defined(__DOS__) diff --git a/lib/hcl-s.h b/lib/hcl-s.h index 654de3c..f0a1c7d 100644 --- a/lib/hcl-s.h +++ b/lib/hcl-s.h @@ -198,6 +198,13 @@ HCL_EXPORT void hcl_server_freemem ( void* ptr ); +HCL_EXPORT int hcl_server_proto_feed_reply ( + hcl_server_proto_t* proto, + const hcl_ooch_t* ptr, + hcl_oow_t len, + int escape +); + #if defined(__cplusplus) } #endif diff --git a/lib/hcl.h b/lib/hcl.h index 37a3837..81ad916 100644 --- a/lib/hcl.h +++ b/lib/hcl.h @@ -936,7 +936,7 @@ struct hcl_cb_t { hcl_cb_gc_t gc; hcl_cb_fini_t fini; - + hcl_cb_vm_startup_t vm_startup; hcl_cb_vm_cleanup_t vm_cleanup; hcl_cb_vm_checkbc_t vm_checkbc;