summaryrefslogtreecommitdiff
path: root/src/couchdb/priv/couch_js/http.h
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2011-10-06 10:39:21 +0100
committerRobert Newson <rnewson@apache.org>2011-10-06 10:39:21 +0100
commit5b558c81ed9709fb286a6821e9ae6d6478012c2c (patch)
treedf5689ac2ecfda77d4129a4c814dc21f68b93653 /src/couchdb/priv/couch_js/http.h
parente6c0fc955ea2be0fd3c4e894fd0c7cc87202c5a5 (diff)
Remove SpiderMonkey 1.8.5 compatibility
This commit reverts 1.8.5 compatibility including the corresponding couchjs paren hack as this leads to significant breakage in existing functions.
Diffstat (limited to 'src/couchdb/priv/couch_js/http.h')
-rw-r--r--src/couchdb/priv/couch_js/http.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/couchdb/priv/couch_js/http.h b/src/couchdb/priv/couch_js/http.h
index 373d1e48..b5f8c70f 100644
--- a/src/couchdb/priv/couch_js/http.h
+++ b/src/couchdb/priv/couch_js/http.h
@@ -13,12 +13,6 @@
#ifndef COUCH_JS_HTTP_H
#define COUCH_JS_HTTP_H
-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);
+JSObject* install_http(JSContext* cx, JSObject* global);
-#endif
+#endif \ No newline at end of file