]> arthur.barton.de Git - netatalk.git/blob - include/atalk/server_ipc.h
Writing metadata xattr on directories with sticky bit set, FR#94
[netatalk.git] / include / atalk / server_ipc.h
1 #ifndef ATALK_SERVER_IPC_H
2 #define ATALK_SERVER_IPC_H
3
4 #include <atalk/server_child.h>
5 #include <atalk/globals.h>
6
7 /* Remember to add IPC commands to server_ipc.c:ipc_cmd_str[] */
8 #define IPC_DISCOLDSESSION   0
9 #define IPC_GETSESSION       1
10 #define IPC_STATE            2  /* pass AFP session state */
11 #define IPC_VOLUMES          3  /* pass list of open volumes */
12
13 extern int ipc_server_read(server_child_t *children, int fd);
14 extern int ipc_child_write(int fd, uint16_t command, int len, void *token);
15 extern int ipc_child_state(AFPObj *obj, uint16_t state);
16
17 #endif /* IPC_GETSESSION_LOGIN */