2 * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
3 * All rights reserved. See COPYRIGHT.
13 #include <atalk/dsi.h>
14 #include <netatalk/endian.h>
16 /* return the status and then delete the connection. most of the
17 * fields are already set. */
18 void dsi_getstatus(DSI *dsi)
20 dsi->header.dsi_flags = DSIFL_REPLY;
21 /*dsi->header.dsi_command = DSIFUNC_STAT;*/
23 memcpy(dsi->commands, dsi->status, dsi->statuslen);
24 dsi->cmdlen = dsi->statuslen;