netatalk 4.4.3
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
server_ipc.h
Go to the documentation of this file.
1#ifndef ATALK_SERVER_IPC_H
2#define ATALK_SERVER_IPC_H
3
4#include <atalk/globals.h>
5#include <atalk/server_child.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
11#define IPC_VOLUMES 3
12#define IPC_LOGINDONE 4
13#define IPC_SESSIONTOKEN 5
14
15 extern int ipc_server_read(server_child_t *children, int fd);
16 extern int ipc_child_write(int fd, uint16_t command, int len, void *token);
17 extern int ipc_child_state(AFPObj *obj, uint16_t state);
18
19#endif /* IPC_GETSESSION_LOGIN */
children
static server_child_t * children
Definition asp_getsess.c:43
globals.h
state
static int state
Definition magics.c:22
obj
static AFPObj obj
Definition netatalk.c:62
server_child.h
ipc_server_read
int ipc_server_read(server_child_t *children, int fd)
Read a IPC message from a child.
Definition server_ipc.c:195
ipc_child_write
int ipc_child_write(int fd, uint16_t command, int len, void *token)
Definition server_ipc.c:315
ipc_child_state
int ipc_child_state(AFPObj *obj, uint16_t state)
Definition server_ipc.c:354
AFPObj
Definition globals.h:158
server_child_t
Definition server_child.h:41