Sha256: 5b1f2bff5861a7959fa93b434fca92eae43cf94f9db38034e06992e7f4d56c70

Contents?: true

Size: 903 Bytes

Versions: 153

Compression:

Stored size: 903 Bytes

Contents

#ifndef fsevent_watch_common_h
#define fsevent_watch_common_h

#include <CoreFoundation/CoreFoundation.h>
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif

#include <CoreServices/CoreServices.h>
#include <unistd.h>
#include "compat.h"
#include "TSICTString.h"

#define COMPILED_AT __DATE__ " " __TIME__

#define FLAG_CHECK(flags, flag) ((flags) & (flag))

#define FPRINTF_FLAG_CHECK(flags, flag, msg, fd)  \
  do {                                            \
    if (FLAG_CHECK(flags, flag)) {                \
      fprintf(fd, "%s", msg "\n"); } }            \
  while (0)

#define FLAG_CHECK_STDERR(flags, flag, msg)       \
  FPRINTF_FLAG_CHECK(flags, flag, msg, stderr)

enum FSEventWatchOutputFormat {
  kFSEventWatchOutputFormatClassic,
  kFSEventWatchOutputFormatNIW,
  kFSEventWatchOutputFormatTNetstring,
  kFSEventWatchOutputFormatOTNetstring
};

#endif /* fsevent_watch_common_h */

Version data entries

153 entries across 61 versions & 4 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.5 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.5 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.4 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.4 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.4 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.3 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.3 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.3 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.2 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.2 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.2 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.1 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.1 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.1 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.0 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.0 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.7.0 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.6.9 vendor/bundle/gems/guard-1.0.3/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classiccms-0.6.9 vendor/bundle/gems/guard-1.0.2/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h