mirror of https://github.com/dzavalishin/openpod
moved request to pod_rq.h
This commit is contained in:
parent
fdee78d390
commit
2065809056
|
@ -84,6 +84,18 @@ typedef struct pod_device
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------
|
||||||
|
//
|
||||||
|
// Request methods
|
||||||
|
//
|
||||||
|
//-------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline errno_t pod_rq_enqueue( pod_device *dev, pod_request *rq )
|
inline errno_t pod_rq_enqueue( pod_device *dev, pod_request *rq )
|
||||||
{
|
{
|
||||||
if( (dev == 0) || (dev->calls == 0) || (dev->calls->enqueue == 0 ) )
|
if( (dev == 0) || (dev->calls == 0) || (dev->calls->enqueue == 0 ) )
|
||||||
|
@ -155,4 +167,7 @@ inline errno_t pod_rq_raise( pod_device *dev, pod_request *rq, uint32_t io_prio
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // POD_DEVICE_H
|
#endif // POD_DEVICE_H
|
||||||
|
|
|
@ -58,4 +58,12 @@ typedef struct pod_request
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // POD_RQ_H
|
#endif // POD_RQ_H
|
||||||
|
|
Loading…
Reference in New Issue