mirror of
https://github.com/transmission/transmission
synced 2024-12-30 19:46:56 +00:00
23 lines
556 B
C
23 lines
556 B
C
/*
|
|
* This file Copyright (C) 2009-2014 Mnemosyne LLC
|
|
*
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef DTR_WATCH_H
|
|
#define DTR_WATCH_H
|
|
|
|
typedef struct dtr_watchdir dtr_watchdir;
|
|
|
|
typedef void (dtr_watchdir_callback)(tr_session * session, const char * dir, const char * file);
|
|
|
|
dtr_watchdir* dtr_watchdir_new (tr_session * session, const char * dir, dtr_watchdir_callback cb);
|
|
|
|
void dtr_watchdir_update (dtr_watchdir * w);
|
|
|
|
void dtr_watchdir_free (dtr_watchdir * w);
|
|
|
|
#endif
|