1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
8 [RefCounted] using mozilla::ipc::DataPipeReceiver from "mozilla/ipc/DataPipe.h";
9 [RefCounted] using mozilla::RemoteLazyInputStream from "mozilla/RemoteLazyInputStream.h";
20 struct StringInputStreamParams
25 struct FileInputStreamParams
27 FileDescriptor fileDescriptor;
28 int32_t behaviorFlags;
32 struct MultiplexInputStreamParams
34 InputStreamParams[] streams;
35 uint32_t currentStream;
37 bool startedReadingCurrent;
40 struct SlicedInputStreamParams
42 InputStreamParams stream;
49 struct RemoteLazyInputStreamParams
51 RemoteLazyInputStream stream;
54 struct DataPipeReceiverStreamParams
56 DataPipeReceiver pipe;
59 union InputStreamParams
61 StringInputStreamParams;
62 FileInputStreamParams;
63 BufferedInputStreamParams;
64 MIMEInputStreamParams;
65 MultiplexInputStreamParams;
66 SlicedInputStreamParams;
67 RemoteLazyInputStreamParams;
68 InputStreamLengthWrapperParams;
69 EncryptedFileInputStreamParams;
70 DataPipeReceiverStreamParams;
73 struct EncryptedFileInputStreamParams
75 FileInputStreamParams fileInputStreamParams;
80 struct BufferedInputStreamParams
82 InputStreamParams? optionalStream;
86 struct MIMEInputStreamParams
88 InputStreamParams? optionalStream;
89 HeaderEntry[] headers;
93 struct InputStreamLengthWrapperParams
95 InputStreamParams stream;
101 } // namespace mozilla