Commit Graph

  • 44f7aba37b Added: ndbuf_free_item manpage; master Alexander Vdolainen 2018-09-18 19:11:03 +0300
  • 68aa01d300 Added: ndbuf_free_item() function to free in a proper way e.g. free allocated stuff via escan function. Alexander Vdolainen 2018-09-17 20:29:03 +0300
  • 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. Alexander Vdolainen 2018-09-17 20:15:25 +0300
  • 822146bf90 Version update: new things are added, time to increase version number; Alexander Vdolainen 2018-09-17 19:19:55 +0300
  • d0723c4a76 Added: Manpages directory and manpages for: ndbuf_new(), ndbuf_new_frombuf(), ndbuf_new_wmops(), ndbuf_new_palloc(), ndbuf_new_free(); Alexander Vdolainen 2018-09-17 18:38:37 +0300
  • 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; Alexander Vdolainen 2018-09-17 16:59:59 +0300
  • 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. Alexander Vdolainen 2018-08-05 03:19:36 +0300
  • 0a9ff172a5 Fixed ret type warning; Alexander Vdolainen 2018-08-05 00:51:22 +0300
  • b6dba50071 NEWS updated; test commit (for sync); Alexander Vdolainen 2018-07-26 17:42:20 +0300
  • 81bfa9eecc Fixed pkgconfig template file (version variable); Alexander Vdolainen 2018-07-26 16:05:46 +0300
  • f60082946c INSTALL now ignored; v0.0.1 Alexander Vdolainen 2018-05-23 18:22:37 +0300
  • bb6d533c75 License reverted to LGPLv2.1; Alexander Vdolainen 2018-05-23 18:16:47 +0300
  • 0d2779e006 Initial one: moving useful code to separate tiny lib; Alexander Vdolainen 2017-11-24 23:54:42 +0200