You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ut_SG560D/QSSI.12/external/libevent
quectel 55794fdde8 QCM6490:Alyssa:upload QCM6490 android12 base code.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7
4 years ago
..
WIN32-Code QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
build-aux QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
cmake QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
compat/sys QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
include QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
m4 QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
sample QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
test QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Android.bp QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
CMakeLists.txt QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
ChangeLog QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
ChangeLog-1.4 QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
ChangeLog-2.0 QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
CleanSpec.mk QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Doxyfile QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
LICENSE QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
METADATA QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
MODULE_LICENSE_BSD_LIKE QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Makefile.am QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Makefile.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Makefile.nmake QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
OWNERS QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
README.md QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
aclocal.m4 QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
arc4random.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
autogen.sh QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
buffer.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
buffer_iocp.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent_async.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent_filter.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent_openssl.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent_pair.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent_ratelim.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
bufferevent_sock.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
changelist-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
config.h.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
configure QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
configure.ac QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
defer-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
devpoll.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
doxygen.am QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
epoll.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
epoll_sub.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
epolltable-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evbuffer-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evconfig-private.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evconfig-private.h.cmake QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evconfig-private.h.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evdns.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
event-config.h.cmake QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
event-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
event.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
event_iocp.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
event_rpcgen.py QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
event_tagging.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evmap-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evmap.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evport.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evrpc-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evrpc.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evsignal-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evthread-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evthread.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evthread_pthread.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evthread_win32.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evutil.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evutil_rand.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
evutil_time.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
ht-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
http-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
http.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
iocp-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
ipv6-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
kqueue-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
kqueue.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
libevent.pc.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
libevent_core.pc.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
libevent_extra.pc.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
libevent_openssl.pc.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
libevent_pthreads.pc.in QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
listener.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
log-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
log.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
make-event-config.sed QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
minheap-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
mm-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
openssl-compat.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
poll.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
post_update.sh QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
ratelim-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
select.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
signal.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
strlcpy-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
strlcpy.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
time-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
util-internal.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
whatsnew-2.0.txt QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
whatsnew-2.1.txt QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
win32select.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago

README.md

libevent logo

Appveyor Win32 Build Status Travis Build Status Coverage Status Join the chat at https://gitter.im/libevent/libevent

0. BUILDING AND INSTALLATION (Briefly)

Autoconf

 $ ./configure
 $ make
 $ make verify   # (optional)
 $ sudo make install

CMake (General)

The following Libevent specific CMake variables are as follows (the values being the default).

# Type of the library to build (SHARED or STATIC)
# Default is: SHARED for MSVC, otherwise BOTH
EVENT__LIBRARY_TYPE:STRING=DEFAULT

# Installation directory for CMake files
EVENT_INSTALL_CMAKE_DIR:PATH=lib/cmake/libevent

# Enable running gcov to get a test coverage report (only works with
# GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Debug as well.
EVENT__COVERAGE:BOOL=OFF

# Defines if Libevent should build without the benchmark executables
EVENT__DISABLE_BENCHMARK:BOOL=OFF

# Define if Libevent should build without support for a debug mode
EVENT__DISABLE_DEBUG_MODE:BOOL=OFF

# Define if Libevent should not allow replacing the mm functions
EVENT__DISABLE_MM_REPLACEMENT:BOOL=OFF

# Define if Libevent should build without support for OpenSSL encryption
EVENT__DISABLE_OPENSSL:BOOL=OFF

# Disable the regress tests
EVENT__DISABLE_REGRESS:BOOL=OFF

# Disable sample files
EVENT__DISABLE_SAMPLES:BOOL=OFF

# If tests should be compiled or not
EVENT__DISABLE_TESTS:BOOL=OFF

# Define if Libevent should not be compiled with thread support
EVENT__DISABLE_THREAD_SUPPORT:BOOL=OFF

# Enables verbose debugging
EVENT__ENABLE_VERBOSE_DEBUG:BOOL=OFF

# When cross compiling, forces running a test program that verifies that Kqueue
# works with pipes. Note that this requires you to manually run the test program
# on the the cross compilation target to verify that it works. See CMake
# documentation for try_run for more details
EVENT__FORCE_KQUEUE_CHECK:BOOL=OFF

More variables can be found by running cmake -LAH <sourcedir_path>

CMake (Windows)

Install CMake: https://www.cmake.org

 $ md build && cd build
 $ cmake -G "Visual Studio 10" ..   # Or whatever generator you want to use cmake --help for a list.
 $ start libevent.sln

CMake (Unix)

 $ mkdir build && cd build
 $ cmake ..     # Default to Unix Makefiles.
 $ make
 $ make verify  # (optional)

1. BUILDING AND INSTALLATION (In Depth)

Autoconf

To build Libevent, type

 $ ./configure && make

(If you got Libevent from the git repository, you will first need to run the included "autogen.sh" script in order to generate the configure script.)

