Namdak Tonpa 7 лет назад
Родитель
Сommit
9fe694b08d
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 0
      include/kvs.hrl
  2. 2 2
      man/kvs_stream.htm

+ 2 - 0
include/kvs.hrl

@@ -10,6 +10,8 @@
 -record(cur,  {?CUR, left=0, right=0, args=[]::list(tuple()|integer()), money=0, status=[]}).
 
 -define(ITER, id=   [] :: term(),
+              container = cur :: cur,
+              feed_id = [] :: term(),
               next= [] :: [] | integer(),
               prev= [] :: [] | integer()).
 -record(iter, {?ITER}).

+ 2 - 2
man/kvs_stream.htm

@@ -99,8 +99,8 @@
 <li>reader &mdash; Reader cursor tracks distances to edges.</li>
 <li>dir=0 &mdash; Adding to top, reading up from bottom (default).</li>
 <li>dir=1 &mdash; Adding to bottom, reading down from top.</li>
-<li>top &mdash; The top of the list.</li>
-<li>bot &mdash; The bottom of the list.</li>
+<li>top &mdash; The id of top element of the list.</li>
+<li>bot &mdash; The id of bottom element of the list.</li>
 <li>args &mdash; integer for take/drop/remove/get, tuple for add/put</li>
 <li>status &mdash; operation</li>
 <li>left &mdash; The distance to top from reader.</li>