libresman

diff src/resman_impl.h @ 24:ce04fa12afdd

win32 file monitoring done (at last)
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 13 Feb 2014 21:30:05 +0200
parents f8e5a1491275
children 6b9974a8bdae
line diff
     1.1 --- a/src/resman_impl.h	Thu Feb 13 13:17:07 2014 +0200
     1.2 +++ b/src/resman_impl.h	Thu Feb 13 21:30:05 2014 +0200
     1.3 @@ -28,7 +28,6 @@
     1.4  
     1.5  	/* file change monitoring */
     1.6  #ifdef WIN32
     1.7 -	HANDLE nhandle;
     1.8  	char *watch_path;
     1.9  #endif
    1.10  #ifdef __linux__
    1.11 @@ -58,8 +57,8 @@
    1.12  	struct rbtree *modset;
    1.13  #endif
    1.14  #ifdef WIN32
    1.15 -	struct rbtree *watchdirs;
    1.16 -	HANDLE *watch_handles;	/* dynamic array of all the watch handles */
    1.17 +	struct rbtree *watchdirs, *wdirbyev;
    1.18 +	HANDLE *watch_handles;	/* dynamic array of all the watched directory handles */
    1.19  #endif
    1.20  };
    1.21