2024-08-15 21:57:17 +03:00
|
|
|
#ifndef MODULE_REGISTRY_H_
|
|
|
|
#define MODULE_REGISTRY_H_
|
|
|
|
|
|
|
|
#include "graph.h"
|
2024-08-18 15:44:39 +03:00
|
|
|
#include "hash_table.h"
|
|
|
|
|
|
|
|
typedef TYPED_HASH_TABLE(GraphNodeSpecification*) GraphNodeSpecificationRegistry;
|
2024-08-15 21:57:17 +03:00
|
|
|
|
|
|
|
void register_graph_node_specification(GraphNodeSpecification * spec);
|
|
|
|
GraphNodeSpecification * lookup_graph_node_specification(const char * name);
|
|
|
|
void destroy_graph_node_specification_registry();
|
2024-08-18 15:44:39 +03:00
|
|
|
const GraphNodeSpecificationRegistry * get_graph_node_specification_registy();
|
2024-08-15 21:57:17 +03:00
|
|
|
|
|
|
|
#endif /* end of include guard: MODULE_REGISTRY_H_ */
|