Quick and dirty CoOS + LWIP ( Webserver )

Dependencies:   mbed lwip

Committer:
astroboy
Date:
Sat Sep 10 22:41:10 2011 +0000
Revision:
0:94897d537b31

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
astroboy 0:94897d537b31 1 /**
astroboy 0:94897d537b31 2 *******************************************************************************
astroboy 0:94897d537b31 3 * @file OsQueue.h
astroboy 0:94897d537b31 4 * @version V1.1.4
astroboy 0:94897d537b31 5 * @date 2011.04.20
astroboy 0:94897d537b31 6 * @brief Queue management header file
astroboy 0:94897d537b31 7 * @details This file including some defines and declares about queue management.
astroboy 0:94897d537b31 8 *******************************************************************************
astroboy 0:94897d537b31 9 * @copy
astroboy 0:94897d537b31 10 *
astroboy 0:94897d537b31 11 * INTERNAL FILE,DON'T PUBLIC.
astroboy 0:94897d537b31 12 *
astroboy 0:94897d537b31 13 * <h2><center>&copy; COPYRIGHT 2009 CooCox </center></h2>
astroboy 0:94897d537b31 14 *******************************************************************************
astroboy 0:94897d537b31 15 */
astroboy 0:94897d537b31 16
astroboy 0:94897d537b31 17
astroboy 0:94897d537b31 18 #ifndef _QUEUE_H
astroboy 0:94897d537b31 19 #define _QUEUE_H
astroboy 0:94897d537b31 20
astroboy 0:94897d537b31 21
astroboy 0:94897d537b31 22 /**
astroboy 0:94897d537b31 23 * @struct Queue queue.h
astroboy 0:94897d537b31 24 * @brief Queue struct
astroboy 0:94897d537b31 25 * @details This struct use to manage queue.
astroboy 0:94897d537b31 26 *
astroboy 0:94897d537b31 27 */
astroboy 0:94897d537b31 28 typedef struct Queue
astroboy 0:94897d537b31 29 {
astroboy 0:94897d537b31 30 void **qStart; /*!< */
astroboy 0:94897d537b31 31 U8 id; /*!< */
astroboy 0:94897d537b31 32 U16 head; /*!< The header of queue */
astroboy 0:94897d537b31 33 U16 tail; /*!< The end of queue */
astroboy 0:94897d537b31 34 U16 qMaxSize; /*!< The max size of queue */
astroboy 0:94897d537b31 35 U16 qSize; /*!< Current size of queue */
astroboy 0:94897d537b31 36 }QCB,*P_QCB;
astroboy 0:94897d537b31 37
astroboy 0:94897d537b31 38
astroboy 0:94897d537b31 39 #endif