Internal definitions for File Change Events API. More...
Go to the source code of this file.
Data Structures | |
| struct | udp_entry |
| struct | fce_history |
| struct | fce_close_event |
Macros | |
| #define | FCE_MAX_UDP_SOCKS 5 |
| #define | FCE_SOCKET_RETRY_DELAY_S 600 |
| #define | FCE_HISTORY_LEN 10 |
| #define | MAX_COALESCE_TIME_MS 1000 |
| #define | FCE_COALESCE_CREATE (1 << 0) |
| #define | FCE_COALESCE_DELETE (1 << 1) |
| #define | FCE_COALESCE_ALL (FCE_COALESCE_CREATE | FCE_COALESCE_DELETE) |
| #define | PACKET_HDR_LEN (sizeof(struct fce_packet) - FCE_MAX_PATH_LEN) |
Functions | |
| bool | fce_handle_coalescation (int event, const char *path) |
| void | fce_initialize_history (void) |
Internal definitions for File Change Events API.
| #define FCE_COALESCE_ALL (FCE_COALESCE_CREATE | FCE_COALESCE_DELETE) |
| #define FCE_COALESCE_CREATE (1 << 0) |
| #define FCE_COALESCE_DELETE (1 << 1) |
| #define FCE_HISTORY_LEN 10 |
This is used to coalesce events
| #define FCE_MAX_UDP_SOCKS 5 |
Allow a maximum of udp listeners for file change events
| #define FCE_SOCKET_RETRY_DELAY_S 600 |
Pause this time in s after socket was broken
| #define MAX_COALESCE_TIME_MS 1000 |
Events older than this are not coalesced
| #define PACKET_HDR_LEN (sizeof(struct fce_packet) - FCE_MAX_PATH_LEN) |
| bool fce_handle_coalescation | ( | int | event, |
| const char * | path ) |
| void fce_initialize_history | ( | void | ) |