diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-01 07:51:56 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-01 07:51:56 -0700 |
commit | 730118d80f5f037846e522de54508832854e5dd3 (patch) | |
tree | b7d2d247b7e2b5ad8a10930eaf06ae57a287f222 /include | |
parent | 6fd238443e7250817049355f7ba164b0bf318394 (diff) | |
parent | 3b245fe388c31c85a18f68ccab8dd343bf08eae3 (diff) |
Merge branch 'third-coming' into endpoints
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/support/slice_buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/support/slice_buffer.h b/include/grpc/support/slice_buffer.h index ec048e8c91..04db003ac5 100644 --- a/include/grpc/support/slice_buffer.h +++ b/include/grpc/support/slice_buffer.h @@ -86,6 +86,8 @@ void gpr_slice_buffer_reset_and_unref(gpr_slice_buffer *sb); void gpr_slice_buffer_swap(gpr_slice_buffer *a, gpr_slice_buffer *b); /* move all of the elements of src into dst */ void gpr_slice_buffer_move_into(gpr_slice_buffer *src, gpr_slice_buffer *dst); +/* remove n bytes from the end of a slice buffer */ +void gpr_slice_buffer_trim_end(gpr_slice_buffer *src, size_t n); #ifdef __cplusplus } |