Tevent is an event system based on the talloc memory management library. It is the core event system used in Samba. Tevent has support for many event types, including timers, signals, and the classic file descriptor events. Tevent also provide helpers to deal with asynchronous code providing the tevent_req (tevent tequest) functions.
You can download the latest releases of tevent from the tevent directory on the samba public source archive.
You can download the latest code either via git or rsync.
To fetch via git see the following guide:
Once you have cloned the tree switch to the master branch and cd into the lib/tevent directory.
To fetch via rsync use this command:
rsync -Pavz samba.org::ftp/unpacked/standalone_projects/lib/tevent .