summaryrefslogtreecommitdiffstats
path: root/src/apk_blob.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-06 15:34:33 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-06 15:34:33 +0300
commitced1fa83d6361ebfdc40920d98eb292ca4661b4e (patch)
tree25656c2faa18952680a6a5908799505db8476bb3 /src/apk_blob.h
parent974a00bc5f42d11da1b0f27a4c2d399147a07f10 (diff)
downloadapk-tools-ced1fa83d6361ebfdc40920d98eb292ca4661b4e.tar.bz2
apk-tools-ced1fa83d6361ebfdc40920d98eb292ca4661b4e.tar.xz
state: indent package lists
Diffstat (limited to 'src/apk_blob.h')
-rw-r--r--src/apk_blob.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/apk_blob.h b/src/apk_blob.h
index 398056a..68b8f7c 100644
--- a/src/apk_blob.h
+++ b/src/apk_blob.h
@@ -101,4 +101,12 @@ void apk_blob_pull_csum(apk_blob_t *b, struct apk_checksum *csum);
void apk_blob_pull_base64(apk_blob_t *b, apk_blob_t to);
void apk_blob_pull_hexdump(apk_blob_t *b, apk_blob_t to);
+struct apk_indent {
+ int x;
+ int indent;
+};
+
+void apk_print_indented_words(struct apk_indent *i, const char *text);
+int apk_print_indented(struct apk_indent *i, apk_blob_t blob);
+
#endif