[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] evbuffer_readln(LF) equivalent in 1.4
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] evbuffer_readln(LF) equivalent in 1.4
- From: Tay Ray Chuan <rctay89@xxxxxxxxx>
- Date: Tue, 6 Nov 2012 22:28:46 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Tue, 06 Nov 2012 23:29:09 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=kuipOHhJJWkmxgsUHb4spRsgrbuljb0CbkMfdnbZhT0=; b=j37FpOFCHEelIKtQ4wytVhltcuQpiY8QyKInhklglEsVotbFDVm8U7z270VDqwLy9E q8KXxH+1jS/vePsE0ARtjHTOEZFy2sqLSvdzcYkgPWWEbGnXq+sm3i4ZmjiOVUohXDI3 qDHtp8XPM6ddonuDdhOHkqaSkgTb3VFHut8J8uVuIOrc9j+G9/Bar5z/EF1zdbKZoQ0S 3Cow9lUOzsrcXix6/oUIwfC+n6b3Zrlfksi9vePmy5doclWJkJJv7QLmEnBvj8zWgJKJ kNyYrzrgJIlyt5hNXlOGXgvYDSCniXFMPv/bRCvjjJIDBbBXzShe/LzehzsBGHP1CKvw 0wIg==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi,
I'm calling evbuffer_readln(..., EVBUFFER_EOL_LF), but I have to
support 1.4 as well. Is there an equivalent invocation?
evbuffer_readline()?
In addition, how do I check for the libevent version? I thought of
_EVENT_VERSION, but it looks like a string, so I can't do a
#if _EVENT_VERSION >= 1.4
...
#endif
straight up, so that's out. (Or could I?)
Thanks.
--
Cheers,
Ray Chuan
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.