From 862668f2ccf94ed4e4720bc6c6c387efa1e23d1d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 13 Feb 2007 20:08:39 +0000 Subject: Add prototype for bufferevent_base_set(). From the libevent SVN repo, by Thorsten Glaser via brad@ --- lib/libevent/event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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); -- cgit v1.2.3