diff options
Diffstat (limited to 'include/event2/buffer_compat.h')
-rw-r--r-- | include/event2/buffer_compat.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/event2/buffer_compat.h b/include/event2/buffer_compat.h index 24f828c..a713ee3 100644 --- a/include/event2/buffer_compat.h +++ b/include/event2/buffer_compat.h @@ -24,10 +24,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef EVENT2_BUFFER_COMPAT_H_INCLUDED_ -#define EVENT2_BUFFER_COMPAT_H_INCLUDED_ - -#include <event2/visibility.h> +#ifndef _EVENT2_BUFFER_COMPAT_H_ +#define _EVENT2_BUFFER_COMPAT_H_ /** @file event2/buffer_compat.h @@ -37,7 +35,7 @@ /** - Obsolete alias for evbuffer_readln(buffer, NULL, EVBUFFER_EOL_ANY). + Obsolete alias for evbuffer_readln(buffer, NULL, EOL_STYLE_ANY). @deprecated This function is deprecated because its behavior is not correct for almost any protocol, and also because it's wholly subsumed by @@ -47,7 +45,6 @@ @return pointer to a single line, or NULL if an error occurred */ -EVENT2_EXPORT_SYMBOL char *evbuffer_readline(struct evbuffer *buffer); /** Type definition for a callback that is invoked whenever data is added or @@ -91,7 +88,6 @@ typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_ or NULL to remove all callbacks. @param cbarg an argument to be provided to the callback function */ -EVENT2_EXPORT_SYMBOL void evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg); @@ -103,7 +99,6 @@ void evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg); @param len the length of the search string @return a pointer to the beginning of the search string, or NULL if the search failed. */ -EVENT2_EXPORT_SYMBOL unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); /** deprecated in favor of calling the functions directly */ |