Go to the source code of this file.
◆ IPC_DISCOLDSESSION
#define IPC_DISCOLDSESSION 0 |
◆ IPC_GETSESSION
◆ IPC_LOGINDONE
◆ IPC_STATE
◆ IPC_VOLUMES
#define IPC_VOLUMES 3 /* pass list of open volumes */ |
◆ ipc_child_state()
int ipc_child_state |
( |
AFPObj * | obj, |
|
|
uint16_t | state ) |
|
extern |
◆ ipc_child_write()
int ipc_child_write |
( |
int | fd, |
|
|
uint16_t | command, |
|
|
int | len, |
|
|
void * | token ) |
|
extern |
◆ ipc_server_read()
Read a IPC message from a child
This is using an fd with non-blocking IO, so EAGAIN is not an error
- Parameters
-
children | (rw) pointer to our structure with all childs |
fd | (r) IPC socket with child |
- Returns
- -1 on error, 0 on success