mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
2b82fe44ea
- Create a branch to drop my ndisuio work svn path=/branches/wlan-bringup/; revision=54809
45 lines
No EOL
772 B
C
45 lines
No EOL
772 B
C
#ifndef __UNIATA_COMMAND_QUEUE_SUPPORT__H__
|
|
#define __UNIATA_COMMAND_QUEUE_SUPPORT__H__
|
|
|
|
/*
|
|
Insert command to proper place of command queue
|
|
Perform reorder if necessary
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
UniataQueueRequest(
|
|
IN PHW_CHANNEL chan,
|
|
IN PSCSI_REQUEST_BLOCK Srb
|
|
);
|
|
|
|
/*
|
|
Remove request from queue and get next request
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
UniataRemoveRequest(
|
|
IN PHW_CHANNEL chan,
|
|
IN PSCSI_REQUEST_BLOCK Srb
|
|
);
|
|
|
|
/*
|
|
Get currently processed request
|
|
(from head of the queue)
|
|
*/
|
|
PSCSI_REQUEST_BLOCK
|
|
NTAPI
|
|
UniataGetCurRequest(
|
|
IN PHW_CHANNEL chan
|
|
);
|
|
|
|
/*
|
|
Get next channel to be serviced
|
|
(used in simplex mode only)
|
|
*/
|
|
PHW_CHANNEL
|
|
NTAPI
|
|
UniataGetNextChannel(
|
|
IN PHW_CHANNEL chan
|
|
);
|
|
|
|
#endif //__UNIATA_COMMAND_QUEUE_SUPPORT__H__
|