smntc
an in-memory multimodal graph database
Loading...
Searching...
No Matches
Inventory.h
Go to the documentation of this file.
1#ifndef __INVENTORY_HEADER__
2#define __INVENTORY_HEADER__
3
4struct Inventory;
5
6struct Inventory *Inventory_construct(unsigned int length, int *error);
7
8struct Inventory *Inventory_destruct(struct Inventory *this);
9
10unsigned int Inventory_getNext(const struct Inventory *this);
11
12void Inventory_append(struct Inventory *this, unsigned int content, int *error);
13
14void Inventory_appendUnchecked(struct Inventory *this, unsigned int content, int *error);
15
16void Inventory_update(struct Inventory *this, unsigned int path, unsigned int content, int *error);
17
18unsigned int Inventory_read(const struct Inventory *this, unsigned int path, int *error) ;
19
20#endif
unsigned int Inventory_read(const struct Inventory *this, unsigned int path, int *error)
Definition Inventory.c:92
void Inventory_update(struct Inventory *this, unsigned int path, unsigned int content, int *error)
Definition Inventory.c:77
struct Inventory * Inventory_construct(unsigned int length, int *error)
Definition Inventory.c:11
unsigned int Inventory_getNext(const struct Inventory *this)
Definition Inventory.c:44
struct Inventory * Inventory_destruct(struct Inventory *this)
Definition Inventory.c:34
void Inventory_append(struct Inventory *this, unsigned int content, int *error)
Definition Inventory.c:49
void Inventory_appendUnchecked(struct Inventory *this, unsigned int content, int *error)
Definition Inventory.c:66
unsigned int length
Definition Inventory.c:8