Ignore:
Timestamp:
Nov 1, 2011, 9:29:51 PM (10 years ago)
Author:
katerina
Message:

Patch for ticket #265 (inotify). Handling of added subdirectories and file list rescan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_inotify.h

    r372 r373  
    3232
    3333int sh_inotify_add_watch(char * filename, sh_watches * watches, int  * errnum,
    34                          int class, unsigned long check_mask, int type);
     34                         int class, unsigned long check_mask, int type, int rdepth);
    3535
    36 int sh_inotify_add_watch_later(char * filename, sh_watches * watches, int  * errnum,
    37                                int class, unsigned long check_mask, int type);
     36int sh_inotify_add_watch_later(const char * filename, sh_watches * watches,
     37                               int  * errnum,
     38                               int class, unsigned long check_mask,
     39                               int type, int rdepth);
    3840
    39 char * sh_inotify_pop_dormant(sh_watches * watches, int * class, unsigned long * check_mask, int * type);
     41char * sh_inotify_pop_dormant(sh_watches * watches, int * class,
     42                              unsigned long * check_mask, int * type, int * rdepth);
    4043
    4144void sh_inotify_purge_dormant(sh_watches * watches);
     
    4447
    4548char * sh_inotify_search_item(sh_watches * watches, int watch,
    46                               int * class, unsigned long * check_mask, int * type);
     49                              int * class, unsigned long * check_mask,
     50                              int * type, int * rdepth);
    4751ssize_t sh_inotify_read(char * buffer, size_t count);
    4852ssize_t sh_inotify_read_timeout(char * buffer, size_t count, int timeout);
Note: See TracChangeset for help on using the changeset viewer.