2
* $Id: dsi_getstat.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 */
15
#include <atalk/dsi.h>
16
#include <netatalk/endian.h>
18
/* return the status and then delete the connection. most of the
19
* fields are already set. */
20
void dsi_getstatus(DSI *dsi)
22
dsi->header.dsi_flags = DSIFL_REPLY;
23
/*dsi->header.dsi_command = DSIFUNC_STAT;*/
25
memcpy(dsi->commands, dsi->status, dsi->statuslen);
26
dsi->cmdlen = dsi->statuslen;