X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=tid%2Ftid_resp.c;h=44a866afbd7dce5a71d375b428ead56d927a9eff;hb=aa60420a1b690c06ae7ef9fd4584bf434cea9c6b;hp=2611b3b0d1ba6c0d683e09a01763b1cce1737fd7;hpb=c904da6561420671467ae076ccec2800e4928c1d;p=trust_router.git diff --git a/tid/tid_resp.c b/tid/tid_resp.c index 2611b3b..44a866a 100644 --- a/tid/tid_resp.c +++ b/tid/tid_resp.c @@ -35,9 +35,21 @@ #include #include #include +#include #include +TID_RESP *tid_resp_new(TALLOC_CTX *mem_ctx) +{ + return talloc(mem_ctx, TID_RESP); +} + +void tid_resp_free(TID_RESP *resp) +{ + if (resp) + talloc_free(resp); +} + TR_EXPORT int tid_resp_get_result(TID_RESP *resp) { return(resp->result);