Refactor MON_CMD and MON_OPT_TYPE conversion to/from strings
[trust_router.git] / include / tr.h
index 8878161..0c2b37d 100644 (file)
 #include <talloc.h>
 
 #include <tid_internal.h>
-#include <trust_router/tr_name.h>
 #include <tr_msg.h>
 #include <tr_rp.h>
 #include <tr_trp.h>
 #include <tr_cfgwatch.h>
 #include <tr_config.h>
 
-typedef struct tr_instance {
-  TR_CFG_MGR *cfg_mgr;
-  TIDS_INSTANCE *tids;
-  TRPS_INSTANCE *trps;
-  TR_CFGWATCH *cfgwatch;
-} TR_INSTANCE;
+/* 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);