124 unsigned int flags_num;
149 unsigned int flags_num;
150 unsigned long correlation_id;
152 long long process_id;
154 bool has_process_pidfd;
170 const unsigned int event_num,
177 const unsigned int event_num,
void(* FSW_CEVENT_CALLBACK_V2)(fsw_cevent_v2 const *const events, const unsigned int event_num, void *data)
Definition cevent.h:176
char * fsw_get_event_flag_name(const enum fsw_event_flag flag)
Get the name of an event flag.
Definition cevent.cpp:59
FSW_STATUS fsw_get_event_flag_by_name(const char *name, enum fsw_event_flag *flag)
Get event flag by name.
Definition cevent.cpp:45
fsw_event_flag
Backend-agnostic change flags.
Definition cevent.h:66
@ Renamed
Definition cevent.h:72
@ MovedTo
Definition cevent.h:76
@ Removed
Definition cevent.h:71
@ Updated
Definition cevent.h:70
@ Overflow
Definition cevent.h:81
@ IsSymLink
Definition cevent.h:79
@ OwnerModified
Definition cevent.h:73
@ MovedFrom
Definition cevent.h:75
@ IsDir
Definition cevent.h:78
@ AttributeModified
Definition cevent.h:74
@ Created
Definition cevent.h:69
@ PlatformSpecific
Definition cevent.h:68
@ IsFile
Definition cevent.h:77
@ CloseWrite
Definition cevent.h:82
@ NoOp
Definition cevent.h:67
@ Link
Definition cevent.h:80
fsw_process_id_kind
Type of process identifier associated with an event.
Definition cevent.h:131
@ FSW_PROCESS_ID_PID
Definition cevent.h:133
@ FSW_PROCESS_ID_TID
Definition cevent.h:134
@ FSW_PROCESS_ID_NONE
Definition cevent.h:132
void(* FSW_CEVENT_CALLBACK)(fsw_cevent const *const events, const unsigned int event_num, void *data)
Definition cevent.h:169
Header of the libfswatch library containing common types.
int FSW_STATUS
Status of a library call.
Definition libfswatch_types.h:49