1 #ifndef ATALK_SERVER_IPC_H
2 #define ATALK_SERVER_IPC_H
4 #include <atalk/server_child.h>
5 #include <atalk/globals.h>
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 */
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);
17 #endif /* IPC_GETSESSION_LOGIN */