#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
| struct | page |
| A dynamically allocated buffer which keeps track of its reference count. More... | |
Functions | |
| struct page * | page_new_copy (const void *data, size_t size) |
| Creates a new page object, and copies data from the specified buffer. | |
| struct page * | page_new_concat (const struct page *a, const struct page *b) |
| Concatenates two pages to a new page. | |
| void | page_ref (struct page *page) |
| Increases the reference counter. | |
| bool | page_unref (struct page *page) |
| Decreases the reference counter. | |
Definition in file page.h.
| struct page* page_new_copy | ( | const void * | data, | |
| size_t | size | |||
| ) | [read] |
| void page_ref | ( | struct page * | page | ) |
| bool page_unref | ( | struct page * | page | ) |
1.5.9