summaryrefslogtreecommitdiff
path: root/src/libinotify/inotify-listhash.h
blob: be956c18bd924004d0e5b42ff962aeb0527eb731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * inotify-listhash.h - a structure to map wd's to client-side watches
 * Copyright © 2005 Ryan Lortie <desrt@desrt.ca>
 *
 *   This library is free software; you can redistribute it and/or
 *   modify it under the terms of version 2.1 of the GNU Lesser General
 *   Public as published by the Free Software Foundation.
 *
 *   This library is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *   Lesser General Public License for more details.
 *
 *   You should have received a copy of the GNU Lesser General Public
 *   License along with this library; if not, write to the Free Software
 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110
 *
 *   $Id: inotify-listhash.h 17 2005-09-15 01:22:30Z ryanl $
 */

#ifndef _libinotify_inotify_listhash_h_
#define _libinotify_inotify_listhash_h_

#include "inotify-handle.h"

GSList *inotify_listhash_get( gint32 wd );
int inotify_listhash_remove( INotifyHandle *inh );
void inotify_listhash_append( INotifyHandle *inh, gint32 wd );
int inotify_listhash_ignore( gint32 wd );
int inotify_listhash_length( gint32 wd );
guint32 inotify_listhash_get_mask( gint32 wd );
void inotify_listhash_initialise( void );
void inotify_listhash_destroy( void );

#endif /* _libinotify_inotify_lasthash_h_ */