[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Deprecated functions and their replacements
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] Deprecated functions and their replacements
- From: Grega Kres <gregakres@xxxxxxxxx>
- Date: Wed, 27 Mar 2013 10:45:08 +0000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 27 Mar 2013 06:45:12 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=9ebx1s0zScXndxEek3uaYkqPDIHIRORMeb/wtY88t30=; b=ffNfyE/mp4IVtGzDZ5dXi8+UdHCU16T26ZwSSuVIoBEg09p84RuhziyGRTDSC3vkud TmnBZEpbrqpA10cNvR6o+PHImbWvfTo2DhzhObUrb1yfR0V+VZgQXnX/AV5WgypGRCoh 5o0mm1TrI3nvX2+62y4SSF6IdygFwns574bcIa8vEC7jVjBjNuamEdv6WTgeFdBht0jU ejLFHvaU8uFwDQHiBns5mmnNzDnxEUR4NOFZbs0Impx9vffbNi7scv6OmZugGvlfDT4J 7O+aqCxmmZrG/g/vuaduyv+BYdxPDwmEAV39tOSi1Ea/fjwbqxGp9lzCJxPUfAbrdaZd Ilnw==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hello,
just a few quick questions about some deprecated functions. According
to this list: http://www.wangafu.net/~nickm/libevent-2.1/doxygen/html/deprecated.html
event_init is deprecated and event_base_new should be used. That's OK.
Another one is evhttp_connection_new which is on the list as well, as
you can't specify an event base with it. But what is the replacement
for that one? I could use evhttp_connection_set_base, but that one is
marked as deprecated as well, albeit with an interesting "comment"
attached.
So is there a way around evhttp_connection_new and
evhttp_connection_set_base, or should I keep using them for now?
BTW, I'm using 2.0.21.
Thanks
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.