6429f8b102
Changelog updates:
2025-10-28 04:11:56 +02:00
546667e837
ndbuf_setflags manual has been added;
2025-10-28 04:07:05 +02:00
1d37a8fbba
ndbuf_rdata manuals has been added
2025-10-28 03:42:57 +02:00
3b5e72391f
ndbuf_length family manual has been added;
2025-10-28 03:29:36 +02:00
c989ec05db
typo fixed
2025-10-28 03:21:35 +02:00
1ff36de125
ndbuf_print family manual has been added
2025-10-28 03:16:17 +02:00
067cb2df5e
cosmetic: fix visual grouping of the functions;
2025-10-28 02:22:31 +02:00
39ac80efda
ndbuf_escan family manpage has been added
2025-10-28 02:12:06 +02:00
b5d07964dd
Minor fix: Library name section has been added
2025-10-28 02:06:51 +02:00
07ea3de219
ndbuf_write_raw_head manual added;
2025-10-28 01:09:04 +02:00
9332a57be2
ndbuf_write_raw manual page has been added;
2025-10-10 00:42:28 +03:00
1f684819a4
ndbuf_read_raw refined
2025-10-10 00:00:14 +03:00
b1d0950b71
ndbuf_new refined;
2025-10-09 23:45:41 +03:00
6eea614d6c
README refined
2025-10-09 23:23:03 +03:00
81756b45dd
ndbuf_read_* man pages has been added;
2025-10-09 23:05:00 +03:00
Alexander Vdolainen
44f7aba37b
Added: ndbuf_free_item manpage;
2018-09-18 19:11:03 +03:00
Alexander Vdolainen
68aa01d300
Added: ndbuf_free_item() function to free in a proper way e.g.
...
free allocated stuff via escan function.
2018-09-17 20:29:03 +03:00
Alexander Vdolainen
fb41052802
Added: new flag NDBUF_MOLS - if applied it will use allocless/memcpyless
...
escan e.g. just setup pointers to appropriate values within a raw
buffer memory piece.
2018-09-17 20:15:25 +03:00
Alexander Vdolainen
822146bf90
Version update: new things are added, time to increase version number;
2018-09-17 19:19:55 +03:00
Alexander Vdolainen
d0723c4a76
Added: Manpages directory and manpages for:
...
ndbuf_new(), ndbuf_new_frombuf(), ndbuf_new_wmops(),
ndbuf_new_palloc(), ndbuf_new_free();
2018-09-17 18:38:37 +03:00
Alexander Vdolainen
6451c66518
Added: NDBUF_RORB flag is a read-only aware flag. Set this to avoid
...
writes to read-only buffers. E.g. use
ndbuf_setflags (b, NDBUF_RORB);
Fixes: More checks for non-reallocatable buffer are added;
2018-09-17 16:59:59 +03:00
baa1574746
Added possibility to use user defined memory ops:
...
Now u can create a special ndbuf with your custom memory operations,
this is useful to keep ndbuf in a special mapped areas for a:
- keep it secure (example lock pages to avoid your info going to swap)
- using your own custom optimized allocator for your own block sizes
Function: ndbuf_t *ndbuf_new_wmops(const struct ndbuf_memops *, const size_t);
Args:
1. Pointer to yout ops:
struct ndbuf_memops {
void *(*alloc)(size_t);
uint32_t (*zero)(void *, size_t);
void (*free)(void *ptr);
};
2. Size of chunk to grow buffer. if <= default value will be set.
2018-08-05 03:19:36 +03:00
0a9ff172a5
Fixed ret type warning;
2018-08-05 00:51:22 +03:00
Alexander Vdolainen
b6dba50071
NEWS updated; test commit (for sync);
2018-07-26 17:42:20 +03:00
Alexander Vdolainen
81bfa9eecc
Fixed pkgconfig template file (version variable);
2018-07-26 16:05:46 +03:00
Alexander Vdolainen
f60082946c
INSTALL now ignored;
v0.0.1
2018-05-23 18:22:37 +03:00
Alexander Vdolainen
bb6d533c75
License reverted to LGPLv2.1;
2018-05-23 18:16:47 +03:00
0d2779e006
Initial one: moving useful code to separate tiny lib;
2017-11-24 23:54:42 +02:00