aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/json/json_writer.h
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2015-08-18 11:05:49 -0700
committerGravatar David G. Quintas <dgq@google.com>2015-08-18 11:05:49 -0700
commit4f21d3549c8f652a152ae086a74dd8415ecca8fa (patch)
treed8dae211eb45035d095e4549ab5af439e67b22dc /src/core/json/json_writer.h
parentbb1c795f998f052f854a6e1aeebff44e293a29f4 (diff)
parentd6c98df792198c5c9687ed35a676efbc5e621e0f (diff)
Merge pull request #2971 from ctiller/wtf-happened-to-our-formatting
clang-format all source
Diffstat (limited to 'src/core/json/json_writer.h')
-rw-r--r--src/core/json/json_writer.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/core/json/json_writer.h b/src/core/json/json_writer.h
index dfa61a5fef..a299dfabf8 100644
--- a/src/core/json/json_writer.h
+++ b/src/core/json/json_writer.h
@@ -78,16 +78,20 @@ void grpc_json_writer_init(grpc_json_writer* writer, int indent,
grpc_json_writer_vtable* vtable, void* userdata);
/* Signals the beginning of a container. */
-void grpc_json_writer_container_begins(grpc_json_writer* writer, grpc_json_type type);
+void grpc_json_writer_container_begins(grpc_json_writer* writer,
+ grpc_json_type type);
/* Signals the end of a container. */
-void grpc_json_writer_container_ends(grpc_json_writer* writer, grpc_json_type type);
+void grpc_json_writer_container_ends(grpc_json_writer* writer,
+ grpc_json_type type);
/* Writes down an object key for the next value. */
void grpc_json_writer_object_key(grpc_json_writer* writer, const char* string);
/* Sets a raw value. Useful for numbers. */
void grpc_json_writer_value_raw(grpc_json_writer* writer, const char* string);
/* Sets a raw value with its length. Useful for values like true or false. */
-void grpc_json_writer_value_raw_with_len(grpc_json_writer* writer, const char* string, size_t len);
+void grpc_json_writer_value_raw_with_len(grpc_json_writer* writer,
+ const char* string, size_t len);
/* Sets a string value. It'll be escaped, and utf-8 validated. */
-void grpc_json_writer_value_string(grpc_json_writer* writer, const char* string);
+void grpc_json_writer_value_string(grpc_json_writer* writer,
+ const char* string);
-#endif /* GRPC_INTERNAL_CORE_JSON_JSON_WRITER_H */
+#endif /* GRPC_INTERNAL_CORE_JSON_JSON_WRITER_H */