Logo Search packages:      
Sourcecode: udpcast version File versions  Download package

fifo.h

#ifndef FIFO_H
#define FIFO_H

#include <pthread.h>
#include "produconsum.h"

typedef struct fifo { 
    char *dataBuffer;
    unsigned int dataBufSize;

    produconsum_t freeMemQueue; /* queue for free memory */
    produconsum_t data; /* queue for received data or data received 
                   * from disk */

    pthread_t thread;
} *fifo_t;

#define initFifo udpc_initFifo

void initFifo(struct fifo *fifo, int blockSize);

#endif

Generated by  Doxygen 1.6.0   Back to index