X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=src%2Finternal.h;h=38168814e8d32029beaecab2979874dffe337869;hp=fed84663626f2eeae1c1709a04b425451a995789;hb=be4d66dc60264126ba6b3fbd67609ef0b6c0d266;hpb=e1d3be7eb6f703e8cf9b8104497f010c0298637a;ds=sidebyside diff --git a/src/internal.h b/src/internal.h index fed8466..3816881 100644 --- a/src/internal.h +++ b/src/internal.h @@ -455,7 +455,7 @@ adns_status adns__internal_submit(adns_state ads, adns_query *query_r, const typeinfo *typei, vbuf *qumsg_vb, int id, adns_queryflags flags, struct timeval now, - const qcontext *ctx); + qcontext *ctx); /* Submits a query (for internal use, called during external submits). * * The new query is returned in *query_r, or we return adns_s_nomemory. @@ -464,7 +464,8 @@ adns_status adns__internal_submit(adns_state ads, adns_query *query_r, * the memory for it is _taken over_ by this routine whether it * succeeds or fails (if it succeeds, the vbuf is reused for qu->vb). * - * *ctx is copied byte-for-byte into the query. + * *ctx is copied byte-for-byte into the query. Before doing this, its tinfo + * field may be modified by type hooks. * * When the child query is done, ctx->callback will be called. The * child will already have been taken off both the global list of