You can run the regression tests by running

 $ make verify

Install as root via

 $ make install

Before reporting any problems, please run the regression tests.

To enable low-level tracing, build the library as:

 $ CFLAGS=-DUSE_DEBUG ./configure [...]

Standard configure flags should work. In particular, see:

 --disable-shared          Only build static libraries.
 --prefix                  Install all files relative to this directory.

The configure script also supports the following flags:

 --enable-gcc-warnings     Enable extra compiler checking with GCC.
 --disable-malloc-replacement
                           Don't let applications replace our memory
                           management functions.
 --disable-openssl         Disable support for OpenSSL encryption.
 --disable-thread-support  Don't support multithreaded environments.

CMake (Windows)

(Note that autoconf is currently the most mature and supported build environment for Libevent; the CMake instructions here are new and experimental, though they should be solid. We hope that CMake will still be supported in future versions of Libevent, and will try to make sure that happens.)

First of all install https://www.cmake.org.

To build Libevent using Microsoft Visual studio open the "Visual Studio Command prompt" and type:

$ cd <libevent source dir>
$ mkdir build && cd build
$ cmake -G "Visual Studio 10" ..   # Or whatever generator you want to use cmake --help for a list.
$ start libevent.sln

In the above, the ".." refers to the dir containing the Libevent source code. You can build multiple versions (with different compile time settings) from the same source tree by creating other build directories.

It is highly recommended to build "out of source" when using CMake instead of "in source" like the normal behaviour of autoconf for this reason.

The "NMake Makefiles" CMake generator can be used to build entirely via the command line.

To get a list of settings available for the project you can type:

$ cmake -LH ..

GUI

CMake also provides a GUI that lets you specify the source directory and output (binary) directory that the build should be placed in.

2. USEFUL LINKS:

For the latest released version of Libevent, see the official website at http://libevent.org/ .

There's a pretty good work-in-progress manual up at http://www.wangafu.net/~nickm/libevent-book/ .

For the latest development versions of Libevent, access our Git repository via

$ git clone https://github.com/libevent/libevent.git

You can browse the git repository online at:

https://github.com/libevent/libevent

To report bugs, issues, or ask for new features:

Patches: https://github.com/libevent/libevent/pulls

OK, those are not really patches. You fork, modify, and hit the "Create Pull Request" button. You can still submit normal git patches via the mailing list.

Bugs, Features [RFC], and Issues: https://github.com/libevent/libevent/issues

Or you can do it via the mailing list.

There's also a libevent-users mailing list for talking about Libevent use and development:

http://archives.seul.org/libevent/users/

3. ACKNOWLEDGMENTS

