~ubuntu-branches/debian/jessie/gamin/jessie

« back to all changes in this revision

Viewing changes to server/inotify-sub.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2007-03-23 14:43:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070323144349-1inpdk22uaneks9h
Tags: 0.1.8-2
* debian/control: Improve long description. (Closes: #405347)
* debian/patches/14_nfs-fix.patch: Fix gam_server startup for Thunar.
  Thanks to Maximiliano Curia. (Closes: #403247)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* inotify-helper.h - GNOME VFS Monitor using inotify
 
2
 
 
3
   Copyright (C) 2006 John McCutchan
 
4
 
 
5
   The Gnome Library is free software; you can redistribute it and/or
 
6
   modify it under the terms of the GNU Library General Public License as
 
7
   published by the Free Software Foundation; either version 2 of the
 
8
   License, or (at your option) any later version.
 
9
 
 
10
   The Gnome Library is distributed in the hope that it will be useful,
 
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
   Library General Public License for more details.
 
14
 
 
15
   You should have received a copy of the GNU Library General Public
 
16
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
 
17
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
   Boston, MA 02111-1307, USA.
 
19
 
 
20
   Author: John McCutchan <john@johnmccutchan.com>
 
21
*/
 
22
 
 
23
 
 
24
#ifndef __INOTIFY_SUB_H
 
25
#define __INOTIFY_SUB_H
 
26
 
 
27
#include "gam_subscription.h"
 
28
 
 
29
typedef struct {
 
30
        gboolean is_dir;
 
31
        char *pathname;
 
32
        char *dirname;
 
33
        char *filename;
 
34
        guint32 extra_flags;
 
35
        gboolean cancelled;
 
36
        void *usersubdata;
 
37
} ih_sub_t;
 
38
 
 
39
ih_sub_t        *ih_sub_new             (const char *pathname, gboolean is_dir, guint32 flags, void *userdata);
 
40
void             ih_sub_free            (ih_sub_t *sub);
 
41
 
 
42
#endif /* __INOTIFY_SUB_H */