diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-09-09 20:06:10 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-09-09 20:06:10 +0300 |
commit | bfd53b59d2e62e17e95df3f3d2948d2bb806db71 (patch) | |
tree | fce16bd37b2b752fe1dc4fa47bcd50e0d44a63e9 /src/apk_print.h | |
parent | 4bf13c3d9a58d4f1685401c3569abb40c5649ca3 (diff) | |
download | apk-tools-bfd53b59d2e62e17e95df3f3d2948d2bb806db71.tar.gz apk-tools-bfd53b59d2e62e17e95df3f3d2948d2bb806db71.tar.bz2 apk-tools-bfd53b59d2e62e17e95df3f3d2948d2bb806db71.tar.xz apk-tools-bfd53b59d2e62e17e95df3f3d2948d2bb806db71.zip |
print: minor cleanup to indented writer
Diffstat (limited to 'src/apk_print.h')
-rw-r--r-- | src/apk_print.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/apk_print.h b/src/apk_print.h index a88d873..668aa12 100644 --- a/src/apk_print.h +++ b/src/apk_print.h @@ -23,6 +23,12 @@ const char *apk_error_str(int error); void apk_reset_screen_width(void); int apk_get_screen_width(void); + +struct apk_indent { + int x; + int indent; +}; + int apk_print_indented(struct apk_indent *i, apk_blob_t blob); void apk_print_indented_words(struct apk_indent *i, const char *text); |