idlist.c File Reference

#include "idlist_p.h"
#include <gwenhywfar/debug.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
Include dependency graph for idlist.c:

Go to the source code of this file.

Functions

int GWEN_IdList_AddId (GWEN_IDLIST *idl, uint32_t id)
void GWEN_IdList_Clean (GWEN_IDLIST *idl)
void GWEN_IdList_Clear (GWEN_IDLIST *idl)
int GWEN_IdList_DelId (GWEN_IDLIST *idl, uint32_t id)
GWEN_IDLISTGWEN_IdList_dup (const GWEN_IDLIST *idl)
void GWEN_IdList_free (GWEN_IDLIST *idl)
uint32_t GWEN_IdList_GetFirstId (GWEN_IDLIST *idl)
uint32_t GWEN_IdList_GetFirstId2 (const GWEN_IDLIST *idl, uint32_t *pos)
uint32_t GWEN_IdList_GetNextId (GWEN_IDLIST *idl)
uint32_t GWEN_IdList_GetNextId2 (const GWEN_IDLIST *idl, uint32_t *pos)
int GWEN_IdList_HasId (const GWEN_IDLIST *idl, uint32_t id)
GWEN_IDLISTGWEN_IdList_new ()
int GWEN_IdList_Sort (GWEN_IDLIST *idl)
int GWEN_IdTable_AddId (GWEN_IDTABLE *idt, uint32_t id)
int GWEN_IdTable_DelId (GWEN_IDTABLE *idt, uint32_t id)
void GWEN_IdTable_free (GWEN_IDTABLE *idt)
unsigned int GWEN_IdTable_GetCount (const GWEN_IDTABLE *idt)
uint32_t GWEN_IdTable_GetFirstId (GWEN_IDTABLE *idt)
uint32_t GWEN_IdTable_GetFirstId2 (const GWEN_IDTABLE *idt, uint32_t *tabIdx)
uint32_t GWEN_IdTable_GetNextId (GWEN_IDTABLE *idt)
uint32_t GWEN_IdTable_GetNextId2 (const GWEN_IDTABLE *idt, uint32_t *tabIdx)
int GWEN_IdTable_HasId (const GWEN_IDTABLE *idt, uint32_t id)
int GWEN_IdTable_IsEmpty (const GWEN_IDTABLE *idt)
int GWEN_IdTable_IsFull (const GWEN_IDTABLE *idt)
GWEN_IDTABLE * GWEN_IdTable_new ()

Function Documentation

void GWEN_IdList_Clean ( GWEN_IDLIST idl  ) 

Definition at line 296 of file idlist.c.

References GWEN_IdTable_free(), and GWEN_IdTable_IsEmpty().

Referenced by GWEN_IdList_DelId().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_IdTable_AddId ( GWEN_IDTABLE *  idt,
uint32_t  id 
)

Definition at line 70 of file idlist.c.

Referenced by GWEN_IdList_AddId().

Here is the caller graph for this function:

int GWEN_IdTable_DelId ( GWEN_IDTABLE *  idt,
uint32_t  id 
)

Definition at line 104 of file idlist.c.

Referenced by GWEN_IdList_DelId().

Here is the caller graph for this function:

void GWEN_IdTable_free ( GWEN_IDTABLE *  idt  ) 

Definition at line 61 of file idlist.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by GWEN_IdList_Clean().

Here is the caller graph for this function:

unsigned int GWEN_IdTable_GetCount ( const GWEN_IDTABLE *  idt  ) 

Definition at line 136 of file idlist.c.

Referenced by GWEN_IdList_Sort().

Here is the caller graph for this function:

uint32_t GWEN_IdTable_GetFirstId ( GWEN_IDTABLE *  idt  ) 

Definition at line 143 of file idlist.c.

Referenced by GWEN_IdList_GetFirstId(), and GWEN_IdList_GetNextId().

Here is the caller graph for this function:

uint32_t GWEN_IdTable_GetFirstId2 ( const GWEN_IDTABLE *  idt,
uint32_t *  tabIdx 
)

Definition at line 176 of file idlist.c.

Referenced by GWEN_IdList_GetFirstId2().

Here is the caller graph for this function:

uint32_t GWEN_IdTable_GetNextId ( GWEN_IDTABLE *  idt  ) 

Definition at line 159 of file idlist.c.

Referenced by GWEN_IdList_GetNextId().

Here is the caller graph for this function:

uint32_t GWEN_IdTable_GetNextId2 ( const GWEN_IDTABLE *  idt,
uint32_t *  tabIdx 
)

Definition at line 192 of file idlist.c.

Referenced by GWEN_IdList_GetNextId2().

Here is the caller graph for this function:

int GWEN_IdTable_HasId ( const GWEN_IDTABLE *  idt,
uint32_t  id 
)

Definition at line 88 of file idlist.c.

Referenced by GWEN_IdList_HasId().

Here is the caller graph for this function:

int GWEN_IdTable_IsEmpty ( const GWEN_IDTABLE *  idt  ) 

Definition at line 122 of file idlist.c.

Referenced by GWEN_IdList_Clean().

Here is the caller graph for this function:

int GWEN_IdTable_IsFull ( const GWEN_IDTABLE *  idt  ) 

Definition at line 129 of file idlist.c.

Referenced by GWEN_IdList_AddId().

Here is the caller graph for this function:

GWEN_IDTABLE* GWEN_IdTable_new (  ) 

Definition at line 49 of file idlist.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_IdList_AddId().

Here is the caller graph for this function:

Generated on Mon Jul 5 22:53:21 2010 for gwenhywfar by  doxygen 1.6.3