X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=include%2Fmon_internal.h;h=db9d1b422be0138181656f8c0691d3465885d30d;hp=f49889a0cb65afda6a70f1703ec2d07c2cc65869;hb=605ee6f071ad51755ba07b4e1a712814bbf4f780;hpb=d253bd9f9c36c1555d02bbfe25eefe6b25ef957e diff --git a/include/mon_internal.h b/include/mon_internal.h index f49889a..db9d1b4 100644 --- a/include/mon_internal.h +++ b/include/mon_internal.h @@ -119,8 +119,11 @@ struct mon_resp { /* Monitoring server instance */ struct mons_instance { + char *hostname; unsigned int port; TR_GSS_NAMES *authorized_gss_names; + TIDS_INSTANCE *tids; + TRPS_INSTANCE *trps; MONS_REQ_FUNC *req_handler; MONS_AUTH_FUNC *auth_handler; void *cookie; @@ -161,5 +164,6 @@ json_t *mon_resp_encode(MON_RESP *resp); MONS_INSTANCE *mons_new(TALLOC_CTX *mem_ctx); int mons_get_listener(MONS_INSTANCE *mons, MONS_REQ_FUNC *req_handler, MONS_AUTH_FUNC *auth_handler, unsigned int port, void *cookie, int *fd_out, size_t max_fd); +int mons_accept(MONS_INSTANCE *mons, int listen); #endif //TRUST_ROUTER_MON_REQ_H