#include "lib/arith.h"
#include "lib/memory.h"
#include "lib/errno.h"
#include "lib/misc.h"
#include "lib/buf.h"
#include "lib/trace.h"
Go to the source code of this file.
|
M0_INTERNAL void | m0_buf_init (struct m0_buf *buf, void *data, uint32_t nob) |
|
M0_INTERNAL int | m0_buf_alloc (struct m0_buf *buf, size_t size) |
|
M0_INTERNAL void | m0_buf_free (struct m0_buf *buf) |
|
M0_INTERNAL int | m0_buf_new_aligned (struct m0_buf *buf, const void *data, uint32_t nob, unsigned shift) |
|
M0_INTERNAL int | m0_buf_cmp (const struct m0_buf *x, const struct m0_buf *y) |
|
M0_INTERNAL bool | m0_buf_eq (const struct m0_buf *x, const struct m0_buf *y) |
|
M0_INTERNAL void | m0_buf_memcpy (struct m0_buf *dst, const struct m0_buf *src) |
|
M0_INTERNAL int | m0_buf_copy (struct m0_buf *dest, const struct m0_buf *src) |
|
M0_INTERNAL int | m0_buf_copy_aligned (struct m0_buf *dst, const struct m0_buf *src, unsigned shift) |
|
M0_INTERNAL bool | m0_buf_is_set (const struct m0_buf *buf) |
|
M0_INTERNAL bool | m0_buf_streq (const struct m0_buf *buf, const char *str) |
|
M0_INTERNAL char * | m0_buf_strdup (const struct m0_buf *buf) |
|
M0_INTERNAL int | m0_bufs_from_strings (struct m0_bufs *dest, const char **src) |
|
M0_INTERNAL int | m0_bufs_to_strings (const char ***dest, const struct m0_bufs *src) |
|
M0_INTERNAL bool | m0_bufs_streq (const struct m0_bufs *bufs, const char **strs) |
|
M0_INTERNAL void | m0_bufs_free (struct m0_bufs *bufs) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_LIB |
Definition at line 29 of file buf.c.