Lines Matching defs:dsi
14 #include <atalk/dsi.h>
17 void dsi_close(DSI *dsi)
20 if (!(dsi->flags & DSI_SLEEPING) && !(dsi->flags & DSI_DISCONNECTED)) {
21 dsi->header.dsi_flags = DSIFL_REQUEST;
22 dsi->header.dsi_command = DSIFUNC_CLOSE;
23 dsi->header.dsi_requestID = htons(dsi_serverID(dsi));
24 dsi->header.dsi_code = dsi->header.dsi_reserved = htonl(0);
25 dsi->cmdlen = 0;
26 dsi_send(dsi);
27 dsi->proto_close(dsi);
29 free(dsi);