summaryrefslogtreecommitdiff
path: root/src/apk_print.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-09-09 20:06:10 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-09-09 20:06:10 +0300
commitbfd53b59d2e62e17e95df3f3d2948d2bb806db71 (patch)
treefce16bd37b2b752fe1dc4fa47bcd50e0d44a63e9 /src/apk_print.h
parent4bf13c3d9a58d4f1685401c3569abb40c5649ca3 (diff)
downloadapk-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.h6
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);