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