add interface for inotify API
Merge pull request #200 from hwhw/master

add interface for inotify API