]> arthur.barton.de Git - netatalk.git/blobdiff - libevent/evbuffer-internal.h
Writing metadata xattr on directories with sticky bit set, FR#94
[netatalk.git] / libevent / evbuffer-internal.h
index 7fc8b9147ad1f0c78fee4576c9a6d95575354b53..e68a59df6e9d813f3d8d83d383291f364f0dd791 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
- * 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