honeyd/evbuffer.h

Tue, 28 Aug 2012 18:35:40 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:35:40 +0200
changeset 575
6e491d7671a4
permissions
-rw-r--r--

Update version, modernize packaging, accommodate libevent version 2 opaque
evbuffer datatype, port Linux style flock(2) to SVR4, include correct
non BSD and non SVR4 headers in DNS and resolving logic, correctly
include a arc4random(3) implementation for platforms lacking it,
conditionally implement the nonstandard MIN(a,b) macro, and use
parallel make for faster SMP and multicore builds.

michael@574 1 struct evbuffer {
michael@574 2 u_char *buffer;
michael@574 3 u_char *orig_buffer;
michael@574 4
michael@574 5 size_t misalign;
michael@574 6 size_t totallen;
michael@574 7 size_t off;
michael@574 8
michael@574 9 void (*cb)(struct evbuffer *, size_t, size_t, void *);
michael@574 10 void *cbarg;
michael@574 11 };

mercurial