X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=libevent%2Fevbuffer-internal.h;h=e68a59df6e9d813f3d8d83d383291f364f0dd791;hp=7fc8b9147ad1f0c78fee4576c9a6d95575354b53;hb=3a84db87064922ad10ac10cc1d6833380e575995;hpb=cdb7047fb6897c1ad8b4ac264001d44154bf144d 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