Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

atom.c File Reference

Go to the source code of this file.

Functions

int atom_create (const char *id, const char *data, size_t size, void *arg, atom_t **patom)
int atom_free (atom_t *atom)
size_t atoms_size (atoms_t *as)
size_t atoms_count (atoms_t *as)
int atoms_getn (atoms_t *as, size_t n, atom_t **patom)
int atoms_get (atoms_t *as, const char *id, atom_t **patom)
int atoms_add (atoms_t *as, atom_t *atom)
int atoms_remove (atoms_t *as, atom_t *atom)
int atoms_create (atoms_t **pas)
int atoms_free (atoms_t *as)


Function Documentation

int atom_create const char *  id,
const char *  data,
size_t  size,
void *  arg,
atom_t **  patom
 

Definition at line 16 of file atom.c.

References atom_s::arg, atom_free(), atom_t, atom_s::data, atom_s::id, and atom_s::size.

int atom_free atom_t atom  ) 
 

Definition at line 46 of file atom.c.

References atom_t, atom_s::data, and atom_s::id.

Referenced by atom_create().

int atoms_add atoms_t as,
atom_t atom
 

Definition at line 124 of file atom.c.

References atom_t, atoms_t, atoms_s::count, atoms_s::list, atoms_s::size, and atom_s::size.

size_t atoms_count atoms_t as  ) 
 

Definition at line 69 of file atom.c.

References atoms_t, and atoms_s::count.

Referenced by atoms_free().

int atoms_create atoms_t **  pas  ) 
 

Definition at line 157 of file atom.c.

References atoms_t, and atoms_s::list.

Referenced by session_mem_module_init().

int atoms_free atoms_t as  ) 
 

Definition at line 177 of file atom.c.

References atom_t, atoms_count(), atoms_getn(), atoms_remove(), and atoms_t.

int atoms_get atoms_t as,
const char *  id,
atom_t **  patom
 

Definition at line 102 of file atom.c.

References atom_t, atoms_t, atom_s::id, and atoms_s::list.

int atoms_getn atoms_t as,
size_t  n,
atom_t **  patom
 

Definition at line 79 of file atom.c.

References atom_t, atoms_t, atoms_s::count, and atoms_s::list.

Referenced by atoms_free().

int atoms_remove atoms_t as,
atom_t atom
 

Definition at line 140 of file atom.c.

References atom_t, atoms_t, atoms_s::count, atoms_s::size, and atom_s::size.

Referenced by atoms_free().

size_t atoms_size atoms_t as  ) 
 

Definition at line 59 of file atom.c.

References atoms_t, and atoms_s::size.


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved