Add space state event backend

This commit is contained in:
Wilco Baan Hofman 2013-05-05 18:26:59 +02:00 committed by root
parent 6b8f1f9a6c
commit 659cdf1ff5
6 changed files with 154 additions and 5 deletions

View file

@ -21,6 +21,9 @@
*/
#include "includes.h"
#include "database.h"
#include "jsonbot.h"
#include "spacestate.h"
/* My global state */
configuration *conf = NULL;
@ -160,6 +163,8 @@ STATUS read_configuration_file(TALLOC_CTX *mem_ctx)
database_init();
} else if (strcmp(ptr, "jsonbot") == 0) {
jsonbot_init();
} else if (strcmp(ptr, "spacestate") == 0) {
spacestate_init();
}
} while((ptr = strtok(NULL, " ")) != NULL);
}