From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 48EFB469719 for ; Fri, 16 Oct 2020 01:48:32 +0300 (MSK) Date: Fri, 16 Oct 2020 01:48:52 +0300 From: Alexander Turenko Message-ID: <20201015224852.ff3zoj3h5gwtmds2@tkn_work_nb> References: <23f2b9468c529a6276ac75c1cfe81e60e1fabfb2.1602629628.git.tsafin@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <23f2b9468c529a6276ac75c1cfe81e60e1fabfb2.1602629628.git.tsafin@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH 2.X v4 4/4] module api: box_ibuf_* wrappers List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Timur Safin Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org > +/** > + * Return pointers to read range pointers used [rpos..wpos) > + * @param ibuf ibuf structure > + * @param rpos where to place ibuf.rpos address > + * @param rpos where to place ibuf.wpos address > + */ > +API_EXPORT void > +box_ibuf_read_range(box_ibuf_t *ibuf, char ***rpos, char ***wpos); > + > +/** > + * Return pointers to write range pointers used [wpos..end) > + * @param ibuf ibuf structure > + * @param rpos where to place ibuf.rpos address > + * @param rpos where to place ibuf.wpos address > + */ > +API_EXPORT void > +box_ibuf_write_range(box_ibuf_t *ibuf, char ***wpos, char ***end); Nit: Too many 'rpos'es :)