#ifndef TID_INTERNAL_H
#define TID_INTERNAL_H
#include <glib.h>
-#include <trust_router/tid.h>
+#include <tr_rp.h>
+#include <trust_router/tid.h>
#include <jansson.h>
struct tid_srvr_blk {
struct tid_req *next_req;
int resp_sent;
int conn;
+ int free_conn; /* free conn and gss ctx*/
gss_ctx_id_t gssctx;
int resp_rcvd;
TR_NAME *rp_realm;
char *ipaddr;
const char *hostname;
TIDS_REQ_FUNC *req_handler;
- tids_auth_func *auth_handler;
+ TIDS_AUTH_FUNC *auth_handler;
void *cookie;
+ uint16_t tids_port;
+ struct tr_rp_client *rp_gss; /* Client matching GSS name */
};