honeyd/evbuffer.h

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

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

Update version, modernize packaging, correct considereable portability
flaws, correct typical german english grammar errors, and worst of all
correct detection of builtin GCC atomic primitives sync_sub_and_fetch
by forcing the detecting function to return the return value which seems
to cause GCC to fail for unknown reasons.

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

mercurial