mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
bufq: remove the unused Curl_bufq_unwrite function
Follow-up to 02edae54e8
Closes #17730
This commit is contained in:
parent
c153d9eadf
commit
65f8253336
4 changed files with 0 additions and 121 deletions
|
|
@ -76,17 +76,6 @@ void Curl_bufq_skip(struct bufq *q, size_t amount);
|
|||
|
||||
This removes `amount` number of bytes from the `bufq`.
|
||||
|
||||
## unwrite
|
||||
|
||||
It is possible to undo writes by calling:
|
||||
|
||||
```
|
||||
CURLcode Curl_bufq_unwrite(struct bufq *q, size_t len);
|
||||
```
|
||||
|
||||
This removes `len` bytes from the end of the bufq again. When removing more
|
||||
bytes than are present, CURLE_AGAIN is returned and bufq is cleared.
|
||||
|
||||
## lifetime
|
||||
|
||||
`bufq` is initialized and freed similar to the `dynbuf` module. Code using
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue