diff options
Diffstat (limited to 'lib/libevent/event.h')
-rw-r--r-- | lib/libevent/event.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libevent/event.h b/lib/libevent/event.h index 2b3332f9fc5..f20fd4ecb48 100644 --- a/lib/libevent/event.h +++ b/lib/libevent/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.12 2005/06/18 01:52:22 brad Exp $ */ +/* $OpenBSD: event.h,v 1.13 2006/01/23 20:18:20 brad Exp $ */ /* * Copyright (c) 2000-2004 Niels Provos <provos@citi.umich.edu> @@ -33,6 +33,8 @@ extern "C" { #endif +#include <stdarg.h> + #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> @@ -261,7 +263,8 @@ int evbuffer_add(struct evbuffer *, void *, size_t); int evbuffer_remove(struct evbuffer *, void *, size_t); char *evbuffer_readline(struct evbuffer *); int evbuffer_add_buffer(struct evbuffer *, struct evbuffer *); -int evbuffer_add_printf(struct evbuffer *, char *fmt, ...); +int evbuffer_add_printf(struct evbuffer *, const char *fmt, ...); +int evbuffer_add_vprintf(struct evbuffer *, const char *fmt, va_list ap); void evbuffer_drain(struct evbuffer *, size_t); int evbuffer_write(struct evbuffer *, int); int evbuffer_read(struct evbuffer *, int, int); |