--- libwww/Library/src/HTReqMan.c 1996/04/03 22:10:07 2.34 +++ libwww/Library/src/HTReqMan.c 1996/04/12 17:48:40 2.35 @@ -3,6 +3,7 @@ ** ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. +** @(#) $Id: HTReqMan.c,v 2.35 1996/04/12 17:48:40 frystyk Exp $ ** ** Authors ** TBL Tim Berners-Lee timbl@w3.org @@ -461,6 +462,19 @@ PUBLIC HTFormat HTRequest_debugFormat (H } /* +** Input stream +*/ +PUBLIC void HTRequest_setInputStream (HTRequest *request, HTStream *input) +{ + if (request) request->input_stream = input; +} + +PUBLIC HTStream *HTRequest_inputStream (HTRequest *request) +{ + return request ? request->input_stream : NULL; +} + +/* ** Net before and after callbacks. list can be NULL */ PUBLIC void HTRequest_setBefore (HTRequest *request, HTList *befores,