commit | cc5cfcbccef2d07a1f688e60e03d2e8e8eca52c2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 04 21:35:27 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 08 12:28:14 2012 +0200 |
tree | 44426b18d58a70f6249a048db6a2bd95f347fcbd | |
parent | ec1bc82a1d435923d18dae8a005b876900c91be9 [diff] |
MEDIUM: buffers: add new pointer wrappers and get rid of almost all buffer_wrap_add calls buffer_wrap_add was convenient for the migration but is not handy at all. Let's have new wrappers that report input begin/end and output begin/end instead. It looks like we'll also need a b_adv(ofs) to advance a buffer's pointer.