зеркало из https://github.com/mozilla/pjs.git
Added encode flags.
This commit is contained in:
Родитель
ed2a17b71b
Коммит
78e5f4fcb6
|
@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче