X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=include%2Ftid_internal.h;h=220775b25b713ef9ff60f14fa84c0bd87adec95a;hb=fe3b5cb31ab0d19c2ead6465f82ceb749bf05b75;hp=8613eb86bdc194b2f31604d06eef5e31ff1b8e5b;hpb=81a61f8c6064bf52ff2a40a3d28e6ee5b2e478d4;p=trust_router.git diff --git a/include/tid_internal.h b/include/tid_internal.h index 8613eb8..220775b 100644 --- a/include/tid_internal.h +++ b/include/tid_internal.h @@ -35,11 +35,12 @@ #ifndef TID_INTERNAL_H #define TID_INTERNAL_H #include +#include -#include #include -#include -#include "tr_gss_client.h" +#include +#include +#include struct tid_srvr_blk { TID_SRVR_BLK *next; @@ -86,6 +87,7 @@ struct tid_req { struct tidc_instance { TR_GSSC_INSTANCE *gssc; + DH *client_dh; }; struct tid_process { @@ -102,7 +104,7 @@ struct tids_instance { TIDS_REQ_FUNC *req_handler; tids_auth_func *auth_handler; void *cookie; - unsigned int tids_port; + int tids_port; TR_NAME *gss_name; /* GSS name client used for authentication */ GArray *pids; /* PIDs of active tids processes */ }; @@ -112,7 +114,7 @@ struct tids_instance { reference they already hold to the TID_REQ.*/ void tid_req_cleanup_json(TID_REQ *, json_t *json); -int tid_req_add_path(TID_REQ *, const char *this_system, unsigned port); +int tid_req_add_path(TID_REQ *req, const char *this_system, int port); TID_SRVR_BLK *tid_srvr_blk_new(TALLOC_CTX *mem_ctx); void tid_srvr_blk_free(TID_SRVR_BLK *srvr);