X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=include%2Ftpq.h;h=941fd6bcbfdbcb654d3dc6408ab8be57b1691e98;hb=71ac3a5746d84701888a7ea4226f9b99e924668b;hp=c1f93bb976fcc68b4a10eb308911f0481c42db1f;hpb=2e2868a7e2c2643844526fa43a375d6220cb42df;p=trust_router.git diff --git a/include/tpq.h b/include/tpq.h index c1f93bb..941fd6b 100644 --- a/include/tpq.h +++ b/include/tpq.h @@ -37,6 +37,7 @@ #define TPQ_PORT 12309 +#include typedef struct tpq_name { char *buf; int len; @@ -76,8 +77,8 @@ TPQ_NAME *tpq_new_name (char *name); TPQ_NAME *tpq_dup_name (TPQ_NAME *from); TPQC_INSTANCE *tpqc_create (void); -int tpqc_open_connection (TPQC_INSTANCE *tpqc, char *server); -int tpqc_send_request (TPQC_INSTANCE *tpqc, int conn, char *realm, char *coi, TPQC_RESP_FUNC *resp_handler, void *cookie); +int tpqc_open_connection (TPQC_INSTANCE *tpqc, char *server, gss_ctx_id_t *gssctx); +int tpqc_send_request (TPQC_INSTANCE *tpqc, int conn, gss_ctx_id_t gssctx, char *realm, char *coi, TPQC_RESP_FUNC *resp_handler, void *cookie); void tpqc_destroy (TPQC_INSTANCE *tpqc); TPQS_INSTANCE *tpqs_create ();