Archived
1
0
Fork 0

inotify-map: inotify_map_get_path: return a list of struct watch* instead of char **

This commit is contained in:
Henrik Hautakoski 2011-02-20 10:05:06 +01:00
parent 658bc8b9ad
commit ab91625700
4 changed files with 29 additions and 33 deletions

View file

@ -11,6 +11,9 @@
#ifndef __INOTIFY_MAP_H
#define __INOTIFY_MAP_H
#include "list.h"
#include "inotify-watch.h"
void inotify_map(int wd, const char *path);
int inotify_unmap_wd(int wd);
@ -21,7 +24,7 @@ void inotify_unmap_all();
int inotify_map_get_wd(const char *path);
char** inotify_map_get_path(int wd);
struct list* inotify_map_get_path(int wd);
int inotify_map_isempty();