]> arthur.barton.de Git - netatalk.git/blob - include/atalk/server_ipc.h
AFP statistics via dbus IPC
[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 #define IPC_DISCOLDSESSION   0
8 #define IPC_GETSESSION       1
9 #define IPC_STATE            2  /* pass AFP session state */
10 #define IPC_VOLUMES          3  /* pass list of open volumes */
11
12 extern int ipc_server_read(server_child_t *children, int fd);
13 extern int ipc_child_write(int fd, uint16_t command, int len, void *token);
14 extern int ipc_child_state(AFPObj *obj, uint16_t state);
15
16 #endif /* IPC_GETSESSION_LOGIN */