aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-01 07:51:56 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-01 07:51:56 -0700
commit730118d80f5f037846e522de54508832854e5dd3 (patch)
treeb7d2d247b7e2b5ad8a10930eaf06ae57a287f222 /include
parent6fd238443e7250817049355f7ba164b0bf318394 (diff)
parent3b245fe388c31c85a18f68ccab8dd343bf08eae3 (diff)
Merge branch 'third-coming' into endpoints
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/slice_buffer.h2
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
}