-#ifdef BINARY_SHELL
- nx_struct cmd_payload *payload = (nx_struct cmd_payload *)reply_buf;
- prog_req_t *rep = (prog_req_t *)payload->data;
- nx_struct ShortDelugeIdent *i = (nx_struct ShortDelugeIdent *)rep->data;
- rep->cmd = NWPROG_CMD_IMAGEIFO;
- rep->imgno = volumeID2imgNum(imgNum);
- memcpy(i->appname, ident->appname, 16);
- memcpy(i->username, ident->username, 16);
- memcpy(i->hostname, ident->hostname, 16);
- i->timestamp = ident->timestamp;
- nwprog_validvols++;
- call ShellCommand.write(payload, sizeof(nx_struct cmd_payload) +
- sizeof(prog_reply_t) + sizeof(nx_struct ShortDelugeIdent));
-
-#else