aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/slice/b64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/slice/b64.h')
-rw-r--r--src/core/lib/slice/b64.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lib/slice/b64.h b/src/core/lib/slice/b64.h
index 0a60f5a351..39dede770e 100644
--- a/src/core/lib/slice/b64.h
+++ b/src/core/lib/slice/b64.h
@@ -28,7 +28,7 @@ extern "C" {
/* Encodes data using base64. It is the caller's responsability to free
the returned char * using gpr_free. Returns NULL on NULL input.
TODO(makdharma) : change the flags to bool from int */
-char *grpc_base64_encode(const void *data, size_t data_size, int url_safe,
+char* grpc_base64_encode(const void* data, size_t data_size, int url_safe,
int multiline);
/* estimate the upper bound on size of base64 encoded data. The actual size
@@ -39,15 +39,15 @@ size_t grpc_base64_estimate_encoded_size(size_t data_size, int url_safe,
/* Encodes data using base64 and write it to memory pointed to by result. It is
* the caller's responsiblity to allocate enough memory in |result| to fit the
* encoded data. */
-void grpc_base64_encode_core(char *result, const void *vdata, size_t data_size,
+void grpc_base64_encode_core(char* result, const void* vdata, size_t data_size,
int url_safe, int multiline);
/* Decodes data according to the base64 specification. Returns an empty
slice in case of failure. */
-grpc_slice grpc_base64_decode(const char *b64, int url_safe);
+grpc_slice grpc_base64_decode(const char* b64, int url_safe);
/* Same as above except that the length is provided by the caller. */
-grpc_slice grpc_base64_decode_with_len(const char *b64, size_t b64_len,
+grpc_slice grpc_base64_decode_with_len(const char* b64, size_t b64_len,
int url_safe);
#ifdef __cplusplus