17#define FCE_PACKET_VERSION 2
22#define FCE_FILE_MODIFY 1
23#define FCE_FILE_DELETE 2
24#define FCE_DIR_DELETE 3
25#define FCE_FILE_CREATE 4
26#define FCE_DIR_CREATE 5
27#define FCE_FILE_MOVE 6
32#define FCE_FIRST_EVENT FCE_FILE_MODIFY
33#define FCE_LAST_EVENT FCE_LOGOUT
39#define FCE_CONN_START 42
40#define FCE_CONN_BROKEN 99
44#define FCE_PACKET_MAGIC "at_fcapi"
47#define FCE_EV_INFO_PID (1 << 0)
48#define FCE_EV_INFO_USER (1 << 1)
49#define FCE_EV_INFO_SRCPATH (1 << 2)
119 unsigned char fcep_version;
120 unsigned char fcep_options;
121 unsigned char fcep_event;
122 uint32_t fcep_event_id;
124 uint16_t fcep_userlen;
125 char fcep_user[MAXPATHLEN];
126 uint16_t fcep_pathlen1;
127 char fcep_path1[MAXPATHLEN];
128 uint16_t fcep_pathlen2;
129 char fcep_path2[MAXPATHLEN];
132typedef uint32_t fce_ev_t;
139 const char *oldpath);
147#define FCE_DEFAULT_PORT 12250
148#define FCE_DEFAULT_PORT_STRING "12250"
static struct sockaddr_at target
Definition aecho.c:58
int fce_register(const AFPObj *obj, fce_ev_t event, const char *path, const char *oldpath)
Definition fce_api.c:616
int fce_set_events(const char *events)
Definition fce_api.c:749
int fce_add_udp_socket(const char *target)
Extern connect to afpd parameter.
Definition fce_api.c:734
void fce_pending_events(const AFPObj *obj)
Definition fce_api.c:721
int fce_set_coalesce(const char *opt)
Set event coalescation to reduce number of events sent over UDP.
Definition fce_util.c:172
static AFPObj obj
Definition netatalk.c:69
Definition include/atalk/directory.h:123