/usr/include/thunderbird-11.0.1/nsMsgCompressIStream.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #include "msgCore.h"
#include "nsIAsyncInputStream.h"
#include "nsIInputStream.h"
#include "nsCOMPtr.h"
#include "nsAutoPtr.h"
#include "zlib.h"
class NS_MSG_BASE nsMsgCompressIStream : public nsIAsyncInputStream
{
public:
nsMsgCompressIStream();
~nsMsgCompressIStream();
NS_DECL_ISUPPORTS
NS_DECL_NSIINPUTSTREAM
NS_DECL_NSIASYNCINPUTSTREAM
nsresult InitInputStream(nsIInputStream *rawStream);
protected:
nsresult DoInflation();
nsCOMPtr<nsIInputStream> m_iStream;
nsAutoArrayPtr<char> m_zbuf;
nsAutoArrayPtr<char> m_databuf;
char *m_dataptr;
PRUint32 m_dataleft;
bool m_inflateAgain;
z_stream m_zstream;
};
|