From a628a43b58c7f85e228b148cea5d74a8b24bff70 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Thu, 6 Oct 2011 20:49:17 +0100 Subject: Revert "Remove SpiderMonkey 1.8.5 compatibility" This reverts commit 5b558c81ed9709fb286a6821e9ae6d6478012c2c. --- src/couchdb/priv/couch_js/http.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/couchdb/priv/couch_js/http.h') diff --git a/src/couchdb/priv/couch_js/http.h b/src/couchdb/priv/couch_js/http.h index b5f8c70f..373d1e48 100644 --- a/src/couchdb/priv/couch_js/http.h +++ b/src/couchdb/priv/couch_js/http.h @@ -13,6 +13,12 @@ #ifndef COUCH_JS_HTTP_H #define COUCH_JS_HTTP_H -JSObject* install_http(JSContext* cx, JSObject* global); +void http_check_enabled(); +JSBool http_ctor(JSContext* cx, JSObject* req); +void http_dtor(JSContext* cx, JSObject* req); +JSBool http_open(JSContext* cx, JSObject* req, jsval mth, jsval url, jsval snc); +JSBool http_set_hdr(JSContext* cx, JSObject* req, jsval name, jsval val); +JSBool http_send(JSContext* cx, JSObject* req, jsval body); +int http_status(JSContext* cx, JSObject* req); -#endif \ No newline at end of file +#endif -- cgit v1.2.3