Last change
on this file since 2843 was
2843,
checked in by charles, 15 years ago
|
update version.sh to exclude third-party. add $Id:$ to the new files s.t. version.sh will find them.
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com> |
---|
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) |
---|
6 | * so that the bulk of its code can remain under the MIT license. |
---|
7 | * This exemption does not extend to derived works not owned by |
---|
8 | * the Transmission project. |
---|
9 | * |
---|
10 | * $Id: |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef TR_EVENT_H |
---|
14 | |
---|
15 | /** |
---|
16 | **/ |
---|
17 | |
---|
18 | extern void tr_eventInit( struct tr_handle_s * tr_handle ); |
---|
19 | |
---|
20 | extern void tr_eventClose( struct tr_handle_s * tr_handle ); |
---|
21 | |
---|
22 | /** |
---|
23 | **/ |
---|
24 | |
---|
25 | struct event; |
---|
26 | enum evhttp_cmd_type; |
---|
27 | struct evhttp_request; |
---|
28 | struct evhttp_connection; |
---|
29 | |
---|
30 | void tr_event_add( struct tr_handle_s * tr_handle, |
---|
31 | struct event * event, |
---|
32 | struct timeval * interval ); |
---|
33 | |
---|
34 | void tr_event_del( struct tr_handle_s * tr_handle, |
---|
35 | struct event * event ); |
---|
36 | |
---|
37 | void tr_evhttp_make_request (struct tr_handle_s * tr_handle, |
---|
38 | struct evhttp_connection * evcon, |
---|
39 | struct evhttp_request * req, |
---|
40 | enum evhttp_cmd_type type, |
---|
41 | const char * uri); |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.