You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Alexander Vdolainen 44f7aba37b Added: ndbuf_free_item manpage; 6 years ago
include Added: ndbuf_free_item() function to free in a proper way e.g. 6 years ago
man Added: ndbuf_free_item manpage; 6 years ago
.gitignore INSTALL now ignored; 6 years ago
AUTHORS Initial one: moving useful code to separate tiny lib; 7 years ago
BUGS Initial one: moving useful code to separate tiny lib; 7 years ago
COPYING License reverted to LGPLv2.1; 6 years ago
ChangeLog Added possibility to use user defined memory ops: 6 years ago
Makefile.am Added: Manpages directory and manpages for: 6 years ago
NEWS NEWS updated; test commit (for sync); 6 years ago
README Initial one: moving useful code to separate tiny lib; 7 years ago
VERSION Version update: new things are added, time to increase version number; 6 years ago
autogen.sh Initial one: moving useful code to separate tiny lib; 7 years ago
configure.ac Added: Manpages directory and manpages for: 6 years ago
libndbuf.pc.in Fixed pkgconfig template file (version variable); 6 years ago
ndbuf.c Added: ndbuf_free_item() function to free in a proper way e.g. 6 years ago

README

libndbuf: Network designed buffer ops library
----------------------------------------------

1. What the shit is that ?
This is a quite small library to manipulate with binary packed buffers
in a normal network manner (i.e. bigendian). It might be useful to
apply for network packet creating/parsing.
Anyway, originally this code was resided in my different other *small*
projects - and i hate copy-paste -- well, that's why it gone to
this quite small library.

2. API
Check out include directory...
btw, might be later i will write manpages, but for now didn't see any
sense for those effort.
Generally speaking - all is quite simple - create ndbuf_t structure fill
it in printf() style, read with sscanf() style, take raw data pointer and ...
send it somewhere whatever bla bla - you get a point.

3. Future plans
Fix bugs (but ... there are no bugs found, since this code was heavly used
already, but ... report me if found).
Write manpages (in my few projects those API is like a part of POSIX -
still cannot remember all).
Maybe will add a new functions (useful ones).

4. Contact
That's simple -
Email/XMPP: alex@vapaa.xyz