diff options
author | 2007-02-13 20:08:38 +0000 | |
---|---|---|
committer | 2007-02-13 20:08:38 +0000 | |
commit | 341b8cdb5968d13c9b0ed2049a226d7f41bdebe7 (patch) | |
tree | b19f920103ac47f0e3b3f55c7aaedb5a82504d2d | |
parent | Remove a.out nlist support (COFF nlist is kept in case kernel has COMPAT_OSF1) (diff) | |
download | wireguard-openbsd-341b8cdb5968d13c9b0ed2049a226d7f41bdebe7.tar.xz wireguard-openbsd-341b8cdb5968d13c9b0ed2049a226d7f41bdebe7.zip |
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); |