summaryrefslogtreecommitdiff
path: root/src/upb_text.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-02-03 16:02:35 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-02-03 16:02:35 -0800
commitf07cd8ff1d2a5079a7ce3cc571b40c9e209175c9 (patch)
treea040c23f951328414d9e0160dc1583716292b989 /src/upb_text.h
parent63daaaca4f750d9c1e88b2b3ca258912d58d4120 (diff)
parent8465e5e65014ac080d62855f8abfd44acdf7beb2 (diff)
Merge branch 'src-refactoring'
Diffstat (limited to 'src/upb_text.h')
-rw-r--r--src/upb_text.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/upb_text.h b/src/upb_text.h
deleted file mode 100644
index d89c9d6..0000000
--- a/src/upb_text.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * upb - a minimalist implementation of protocol buffers.
- *
- * Copyright (c) 2009 Joshua Haberman. See LICENSE for details.
- */
-
-#ifndef UPB_TEXT_H_
-#define UPB_TEXT_H_
-
-#include "upb.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct {
- int indent_depth;
- bool single_line;
-} upb_text_printer;
-
-INLINE void upb_text_printer_init(upb_text_printer *p, bool single_line) {
- p->indent_depth = 0;
- p->single_line = single_line;
-}
-void upb_text_printval(upb_field_type_t type, upb_value p, FILE *file);
-void upb_text_printfield(upb_text_printer *p, upb_strptr name,
- upb_field_type_t valtype, upb_value val, FILE *stream);
-void upb_text_push(upb_text_printer *p, upb_strptr submsg_type,
- FILE *stream);
-void upb_text_pop(upb_text_printer *p, FILE *stream);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* UPB_TEXT_H_ */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback