diff options
author | 2017-01-09 14:58:12 -0800 | |
---|---|---|
committer | 2017-01-09 14:58:12 -0800 | |
commit | e93b028f07addb13240e636aaea837e3f0eaa9c4 (patch) | |
tree | 2c0c502c9ca42413c1d87210cfe9cedcb7b2bcef /src/core/lib/support/string.h | |
parent | d191d31e4963b23255840ffe648290ab92d5e8bc (diff) | |
parent | 6cf58c81731343e0ffb134febd3e576425399e5e (diff) |
Merge branch 'master' into tweak_slice_buffer
Diffstat (limited to 'src/core/lib/support/string.h')
-rw-r--r-- | src/core/lib/support/string.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/support/string.h b/src/core/lib/support/string.h index 6d1f7cc632..d1c52faed4 100644 --- a/src/core/lib/support/string.h +++ b/src/core/lib/support/string.h @@ -36,8 +36,6 @@ #include <stddef.h> -#include <grpc/slice.h> -#include <grpc/slice_buffer.h> #include <grpc/support/port_platform.h> #ifdef __cplusplus @@ -98,6 +96,9 @@ char *gpr_strjoin(const char **strs, size_t nstrs, size_t *total_length); char *gpr_strjoin_sep(const char **strs, size_t nstrs, const char *sep, size_t *total_length); +void gpr_string_split(const char *input, const char *sep, char ***strs, + size_t *nstrs); + /* A vector of strings... for building up a final string one piece at a time */ typedef struct { char **strs; |