14#ifndef STOCKCONTROL_POOL_H
15#define STOCKCONTROL_POOL_H
int pool_serialise_report(const struct Pool *const this, FILE *const buffer)
bool pool_insert_element(struct Pool *const this, struct Product *const product)
struct Product * pool_get_product_by_index(const struct Pool *const this, const unsigned int index)
void pool_delete(struct Pool **const this)
struct Pool * pool_create(const unsigned int initial_capacity, const float growth_factor)
int pool_serialise_stock_file(const struct Pool *const this, FILE *const buffer)
Product class specification.
An ordered expandable collection of dynamically allocated Product records.
float growth_factor
Factor by which the Pool capacity should be expanded.
The Product represents a single product with a unique numerical identifier, human-readable name,...