Permalink
Browse files

defined the masks

  • Loading branch information...
1 parent 21e7810 commit 466e3b65b5e3ee198ee925d517663adb63050e89 @massemanet committed May 10, 2010
Showing with 26 additions and 0 deletions.
  1. +26 −0 src/inotify.hrl
View
@@ -0,0 +1,26 @@
+%% -*- mode: erlang; erlang-indent-level: 2 -*-
+%%% Created : 10 May 2010 by mats cronqvist <masse@kreditor.se>
+
+%% @doc
+%% inotify masks
+%% @end
+
+
+-define(ALL ,all).
+-define(ACCESS ,access).
+-define(ATTRIB ,attrib).
+-define(CLOSE_WRITE ,close_write).
+-define(CLOSE_NOWRITE ,close_nowrite).
+-define(CLOSE ,close).
+-define(CREATE ,create).
+-define(DELETE ,delete).
+-define(DELETE_SELF ,delete_self).
+-define(MODIFY ,modify).
+-define(MOVE_SELF ,move_self).
+-define(MOVED_FROM ,moved_from).
+-define(MOVED_TO ,moved_to).
+-define(MOVE ,move).
+-define(OPEN ,open).
+-define(DONT_FOLLOW ,dont_follow).
+-define(MASK_ADD ,mask_add).
+-define(ONLYDIR ,onlydir).

0 comments on commit 466e3b6

Please sign in to comment.