Fix memory freeing bugs. Seems stable, even through loss of connections.
[trust_router.git] / include / tr.h
index 8878161..bd55176 100644 (file)
 #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);