Lines Matching defs:ctx
56 static lwres_context_t *ctx;
73 ret = lwres_nooprequest_render(ctx, &nooprequest, &pkt, &b);
84 ret = lwres_nooprequest_parse(ctx, &b, &pkt2, &nooprequest2);
91 lwres_nooprequest_free(ctx, &nooprequest2);
93 lwres_context_freemem(ctx, b.base, b.length);
104 ret = lwres_noopresponse_render(ctx, &noopresponse, &pkt, &b);
115 ret = lwres_noopresponse_parse(ctx, &b, &pkt2, &noopresponse2);
122 lwres_noopresponse_free(ctx, &noopresponse2);
124 lwres_context_freemem(ctx, b.base, b.length);
141 ret = lwres_getaddrsbyname(ctx, target,
147 lwres_gabnresponse_free(ctx, &res);
188 lwres_gabnresponse_free(ctx, &res);
211 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res);
215 lwres_gnbaresponse_free(ctx, &res);
226 lwres_gnbaresponse_free(ctx, &res);
648 ret = lwres_context_create(&ctx, NULL, NULL, NULL, 0);
651 ret = lwres_conf_parse(ctx, "resolv.conf");