X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libevent%2Fevbuffer-internal.h;h=e68a59df6e9d813f3d8d83d383291f364f0dd791;hb=a9d021328c3d004445a543c075514b5dc85a2202;hp=7fc8b9147ad1f0c78fee4576c9a6d95575354b53;hpb=9c8a21a5a13808bab520bd257b3d0a6fe16c6b07;p=netatalk.git diff --git a/libevent/evbuffer-internal.h b/libevent/evbuffer-internal.h index 7fc8b914..e68a59df 100644 --- a/libevent/evbuffer-internal.h +++ b/libevent/evbuffer-internal.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2000-2007 Niels Provos - * Copyright (c) 2007-2010 Niels Provos and Nick Mathewson + * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -129,6 +129,8 @@ struct evbuffer { /** True iff this buffer is set up for overlapped IO. */ unsigned is_overlapped : 1; #endif + /** Zero or more EVBUFFER_FLAG_* bits */ + ev_uint32_t flags; /** Used to implement deferred callbacks. */ struct deferred_cb_queue *cb_queue; @@ -270,6 +272,8 @@ int _evbuffer_read_setup_vecs(struct evbuffer *buf, ev_ssize_t howmuch, /** Set the parent bufferevent object for buf to bev */ void evbuffer_set_parent(struct evbuffer *buf, struct bufferevent *bev); +void evbuffer_invoke_callbacks(struct evbuffer *buf); + #ifdef __cplusplus } #endif