diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-11 16:54:05 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-11 16:54:05 +0100 |
commit | bf5157839b3fed718ef8a5d1bb20f5290866a9cd (patch) | |
tree | 81034e89ec567fb990793118b9866e6ddb0f9d1e /include | |
parent | f5cf4e478bf7dec70dc22d80de706f82ef4b38f1 (diff) | |
parent | b68c90fbf9f4a60e4fc406903e38d20453ba8253 (diff) | |
download | ouroboros-bf5157839b3fed718ef8a5d1bb20f5290866a9cd.tar.gz ouroboros-bf5157839b3fed718ef8a5d1bb20f5290866a9cd.zip |
Merge remote-tracking branch 'upstream/be' into be-irmd
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/bitmap.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/ouroboros/bitmap.h b/include/ouroboros/bitmap.h index 6296e2e0..c109f3e8 100644 --- a/include/ouroboros/bitmap.h +++ b/include/ouroboros/bitmap.h @@ -1,7 +1,7 @@ /* * Ouroboros - Copyright (C) 2016 * - * RINA bitmap implementation - wraps around bitmap from Linux kernel + * Bitmap implementation * * Sander Vrijders <sander.vrijders@intec.ugent.be> * Francesco Salvestrini <f.salvestrini@nextworks.it> @@ -28,14 +28,14 @@ #include <unistd.h> #include <stdbool.h> -struct rbmp; +struct bmp; -struct rbmp * rbmp_create(size_t bits, ssize_t offset); -int rbmp_destroy(struct rbmp * b); +struct bmp * bmp_create(size_t bits, ssize_t offset); +int bmp_destroy(struct bmp * b); -ssize_t rbmp_allocate(struct rbmp * instance); -int rbmp_release(struct rbmp * instance, - ssize_t id); -bool rbmp_is_id_ok(struct rbmp * b, ssize_t id); +ssize_t bmp_allocate(struct bmp * instance); +int bmp_release(struct bmp * instance, + ssize_t id); +bool bmp_is_id_valid(struct bmp * b, ssize_t id); #endif |