Skip to content

Commit

Permalink
Add OtVariantBuilder
Browse files Browse the repository at this point in the history
This is similar to GVariantBuilder in that it constructs variant
containers, but it writes it directly to a file descriptor rather
than keep the entier thing in memory. This is useful to create large
variants without using a lot of memory.

Closes: #1309
Approved by: cgwalters
  • Loading branch information
alexlarsson authored and rh-atomic-bot committed Oct 27, 2017
1 parent 74e00d3 commit 72bb1a6
Show file tree
Hide file tree
Showing 4 changed files with 1,283 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile-otutil.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ libotutil_la_SOURCES = \
src/libotutil/ot-unix-utils.h \
src/libotutil/ot-variant-utils.c \
src/libotutil/ot-variant-utils.h \
src/libotutil/ot-variant-builder.c \
src/libotutil/ot-variant-builder.h \
src/libotutil/ot-gio-utils.c \
src/libotutil/ot-gio-utils.h \
src/libotutil/ot-gpg-utils.c \
Expand Down
Loading

0 comments on commit 72bb1a6

Please sign in to comment.