![]() |
![]() |
* ============================================================================ * Copyright (c) Texas Instruments Inc 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ *
#include <unistd.h>
Include dependency graph for fifoutil.h:
Go to the source code of this file.
Data Structures | |
struct | FifoUtil_Obj |
Object that stores the state of the fifo. More... | |
Defines | |
#define | FIFOUTIL_SUCCESS 0 |
Return values for fifo util API calls. | |
#define | FIFOUTIL_FAILURE -1 |
Typedefs | |
typedef FifoUtil_Obj | FifoUtil_Obj |
Object that stores the state of the fifo. | |
typedef FifoUtil_Obj * | FifoUtil_Handle |
Pointer to a fifo util object. | |
Functions | |
static int | FifoUtil_open (FifoUtil_Handle hFifo, size_t size) |
Opens the fifo. Must be called before other API:s on a fifo. | |
static int | FifoUtil_close (FifoUtil_Handle hFifo) |
Closes the fifo. No API calls can be made on this fifo after this. | |
static int | FifoUtil_get (FifoUtil_Handle hFifo, void *buffer) |
Blocking call to get a message from a fifo. | |
static int | FifoUtil_put (FifoUtil_Handle hFifo, void *buffer) |
Put a message on the fifo. |
|
Return values for fifo util API calls.
|
|
|
|
Object that stores the state of the fifo.
|
|
Pointer to a fifo util object.
|
|
Opens the fifo. Must be called before other API:s on a fifo.
|
|
Closes the fifo. No API calls can be made on this fifo after this.
|
|
Blocking call to get a message from a fifo.
|
|
Put a message on the fifo.
|