2 * $Id: dsi_close.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
4 * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
5 * All rights reserved. See COPYRIGHT.
10 #endif /* HAVE_CONFIG_H */
14 #include <atalk/dsi.h>
15 #include <netatalk/endian.h>
17 void dsi_close(DSI *dsi)
19 /* server generated. need to set all the fields. */
20 dsi->header.dsi_flags = DSIFL_REQUEST;
21 dsi->header.dsi_command = DSIFUNC_CLOSE;
22 dsi->header.dsi_requestID = htons(dsi_serverID(dsi));
23 dsi->header.dsi_code = dsi->header.dsi_reserved = htonl(0);
27 dsi->proto_close(dsi);