This commit is contained in:
warren%netscape.com 1999-07-21 07:05:12 +00:00
Родитель ed2a17b71b
Коммит 78e5f4fcb6
1 изменённых файлов: 14 добавлений и 7 удалений

Просмотреть файл

@ -30,21 +30,28 @@ interface nsIHTTPProtocolHandler : nsIProtocolHandler
in unsigned long port,
in nsIChannel transport);
/**
*
*/
nsIInputStream NewEncodeStream(in nsIInputStream rawStream);
const unsigned long ENCODE_NORMAL = 0;
const unsigned long ENCODE_ADD_CRLF = (1 << 0);
const unsigned long ENCODE_QUOTE_LINES = (1 << 1);
/**
*
*/
nsIInputStream NewDecodeStream(in nsIInputStream encodedStream);
nsIInputStream NewEncodeStream(in nsIInputStream rawStream,
in unsigned long encodeFlags);
/**
*
*/
nsIInputStream NewPostDataStream(in boolean isFile,
in string data);
nsIInputStream NewDecodeStream(in nsIInputStream encodedStream,
in unsigned long encodeFlags);
/**
*
*/
nsIInputStream NewPostDataStream(in boolean isFile,
in string data,
in unsigned long encodeFlags);
};