Basic peer table, hard coded for testing.
[trust_router.git] / include / tr_rp.h
index de9ad98..eec1d55 100644 (file)
@@ -35,7 +35,6 @@
 #ifndef TR_RP_H
 #define TR_RP_H
 
-#include <tr.h>
 #include <tr_filter.h>
 
 #define TR_MAX_GSS_NAMES 5
@@ -44,7 +43,7 @@ typedef struct tr_rp_client {
   struct tr_rp_client *next;
   struct tr_rp_client *comm_next;
   TR_NAME *gss_names[TR_MAX_GSS_NAMES];
-  TR_FILTER *filters[TR_MAX_FILTERS];
+  TR_FILTER *filter;
 } TR_RP_CLIENT;
 
 /* Structure to make a linked list of RP realms by name for community config */
@@ -53,4 +52,7 @@ typedef struct tr_rp_realm {
   TR_NAME *realm_name;
 } TR_RP_REALM;
 
+/* prototypes */
+TR_RP_CLIENT *tr_rp_client_lookup(TR_RP_CLIENT *rp_clients, TR_NAME *gss_name);
+
 #endif