Lines Matching defs:ctx_query
137 * Content of type ctx_query.
148 struct ctx_query {
234 /** compare two ctx_query elements */
241 void context_query_delete(struct ctx_query* q);
252 * @return new ctx_query or NULL for malloc failure.
254 struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, int rrtype,
283 uint8_t* context_serialize_new_query(struct ctx_query* q, uint32_t* len);
295 uint8_t* context_serialize_answer(struct ctx_query* q, int err,
305 uint8_t* context_serialize_cancel(struct ctx_query* q, uint32_t* len);
327 * @return looked up ctx_query or NULL for malloc failure.
329 struct ctx_query* context_lookup_new_query(struct ub_ctx* ctx,
337 * @return new ctx_query or NULL for malloc failure.
339 struct ctx_query* context_deserialize_new_query(struct ub_ctx* ctx,
348 * @return ctx_query with answer added or NULL for malloc failure.
350 struct ctx_query* context_deserialize_answer(struct ub_ctx* ctx,
358 * @return ctx_query to cancel or NULL for failure.
360 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,