1/*
2 * Copyright (c) 2014 ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group.
8 */
9
10#ifndef DMA_CLIENT_REQUEST_INTERNAL_H
11#define DMA_CLIENT_REQUEST_INTERNAL_H
12
13#include <dma_request_internal.h>
14#include <dma/client/dma_client_request.h>
15
16struct dma_client_request
17{
18    struct dma_request common;
19    struct capref cap;
20};
21
22/**
23 * \brief frees up a DMA request (called by the rx_done() function)
24 *
25 * \param req DMA request to be freed
26 */
27void dma_client_request_free(struct dma_client_request *req);
28
29#endif /* DMA_CLIENT_REQUEST_INTERNAL_H */
30