source: trunk/libtransmission/trevent.h @ 9704

Last change on this file since 9704 was 9704, checked in by charles, 12 years ago

(trunk libT) finally get rid of the last remnants of tr_timer

  • Property svn:keywords set to Date Rev Author Id
File size: 862 bytes
RevLine 
[2829]1/*
[9671]2 * This file Copyright (C) 2007-2009 Mnemosyne LLC
[2829]3 *
4 * This file is licensed by the GPL version 2.  Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
[6795]6 * so that the bulk of its code can remain under the MIT license.
[2829]7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
[2843]9 *
[2846]10 * $Id: trevent.h 9704 2009-12-10 05:52:46Z charles $
[2829]11 */
12
[7151]13#ifndef __TRANSMISSION__
14#error only libtransmission should #include this header.
15#endif
16
[2829]17#ifndef TR_EVENT_H
[7151]18#define TR_EVENT_H
[2829]19
[3457]20#include <stddef.h> /* size_t */
21#include <inttypes.h> /* uint64_t */
[2975]22
[2829]23/**
24**/
25
[7385]26void      tr_eventInit( tr_session * );
[2829]27
[7385]28void      tr_eventClose( tr_session * );
[2829]29
[9704]30tr_bool   tr_amInEventThread( const tr_session * );
[2829]31
[9704]32void      tr_runInEventThread( tr_session *, void func( void* ), void * user_data );
[6811]33
[9704]34struct event_base * tr_eventGetBase( tr_session * );
[3105]35
[2829]36#endif
Note: See TracBrowser for help on using the repository browser.