commit | c8b246f10818a0c59d3c8b4dae234a44f680045e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue May 14 22:05:28 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 28 07:42:12 2019 +0200 |
tree | 42678db7aad79d1abf5e0136f698ee760a70299b | |
parent | 429b91d308d29934425a1ff8ee1eb0a54c8f492c [diff] [blame] |
MINOR: htx: Move the macro IS_HTX_STRM() in proto/stream.h The macro IS_HTX_STRM() only relies on stream flags. So move it in proto/stream.h.
diff --git a/include/proto/stream.h b/include/proto/stream.h index 1461554..60338c9 100644 --- a/include/proto/stream.h +++ b/include/proto/stream.h
@@ -31,6 +31,8 @@ #include <proto/stick_table.h> #include <proto/task.h> +#define IS_HTX_STRM(strm) ((strm)->flags & SF_HTX) + extern struct pool_head *pool_head_stream; extern struct list streams;