diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-02-13 20:08:39 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-02-13 20:08:39 +0000 |
commit | 862668f2ccf94ed4e4720bc6c6c387efa1e23d1d (patch) | |
tree | 8991aa29b764e9345e3150f684f4764ab47021fe | |
parent | 585e6e15c13d31cde63acc157bd622d27df66e36 (diff) |
Add prototype for bufferevent_base_set().
From the libevent SVN repo, by Thorsten Glaser via brad@
-rw-r--r-- | lib/libevent/event.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libevent/event.h b/lib/libevent/event.h index 5791b16c9bf..26a7305273d 100644 --- a/lib/libevent/event.h +++ b/lib/libevent/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.16 2007/02/04 18:59:12 millert Exp $ */ +/* $OpenBSD: event.h,v 1.17 2007/02/13 20:08:38 millert Exp $ */ /* * Copyright (c) 2000-2004 Niels Provos <provos@citi.umich.edu> @@ -243,6 +243,7 @@ struct bufferevent { struct bufferevent *bufferevent_new(int fd, evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg); +int bufferevent_base_set(struct event_base *base, struct bufferevent *bufev); int bufferevent_priority_set(struct bufferevent *bufev, int pri); void bufferevent_free(struct bufferevent *bufev); int bufferevent_write(struct bufferevent *bufev, void *data, size_t size); |