summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
authordejun.xdj <dejun.xdj@alibaba-inc.com>2018-07-14 15:02:24 +0800
committerdejun.xdj <dejun.xdj@alibaba-inc.com>2018-07-14 15:02:24 +0800
commita2177cd2b6bcbacc376d9640727cd89c5ffed3fa (patch)
tree935d74cbc208ee888f8c4d2caa6ab185b1d49322 /src/stream.h
parent0484dbcf68638149a8510537fd1a42c836f84020 (diff)
downloadredis-a2177cd2b6bcbacc376d9640727cd89c5ffed3fa.tar.gz
Streams: add streamCompareID() declaration in stream.h.
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h
index 61210f952..ef08753b5 100644
--- a/src/stream.h
+++ b/src/stream.h
@@ -108,5 +108,6 @@ streamConsumer *streamLookupConsumer(streamCG *cg, sds name, int create);
streamCG *streamCreateCG(stream *s, char *name, size_t namelen, streamID *id);
streamNACK *streamCreateNACK(streamConsumer *consumer);
void streamDecodeID(void *buf, streamID *id);
+int streamCompareID(streamID *a, streamID *b);
#endif