#include "list.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
list_p | ListInitialize (void) |
void | ListTerminate (list_p list) |
int | list_pGetSize (list_p list) |
DATA | ListGetHead (list_p list) |
DATA | ListPop (list_p list) |
DATA | ListSearch (list_p list, const int index) |
int | ListAdd (list_p list, DATA data) |
int | ListInsert (list_p list, DATA data, const int index) |
DATA | ListDelete (list_p list, const int index) |
Definition at line 73 of file list.c.
References list_s::size.
Definition at line 165 of file list.c.
References list_s::listhead, listNode_s::next, listNode_s::node_data, and list_s::size.
Referenced by agent_task_Copy(), barrier_queue_Add(), df_Add(), df_AddRequest(), and syncListAddNode().
Definition at line 220 of file list.c.
References DATA, list_s::listhead, listNode_s::next, listNode_s::node_data, and list_s::size.
Referenced by barrier_queue_Delete(), syncListDelete(), and syncListRemove().
DATA ListGetHead | ( | list_p | list | ) |
Definition at line 79 of file list.c.
References list_s::listhead, and listNode_s::node_data.
list_p ListInitialize | ( | void | ) |
Definition at line 33 of file list.c.
References list_s::listhead, and list_s::size.
Referenced by barrier_queue_New(), df_Initialize(), df_request_list_New(), and syncListInit().
DATA ListPop | ( | list_p | list | ) |
Definition at line 89 of file list.c.
References DATA, list_s::listhead, listNode_s::next, listNode_s::node_data, and list_s::size.
Referenced by AP_QUEUE_STD_DEFN_TEMPLATE(), barrier_queue_Pop(), df_Destroy(), df_request_list_Destroy(), and df_request_list_Pop().
Definition at line 124 of file list.c.
References list_s::listhead, listNode_s::next, listNode_s::node_data, and list_s::size.
Referenced by agent_queue_Flush(), agent_task_Copy(), ams_ManageAgentList(), ams_Print(), AP_QUEUE_SEARCH_TEMPLATE(), AP_QUEUE_STD_DEFN_TEMPLATE(), barrier_queue_Delete(), MC_RetrieveAgent(), MC_WaitRetrieveAgent(), message_queue_SendOutgoing(), syncListDelete(), and syncListRemove().
void ListTerminate | ( | list_p | list | ) |
Definition at line 49 of file list.c.
References list_s::listhead, and list_s::size.
Referenced by barrier_queue_Destroy(), df_Destroy(), and df_request_list_Destroy().