aboutsummaryrefslogtreecommitdiffstats
path: root/src/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/page.h')
-rw-r--r--src/page.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/page.h b/src/page.h
index 6bee4996f..a150e3123 100644
--- a/src/page.h
+++ b/src/page.h
@@ -65,6 +65,15 @@ struct page *
page_new_copy(const void *data, size_t size);
/**
+ * Concatenates two pages to a new page.
+ *
+ * @param a the first page
+ * @param b the second page, which is appended
+ */
+struct page *
+page_new_concat(const struct page *a, const struct page *b);
+
+/**
* Increases the reference counter.
*
* @param page the #page object