1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00
transmission/daemon/watch.h

24 lines
556 B
C
Raw Normal View History

/*
* 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