2 * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
3 * All rights reserved. See COPYRIGHT.
9 #include <netatalk/endian.h>
11 void dsi_close(DSI *dsi)
13 /* server generated. need to set all the fields. */
14 dsi->header.dsi_flags = DSIFL_REQUEST;
15 dsi->header.dsi_command = DSIFUNC_CLOSE;
16 dsi->header.dsi_requestID = htons(dsi_serverID(dsi));
17 dsi->header.dsi_code = dsi->header.dsi_reserved = htonl(0);
21 dsi->proto_close(dsi);