source: trunk/daemon/watch.h @ 10132

Last change on this file since 10132 was 9868, checked in by charles, 13 years ago

happy new year!

  • Property svn:keywords set to Date Rev Author Id
File size: 755 bytes
Line 
1#ifndef DTR_WATCH_H
2#define DTR_WATCH_H
3
4/*
5 * This file Copyright (C) 2009-2010 Mnemosyne LLC
6 *
7 * This file is licensed by the GPL version 2.  Works owned by the
8 * Transmission project are granted a special exemption to clause 2(b)
9 * so that the bulk of its code can remain under the MIT license.
10 * This exemption does not extend to derived works not owned by
11 * the Transmission project.
12 *
13 * $Id: watch.h 9868 2010-01-04 21:00:47Z charles $
14 */
15
16typedef struct dtr_watchdir dtr_watchdir;
17
18typedef void( dtr_watchdir_callback )( tr_session * session, const char * dir, const char * file );
19
20dtr_watchdir* dtr_watchdir_new( tr_session * session, const char * dir, dtr_watchdir_callback cb );
21
22void dtr_watchdir_update( dtr_watchdir * w );
23
24void dtr_watchdir_free( dtr_watchdir * w );
25
26#endif
Note: See TracBrowser for help on using the repository browser.