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