Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

ATS binding for libevent

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 CATS
Octocat-spinner-32 DATS
Octocat-spinner-32 SATS
Octocat-spinner-32 TEST
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.markdown
README.markdown

This is a ATS wrapper for the libevent-2.0 library.

The library is best used by cloning from under a parent directory that is used to store ATS libraries. This directory can then be passed to the 'atscc' command line using the '-I' and '-IATS' options to be added to the include path. In the examples below this directory is $ATSCCLIB.

$ cd $ATSCCLIB
$ git clone git://github.com/doublec/ats-libevent libevent
$ cd libevent
$ make
$ cd TEST
$ make

Note that the makefile for the TESTS will build and delete the tests. If they fail to build - the test failed. To actually build the executable to run you can specify the test on the make command line:

$ cd $ATSCCLIB/libevent
$ make http-server
$ make download

More information on the using libevent with ATS can be found in these blog posts:

Comments and suggestions for the wrapper can be made to the author:

Chris Double
chris.double@double.co.nz
http://www.bluishcoder.co.nz
Something went wrong with that request. Please try again.