15 lines
514 B
C
15 lines
514 B
C
#ifndef MODULE_REGISTRY_H_
|
|
#define MODULE_REGISTRY_H_
|
|
|
|
#include "graph.h"
|
|
#include "hash_table.h"
|
|
|
|
typedef TYPED_HASH_TABLE(GraphNodeSpecification*) GraphNodeSpecificationRegistry;
|
|
|
|
void register_graph_node_specification(GraphNodeSpecification * spec);
|
|
GraphNodeSpecification * lookup_graph_node_specification(const char * name);
|
|
void destroy_graph_node_specification_registry();
|
|
const GraphNodeSpecificationRegistry * get_graph_node_specification_registy();
|
|
|
|
#endif /* end of include guard: MODULE_REGISTRY_H_ */
|