[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] remove some bytes from the end of the evbuffer



On Thu, Mar 14, 2013 at 11:44 PM, èåä <wsgtrsys@xxxxxxxxx> wrote:
> I now use libevent to develop a network program, which used a evbuffer
> buffer function.
> The currently evbuff only evbuffer_drain and evbuffer_remove, are
> removed from the head of the buffer data.
> I need a very important functions: remove some bytes from the end of the buffer.
> That is the sk_buff like linux kernel as a function of: skb_trim.
> It describes: http://www.skbuff.net/skbbasic.html
>
> I hope that the developers can add this function

What's the application here?

Does this feature enable some kind of code that would be difficult or
annoying to write otherwise?

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.