Merge pull request #100 from painless-security/milestone/monitoring
[trust_router.git] / include / tr.h
index 9fee9dd..0c2b37d 100644 (file)
 #ifndef TR_H
 #define TR_H
 
+#include <talloc.h>
+
+#include <tid_internal.h>
 #include <tr_msg.h>
-#include <tr_name.h>
+#include <tr_rp.h>
+#include <tr_trp.h>
+#include <tr_cfgwatch.h>
 #include <tr_config.h>
-#include <tpq.h>
-#include <tidr.h>
 
-#define TRUST_ROUTER_PORT      12308
+/* struct defined in tr_trp.h */
+typedef struct tr_instance TR_INSTANCE;
+
+TR_INSTANCE *tr_create(TALLOC_CTX *mem_ctx);
+void tr_destroy(TR_INSTANCE *tr);
 
 #endif