Lines Matching defs:ctx_query
130 * Content of type ctx_query.
141 struct ctx_query {
225 /** compare two ctx_query elements */
232 void context_query_delete(struct ctx_query* q);
242 * @return new ctx_query or NULL for malloc failure.
244 struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, int rrtype,
272 uint8_t* context_serialize_new_query(struct ctx_query* q, uint32_t* len);
284 uint8_t* context_serialize_answer(struct ctx_query* q, int err,
294 uint8_t* context_serialize_cancel(struct ctx_query* q, uint32_t* len);
316 * @return looked up ctx_query or NULL for malloc failure.
318 struct ctx_query* context_lookup_new_query(struct ub_ctx* ctx,
326 * @return new ctx_query or NULL for malloc failure.
328 struct ctx_query* context_deserialize_new_query(struct ub_ctx* ctx,
337 * @return ctx_query with answer added or NULL for malloc failure.
339 struct ctx_query* context_deserialize_answer(struct ub_ctx* ctx,
347 * @return ctx_query to cancel or NULL for failure.
349 struct ctx_query* context_deserialize_cancel(struct ub_ctx* ctx,