Cordio Stack and Cordio Profiles  r2p3-02rel0
wsf_queue.h File Reference

General purpose queue service. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  wsfQueue_t
 Queue structure. More...
 

Macros

#define WSF_QUEUE_INIT(pQueue)    {(pQueue)->pHead = NULL; (pQueue)->pTail = NULL;}
 Initialize a queue.
 

Functions

void WsfQueueEnq (wsfQueue_t *pQueue, void *pElem)
 Enqueue an element to the tail of a queue. More...
 
void * WsfQueueDeq (wsfQueue_t *pQueue)
 Dequeue an element from the head of a queue. More...
 
void WsfQueuePush (wsfQueue_t *pQueue, void *pElem)
 Push an element to the head of a queue. More...
 
void WsfQueueInsert (wsfQueue_t *pQueue, void *pElem, void *pPrev)
 Insert an element into a queue. This function is typically used when iterating over a queue. More...
 
void WsfQueueRemove (wsfQueue_t *pQueue, void *pElem, void *pPrev)
 Remove an element from a queue. This function is typically used when iterating over a queue. More...
 
uint16_t WsfQueueCount (wsfQueue_t *pQueue)
 Count the number of elements in a queue. More...
 
bool_t WsfQueueEmpty (wsfQueue_t *pQueue)
 Return TRUE if queue is empty. More...
 

Description

General purpose queue service.

Copyright (c) 2009-2018 Arm Ltd. All Rights Reserved. ARM Ltd. confidential and proprietary.

IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact ARM Ltd. prior to any use, copying or further distribution of this software.

Definition in file wsf_queue.h.