The following people have helped with suggestions, ideas, code or fixing bugs:

  • Samy Al Bahra
  • Antony Antony
  • Jacob Appelbaum
  • Arno Bakker
  • Weston Andros Adamson
  • William Ahern
  • Ivan Andropov
  • Sergey Avseyev
  • Avi Bab
  • Joachim Bauch
  • Andrey Belobrov
  • Gilad Benjamini
  • Stas Bekman
  • Denis Bilenko
  • Julien Blache
  • Kevin Bowling
  • Tomash Brechko
  • Kelly Brock
  • Ralph Castain
  • Adrian Chadd
  • Lawnstein Chan
  • Shuo Chen
  • Ka-Hing Cheung
  • Andrew Cox
  • Paul Croome
  • George Danchev
  • Andrew Danforth
  • Ed Day
  • Christopher Davis
  • Mike Davis
  • Frank Denis
  • Antony Dovgal
  • Mihai Draghicioiu
  • Alexander Drozdov
  • Mark Ellzey
  • Shie Erlich
  • Leonid Evdokimov
  • Juan Pablo Fernandez
  • Christophe Fillot
  • Mike Frysinger
  • Remi Gacogne
  • Artem Germanov
  • Alexander von Gernler
  • Diego Giagio
  • Artur Grabowski
  • Diwaker Gupta
  • Kuldeep Gupta
  • Sebastian Hahn
  • Dave Hart
  • Greg Hazel
  • Nicholas Heath
  • Michael Herf
  • Savg He
  • Mark Heily
  • Maxime Henrion
  • Michael Herf
  • Greg Hewgill
  • Andrew Hochhaus
  • Aaron Hopkins
  • Tani Hosokawa
  • Jamie Iles
  • Xiuqiang Jiang
  • Claudio Jeker
  • Evan Jones
  • Marcin Juszkiewicz
  • George Kadianakis
  • Makoto Kato
  • Phua Keat
  • Azat Khuzhin
  • Alexander Klauer
  • Kevin Ko
  • Brian Koehmstedt
  • Marko Kreen
  • Ondřej Kuzník
  • Valery Kyholodov
  • Ross Lagerwall
  • Scott Lamb
  • Christopher Layne
  • Adam Langley
  • Graham Leggett
  • Volker Lendecke
  • Philip Lewis
  • Zhou Li
  • David Libenzi
  • Yan Lin
  • Moshe Litvin
  • Simon Liu
  • Mitchell Livingston
  • Hagne Mahre
  • Lubomir Marinov
  • Abilio Marques
  • Nicolas Martyanoff
  • Abel Mathew
  • Nick Mathewson
  • James Mansion
  • Nicholas Marriott
  • Andrey Matveev
  • Caitlin Mercer
  • Dagobert Michelsen
  • Andrea Montefusco
  • Mansour Moufid
  • Mina Naguib
  • Felix Nawothnig
  • Trond Norbye
  • Linus Nordberg
  • Richard Nyberg
  • Jon Oberheide
  • John Ohl
  • Phil Oleson
  • Alexey Ozeritsky
  • Dave Pacheco
  • Derrick Pallas
  • Tassilo von Parseval
  • Catalin Patulea
  • Patrick Pelletier
  • Simon Perreault
  • Dan Petro
  • Pierre Phaneuf
  • Amarin Phaosawasdi
  • Ryan Phillips
  • Dimitre Piskyulev
  • Pavel Plesov
  • Jon Poland
  • Roman Puls
  • Nate R
  • Robert Ransom
  • Balint Reczey
  • Bert JW Regeer
  • Nate Rosenblum
  • Peter Rosin
  • Maseeb Abdul Qadir
  • Wang Qin
  • Alex S
  • Gyepi Sam
  • Hanna Schroeter
  • Ralf Schmitt
  • Mike Smellie
  • Steve Snyder
  • Nir Soffer
  • Dug Song
  • Dongsheng Song
  • Hannes Sowa
  • Joakim Soderberg
  • Joseph Spadavecchia
  • Kevin Springborn
  • Harlan Stenn
  • Andrew Sweeney
  • Ferenc Szalai
  • Brodie Thiesfield
  • Jason Toffaletti
  • Brian Utterback
  • Gisle Vanem
  • Bas Verhoeven
  • Constantine Verutin
  • Colin Watt
  • Zack Weinberg
  • Jardel Weyrich
  • Jay R. Wren
  • Zack Weinberg
  • Mobai Zhang
  • Alejo
  • Alex
  • Taral
  • propanbutan
  • masksqwe
  • mmadia
  • yangacer
  • Andrey Skriabin
  • basavesh.as
  • billsegall
  • Bill Vaughan
  • Christopher Wiley
  • David Paschich
  • Ed Schouten
  • Eduardo Panisset
  • Jan Heylen
  • jer-gentoo
  • Joakim Söderberg
  • kirillDanshin
  • lzmths
  • Marcus Sundberg
  • Mark Mentovai
  • Mattes D
  • Matyas Dolak
  • Neeraj Badlani
  • Nick Mathewson
  • Rainer Keller
  • Seungmo Koo
  • Thomas Bernard
  • Xiao Bao Clark
  • zeliard
  • Zonr Chang
  • Kurt Roeckx
  • Seven
  • Simone Basso
  • Vlad Shcherban
  • Tim Hentenaar
  • Breaker
  • johnsonlee
  • Philip Prindeville
  • Vis Virial
  • Andreas Gustafsson
  • Andrey Okoshkin
  • an-tao
  • baixiangcpp
  • Bernard Spil
  • Bogdan Harjoc
  • Carlo Marcelo Arenas Belón
  • David Benjamin
  • David Disseldorp
  • Dmitry Alimov
  • Dominic Chen
  • dpayne
  • ejurgensen
  • Fredrik Strupe
  • Gonçalo Ribeiro
  • James Synge
  • Jan Beich
  • Jesse Fang
  • Jiri Luznicky
  • José Luis Millán
  • Kiyoshi Aman
  • Leo Zhang
  • lightningkay
  • Luke Dashjr
  • Marcin Szewczyk
  • Maximilian Brunner
  • Maya Rashish
  • Murat Demirten
  • Nathan French
  • Nikolay Edigaryev
  • Philip Herron
  • Redfoxmoon
  • stenn
  • SuckShit
  • The Gitter Badger
  • tim-le
  • Vincent JARDIN
  • Xiang Zhang
  • Xiaozhou Liu
  • yongqing.jiao
  • Enji Cooper
  • linxiaohui
  • Seong-Joong Kim
  • Tobias Stoeckmann
  • Yury Korzhetsky
  • zhuizhuhaomeng
  • Pierce Lopez
  • yuangongji
  • Keith Smiley
  • jeremyerb
  • Fabrice Fontaine
  • wenyg
  • Aleksandr-Melnikov
  • ayuseleznev
  • chenguolong
  • Dimo Markov
  • dota17
  • fanquake
  • Jan Kasiak
  • Kamil Rytarowski
  • Mario Emmenlauer
  • Michael Davidsaver
  • mohuang
  • Nick Grifka
  • Nicolas J. Bouliane
  • Paul Osborne
  • Philip Homburg
  • Wataru Ashihara
  • William A Rowe Jr
  • yangyongsheng

If we have forgotten your name, please contact us.