flypack: primitives for packing data on the fly. More...
#include <nm_core_interface.h>
Go to the source code of this file.
Data Structures | |
| struct | flypack_data_s |
Macros | |
| #define | FLYPACK_CHUNK_SIZE 16 |
Functions | |
| static void | flypack_traversal (const void *_content, struct nm_data_op_s *p_op) __attribute__((unused)) |
| NM_DATA_TYPE (flypack, struct flypack_data_s, &flypack_ops) | |
| static nm_len_t | flypack_chunk_size (void) |
| static void | flypack_import (char *p_flypack_buffer, const char *p_buf, nm_len_t len) |
| static void | flypack_export (const char *p_flypack_buffer, char *p_buf, nm_len_t len) |
Variables | |
| static const struct nm_data_ops_s | flypack_ops |
Detailed Description
flypack: primitives for packing data on the fly.
Definition in file nm_flypack.h.
Macro Definition Documentation
◆ FLYPACK_CHUNK_SIZE
| #define FLYPACK_CHUNK_SIZE 16 |
Definition at line 22 of file nm_flypack.h.
Function Documentation
◆ flypack_chunk_size()
|
static |
Definition at line 39 of file nm_flypack.h.
References FLYPACK_CHUNK_SIZE.
Referenced by flypack_export(), flypack_import(), and flypack_traversal().
◆ flypack_export()
|
inlinestatic |
Definition at line 93 of file nm_flypack.h.
References flypack_chunk_size(), and len.

◆ flypack_import()
|
inlinestatic |
Definition at line 78 of file nm_flypack.h.
References flypack_chunk_size(), and len.

◆ flypack_traversal()
|
static |
Definition at line 58 of file nm_flypack.h.
References flypack_data_s::buf, flypack_chunk_size(), flypack_data_s::len, len, nm_data_op_apply(), NM_DATA_OP_APPLY_LOOP, and p_op.

◆ NM_DATA_TYPE()
| NM_DATA_TYPE | ( | flypack | , |
| struct flypack_data_s | , | ||
| & | flypack_ops | ||
| ) |
Variable Documentation
◆ flypack_ops
|
static |
Definition at line 32 of file nm_flypack.h.