#include <dsi.h>
Data Fields | |
| struct DSI * | next |
| AFPObj * | AFPobj |
| int | statuslen |
| char | status [1400] |
| char * | signature |
| struct dsi_block | header |
| struct sockaddr_storage server | client |
| struct itimerval | timer |
| int | tickle |
| int | in_write |
| int | msg_request |
| int | down_request |
| uint32_t | attn_quantum |
| uint32_t | datasize |
| uint32_t | server_quantum |
| uint16_t | serverID |
| uint16_t | clientID |
| uint8_t * | commands |
| uint8_t | data [DSI_DATASIZ] |
| size_t | datalen |
| size_t | cmdlen |
| off_t | read_count |
| off_t | write_count |
| uint32_t | flags |
| int | socket |
| int | serversock |
| size_t | dsireadbuf |
| char * | buffer |
| char * | start |
| char * | eof |
| char * | end |
| pid_t(* | proto_open )(struct DSI *) |
| void(* | proto_close )(struct DSI *) |
| struct sockaddr_in server | client |
| sigset_t | sigblockset |
| struct itimerval timer | savetimer |
| uint8_t * | status |
| uint8_t | commands [DSI_CMDSIZ] |
| size_t | read_count |
| size_t | write_count |
| int | asleep |
| char | child |
| char | inited |
| char | noreply |
| const char * | program |
| AFPObj* DSI::AFPobj |
| int DSI::asleep |
client won't reply AFP 0x7a ?
| uint32_t DSI::attn_quantum |
| char* DSI::buffer |
buffer start
| char DSI::child |
| struct sockaddr_storage server DSI::client |
| struct sockaddr_in server DSI::client |
| uint16_t DSI::clientID |
| size_t DSI::cmdlen |
| uint8_t* DSI::commands |
DSI recieve buffer
| uint8_t DSI::commands[DSI_CMDSIZ] |
| uint8_t DSI::data |
DSI reply buffer
| size_t DSI::datalen |
| uint32_t DSI::datasize |
| int DSI::down_request |
pending SIGUSR1 down in 5 mn
| size_t DSI::dsireadbuf |
size of the DSI readahead buffer used in dsi_peek()
| char* DSI::end |
| char* DSI::eof |
end of currently used buffer
| uint32_t DSI::flags |
DSI flags like DSI_SLEEPING, DSI_DISCONNECTED
| struct dsi_block DSI::header |
| int DSI::in_write |
in the middle of writing multiple packets, signal handlers can't write to the socket
| char DSI::inited |
| int DSI::msg_request |
pending message to the client
| struct DSI* DSI::next |
multiple listening addresses
| char DSI::noreply |
| const char* DSI::program |
| void(* DSI::proto_close)(struct DSI *) |
| pid_t(* DSI::proto_open)(struct DSI *) |
| off_t DSI::read_count |
| size_t DSI::read_count |
| struct itimerval timer DSI::savetimer |
| uint32_t DSI::server_quantum |
| uint16_t DSI::serverID |
| int DSI::serversock |
listening socket
| sigset_t DSI::sigblockset |
| char* DSI::signature |
| int DSI::socket |
AFP session socket
| char* DSI::start |
current buffer head
| char DSI::status[1400] |
| uint8_t* DSI::status |
| int DSI::statuslen |
| int DSI::tickle |
tickle count
| struct itimerval DSI::timer |
| off_t DSI::write_count |
| size_t DSI::write_count |