14#include "deconz/atom.h"
15#include "deconz/declspec.h"
28#define AT_MAX_ATOM_SIZE 384
35DECONZ_DLLSPEC
void AT_Init(
unsigned max_atoms);
DECONZ_DLLSPEC int AT_AddAtom(const void *data, unsigned size, AT_AtomIndex *ati)
Adds an atom with data and size.
Definition atom_table.c:156
DECONZ_DLLSPEC int AT_AddAtomString(const void *data)
Adds an atom from zero terminated C-String.
Definition atom_table.c:141
DECONZ_DLLSPEC int AT_GetAtomIndex(const void *data, unsigned size, AT_AtomIndex *ati)
Returns the atom index for given data.
Definition atom_table.c:211
DECONZ_DLLSPEC void AT_Init(unsigned max_atoms)
Initialize atom table, called by core.
Definition atom_table.c:102
DECONZ_DLLSPEC void AT_Destroy(void)
Destroyes atom table, called by core.
Definition atom_table.c:122
DECONZ_DLLSPEC AT_Atom AT_GetAtomByIndex(AT_AtomIndex ati)
Returns the atom for given index.
Definition atom_table.c:247
A unique index referencing a atom.
Definition atom.h:44
Represents an atom which is uniquely stored in the atom table.
Definition atom.h:32