honeyd/evbuffer.h

Thu, 04 Oct 2012 20:04:22 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:04:22 +0200
changeset 710
1e46ce84435a
permissions
-rw-r--r--

Correct very nasty code segment linkage problem when building perl DSO.
This problem leads to segfaults in libpixman called by RRDs::Simple, as
diagnosed by gdb(1) indicating 'print var... cannot access memory at
address' or something similar.

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