Motr  M0
bitstring.c File Reference
#include <string.h>
#include "lib/bitstring.h"
#include "lib/arith.h"
#include "lib/memory.h"
Include dependency graph for bitstring.c:

Go to the source code of this file.

Functions

M0_INTERNAL void * m0_bitstring_buf_get (struct m0_bitstring *c)
 
M0_INTERNAL uint32_t m0_bitstring_len_get (const struct m0_bitstring *c)
 
M0_INTERNAL void m0_bitstring_len_set (struct m0_bitstring *c, uint32_t len)
 
M0_INTERNAL struct m0_bitstringm0_bitstring_alloc (const char *name, size_t len)
 
M0_INTERNAL void m0_bitstring_free (struct m0_bitstring *c)
 
M0_INTERNAL void m0_bitstring_copy (struct m0_bitstring *dst, const char *src, size_t count)
 
M0_INTERNAL int m0_bitstring_cmp (const struct m0_bitstring *s1, const struct m0_bitstring *s2)