source: trunk/libtransmission/blocklist.h @ 5454

Last change on this file since 5454 was 5454, checked in by charles, 14 years ago

blocklist cleanup

File size: 714 bytes
Line 
1/*
2 * This file Copyright (C) 2008 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_BLOCKLIST_H
14#define TR_BLOCKLIST_H
15
16typedef struct tr_blocklist tr_blocklist;
17
18tr_blocklist * tr_blocklistNew( int isEnabled );
19
20void tr_blocklistFree( tr_blocklist * );
21
22
23struct tr_handle;
24struct in_addr;
25
26int tr_peerIsBlocked( const struct tr_handle *,
27                      const struct in_addr   * );
28
29#endif
Note: See TracBrowser for help on using the repository browser.