Go to the source code of this file.
Macros | |
| #define | IPC_DISCOLDSESSION 0 |
| #define | IPC_GETSESSION 1 |
| #define | IPC_STATE 2 |
| #define | IPC_VOLUMES 3 |
| #define | IPC_LOGINDONE 4 |
| #define | IPC_SESSIONTOKEN 5 |
Functions | |
| int | ipc_server_read (server_child_t *children, int fd) |
| Read a IPC message from a child. | |
| int | ipc_child_write (int fd, uint16_t command, int len, void *token) |
| int | ipc_child_state (AFPObj *obj, uint16_t state) |
| #define IPC_DISCOLDSESSION 0 |
| #define IPC_GETSESSION 1 |
| #define IPC_LOGINDONE 4 |
| #define IPC_SESSIONTOKEN 5 |
pass session token to parent for reconnect lookup
| #define IPC_STATE 2 |
pass AFP session state
| #define IPC_VOLUMES 3 |
pass list of open volumes
|
extern |
|
extern |
|
extern |
Read a IPC message from a child.
This is using an fd with non-blocking IO, so EAGAIN is not an error
| [in,out] | children | pointer to our structure with all childs |
| [in] | fd | IPC socket with child |