34 #ifndef GRPC_INTERNAL_CORE_SUPPORT_STRING_H
35 #define GRPC_INTERNAL_CORE_SUPPORT_STRING_H
50 #define GPR_DUMP_HEX 0x00000001
51 #define GPR_DUMP_ASCII 0x00000002
66 #define GPR_LTOA_MIN_BUFSIZE (3 * sizeof(long))
79 char *
gpr_strjoin(
const char **strs,
size_t nstrs,
size_t *total_length);
85 size_t *total_length);
const char * value
Definition: hpack_table.c:44
char * gpr_strvec_flatten(gpr_strvec *strs, size_t *total_length)
Definition: string.c:273
int gpr_parse_bytes_to_uint32(const char *data, size_t length, gpr_uint32 *result)
Definition: string.c:128
char * gpr_strjoin(const char **strs, size_t nstrs, size_t *total_length)
Definition: string.c:176
char * gpr_strjoin_sep(const char **strs, size_t nstrs, const char *sep, size_t *total_length)
Definition: string.c:180
char * gpr_dump_slice(gpr_slice slice, gpr_uint32 flags)
Definition: string.c:123
Definition: slice_buffer.h:48
char ** strs
Definition: string.h:93
void gpr_reverse_bytes(char *str, int len)
Definition: string.c:146
void gpr_strvec_add(gpr_strvec *strs, char *add)
Definition: string.c:265
void gpr_strvec_init(gpr_strvec *strs)
Definition: string.c:255
void gpr_strvec_destroy(gpr_strvec *strs)
Definition: string.c:257
void gpr_slice_split(gpr_slice str, const char *sep, gpr_slice_buffer *dst)
Split str by the separator sep.
Definition: string.c:237
int gpr_ltoa(long value, char *output)
Definition: string.c:155
size_t count
Definition: string.h:94
char * gpr_dump(const char *buf, size_t len, gpr_uint32 flags)
Definition: string.c:111
size_t capacity
Definition: string.h:95