diff options
| author | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-09 17:02:45 +0100 | 
|---|---|---|
| committer | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-09 17:02:45 +0100 | 
| commit | b68c90fbf9f4a60e4fc406903e38d20453ba8253 (patch) | |
| tree | 71b6cb69e976e8fc2e316b5a480283bdb9109203 /include | |
| parent | 53ba33ab98208a447a1c4201f958d02a184182a9 (diff) | |
| parent | a480c3510f98c491879d42ff7106287f07d03e2f (diff) | |
| download | ouroboros-b68c90fbf9f4a60e4fc406903e38d20453ba8253.tar.gz ouroboros-b68c90fbf9f4a60e4fc406903e38d20453ba8253.zip  | |
Merged in sandervrijders/ouroboros/be-bitmap (pull request #25)
lib: Add bitmap test
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  | 
