on eaaefcf help sign in
63 lines 2.1 kB history raw
1#include <config.h>
3struct watch;
5struct pathName {
6 const UInt8 *pathBytes;
7 size_t pathLen;
8};
10int createWatch
11 ( struct pathName* folders
12 , int n /* number of entries in "folders" */
13 , UInt32 createFlags
14 , UInt64 since
15 , double latency
16 , int* fd
17 , void** wp
18 );
20void destroyWatch(struct watch* w);
22/******************************************************************************
23 * Create Flags
24 *****************************************************************************/
26UInt32 FSEventStreamCreateFlagNoDefer ();
27UInt32 FSEventStreamCreateFlagWatchRoot ();
28UInt32 FSEventStreamCreateFlagFileEvents ();
29UInt32 FSEventStreamCreateFlagIgnoreSelf ();
30#if HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFULLHISTORY
31UInt32 FSEventStreamCreateFlagFullHistory;
32#endif
34/******************************************************************************
35 * Event Flags
36 *****************************************************************************/
38UInt32 FSEventStreamEventFlagEventIdsWrapped ();
39UInt32 FSEventStreamEventFlagMustScanSubDirs ();
40UInt32 FSEventStreamEventFlagKernelDropped ();
41UInt32 FSEventStreamEventFlagUserDropped ();
42UInt32 FSEventStreamEventFlagHistoryDone ();
43UInt32 FSEventStreamEventFlagRootChanged ();
44UInt32 FSEventStreamEventFlagMount ();
45UInt32 FSEventStreamEventFlagUnmount ();
46UInt32 FSEventStreamEventFlagItemChangeOwner ();
47UInt32 FSEventStreamEventFlagItemInodeMetaMod ();
48UInt32 FSEventStreamEventFlagItemFinderInfoMod ();
49UInt32 FSEventStreamEventFlagItemXattrMod ();
50UInt32 FSEventStreamEventFlagItemCreated ();
51UInt32 FSEventStreamEventFlagItemRemoved ();
52UInt32 FSEventStreamEventFlagItemRenamed ();
53UInt32 FSEventStreamEventFlagItemModified ();
54#if HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMCLONED
55UInt32 FSEventStreamEventFlagItemCloned ();
56#endif
57UInt32 FSEventStreamEventFlagItemIsDir ();
58UInt32 FSEventStreamEventFlagItemIsFile ();
59UInt32 FSEventStreamEventFlagItemIsSymlink ();
60#if HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMISHARDLINK
61UInt32 FSEventStreamEventFlagItemIsHardlink ();
62#endif
63UInt32 FSEventStreamEventFlagItemIsLastHardlink ();