| * Returns true if built-in file system monitor daemon is defined |
| int fsmonitor_ipc__is_supported(void); |
| * Returns the pathname to the IPC named pipe or Unix domain socket |
| * where a `git-fsmonitor--daemon` process will listen. This is a |
| * Returns NULL if the daemon is not supported on this platform. |
| const char *fsmonitor_ipc__get_path(struct repository *r); |
| * Try to determine whether there is a `git-fsmonitor--daemon` process |
| * listening on the IPC pipe/socket. |
| enum ipc_active_state fsmonitor_ipc__get_state(void); |
| * Connect to a `git-fsmonitor--daemon` process via simple-ipc |
| * and ask for the set of changed files since the given token. |
| * Spawn a daemon process in the background if necessary. |
| * Returns -1 on error; 0 on success. |
| int fsmonitor_ipc__send_query(const char *since_token, |
| * Connect to a `git-fsmonitor--daemon` process via simple-ipc and |
| * send a command verb. If no daemon is available, we DO NOT try to |
| * Returns -1 on error; 0 on success. |
| int fsmonitor_ipc__send_command(const char *command, |
| #endif /* FSMONITOR_IPC_H */ |