1#ifndef COSSB_H_INCLUDED
2#define COSSB_H_INCLUDED
9typedef void (* func)(
char *);
void addSubscribtion(char *topic, func callback)
Method used by the modules to subscribe to a topic.
Definition: CoSSB.c:25
void deleteCoSSB()
Method that frees the TopicList structure.
Definition: CoSSB.c:14
void publish(char *rdfG)
Method that publishes a graph to every subscriber, based on the topic of the graph.
Definition: CoSSB.c:50
void initCoSSB()
Method that initializes the CoSSB.
Definition: CoSSB.c:8
func * callBackList
Definition: CoSSB.h:19
const char * topic
Definition: CoSSB.h:17
size_t numberOfSubscribers
Definition: CoSSB.h:18
SubscribtionList * list
Definition: CoSSB.h:25
size_t numberOfTopics
Definition: CoSSB.h:26