#include "idlist_p.h"
#include <gwenhywfar/debug.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
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_IDLIST * | GWEN_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_IDLIST * | GWEN_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 () |
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().
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 | ) |
Definition at line 61 of file idlist.c.
References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.
Referenced by GWEN_IdList_Clean().
unsigned int GWEN_IdTable_GetCount | ( | const GWEN_IDTABLE * | idt | ) |
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().
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 | ( | ) |
Definition at line 49 of file idlist.c.
References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.
Referenced by GWEN_IdList_AddId().