summaryrefslogtreecommitdiff
path: root/samples/net/http_client/src/http_client_rcv.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/net/http_client/src/http_client_rcv.h')
-rw-r--r--samples/net/http_client/src/http_client_rcv.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/samples/net/http_client/src/http_client_rcv.h b/samples/net/http_client/src/http_client_rcv.h
new file mode 100644
index 000000000..d75d9708e
--- /dev/null
+++ b/samples/net/http_client/src/http_client_rcv.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2017 Intel Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+#ifndef _HTTP_CLIENT_RCV_H_
+#define _HTTP_CLIENT_RCV_H_
+
+#include "tcp_client.h"
+
+/* HTTP reception callback */
+void http_receive_cb(struct tcp_client_ctx *tcp_ctx, struct net_buf *rx);
+
+#endif