You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2016/12/20 18:32:55 UTC
qpid-dispatch git commit: DISPATCH-103 - fixed the http-none stub to
properly build when websockets is not built.
Repository: qpid-dispatch
Updated Branches:
refs/heads/master 9442bb0b2 -> fcdaf22a8
DISPATCH-103 - fixed the http-none stub to properly build when websockets is not built.
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/fcdaf22a
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/fcdaf22a
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/fcdaf22a
Branch: refs/heads/master
Commit: fcdaf22a826de23f73cb991291c46e2cb8ca1886
Parents: 9442bb0
Author: Ted Ross <tr...@redhat.com>
Authored: Tue Dec 20 13:32:13 2016 -0500
Committer: Ted Ross <tr...@redhat.com>
Committed: Tue Dec 20 13:32:13 2016 -0500
----------------------------------------------------------------------
src/http-none.c | 26 +++++++++++++++++---------
src/http.h | 4 ++--
2 files changed, 19 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/fcdaf22a/src/http-none.c
----------------------------------------------------------------------
diff --git a/src/http-none.c b/src/http-none.c
index 36a25fb..ae27f4c 100644
--- a/src/http-none.c
+++ b/src/http-none.c
@@ -23,19 +23,27 @@
/* No HTTP implementation available. */
-static qd_log_source_t *log = NULL;
+qd_http_server_t *qd_http_server(qd_dispatch_t *d, qd_log_source_t *log)
+{
+ qd_log(log, QD_LOG_WARNING, "HTTP support is not available");
+ return 0;
+}
-void qd_http_connector_process(qdpn_connector_t *c) {}
+void qd_http_server_free(qd_http_server_t *h)
+{
+}
-qd_http_connector_t *qd_http_connector(qd_http_t *h, qdpn_connector_t *c) {
+qd_http_listener_t *qd_http_listener(struct qd_http_server_t *s,
+ const struct qd_server_config_t *config)
+{
+ return 0;
+}
- return NULL;
+void qd_http_listener_free(qd_http_listener_t *hl)
+{
}
-qd_http_t *qd_http(qd_dispatch_t *d, qd_log_source_t *l) {
- log = l;
- qd_log(log, QD_LOG_WARNING, "HTTP support is not available");
- return NULL;
+void qd_http_listener_accept(qd_http_listener_t *hl, struct qdpn_connector_t *c)
+{
}
-void qd_http_free(qd_http_t *h) {}
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/fcdaf22a/src/http.h
----------------------------------------------------------------------
diff --git a/src/http.h b/src/http.h
index e38ffeb..98d288a 100644
--- a/src/http.h
+++ b/src/http.h
@@ -21,8 +21,8 @@
*/
typedef struct qd_http_listener_t qd_http_listener_t;
-typedef struct qd_http_server_t qd_http_server_t;
-struct qd_dispatch_t;
+typedef struct qd_http_server_t qd_http_server_t;
+typedef struct qd_dispatch_t qd_dispatch_t;
struct qd_log_source_t;
struct qd_server_config_t;
struct qdpn_connector_t;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org