summaryrefslogtreecommitdiff
path: root/src/couchdb/priv/couch_js/http.h
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2011-10-06 20:49:17 +0100
committerRobert Newson <rnewson@apache.org>2011-10-06 20:49:17 +0100
commita628a43b58c7f85e228b148cea5d74a8b24bff70 (patch)
tree9a80595a0289b4a4dce73102c2b1bd534f937005 /src/couchdb/priv/couch_js/http.h
parent4818fdd3269a3082a193ec69f4e8e39d95c15e86 (diff)
Revert "Remove SpiderMonkey 1.8.5 compatibility"
This reverts commit 5b558c81ed9709fb286a6821e9ae6d6478012c2c.
Diffstat (limited to 'src/couchdb/priv/couch_js/http.h')
-rw-r--r--src/couchdb/priv/couch_js/http.h10
1 files changed, 8 insertions, 2 deletions
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