![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Manage variable tables. More...
Functions | |
| void | caps_libtable_init (void) |
| void | caps_libtable_version_get (unsigned *major, unsigned *minor, unsigned *micro) |
| static void | enlarge_var_table (struct caps_var_table *tbl) |
| static bool | var_table_full (const struct caps_var_table *tbl) |
| void | caps_table_init (struct caps_var_table *tbl, const struct caps_table_desc *td) |
| void | caps_table_cleanup (struct caps_var_table *tbl) |
| void | caps_table_element_ensure_free (struct caps_var_table *tbl) |
| void * | caps_table_base_get (const struct caps_var_table *tbl) |
| size_t | caps_table_element_count_get (const struct caps_var_table *tbl) |
| size_t | caps_table_element_count_increment (struct caps_var_table *tbl) |
|
static |
Enlarge the table by the user defined element count
| [in,out] | tbl | The table to enlarge |
|
static |
Check if a table is already full, e.g. all elements are in use
| [in] | tbl | The table to check |
| true | If all elements in the table are in use |
| false | If there are still free elements in the table |