[in,ref] echo_BytePipe *p
);
}
+#if 0
+ struct frstrans_BytePipe_chunk {
+ uint32_t count;
+ uint8_t *array;
+ };
+
+ struct frstrans_RdcGetFileDataAsync r;
+ struct frstrans_BytePipe_chunk chunk;
+ struct frstrans_BytePipe *p;
+
+ p = dcerpc_frstrans_BytePipe_create()..;
+
+ r.out.byte_pipe = p;
+
+ subreq = dceprc_frstrans_RdcGetFileDataAsync_send(..., r);
+
+ while (true) {
+ subreq2 = dcerpc_frstrans_BytePipe_read_chunk_send(..., r.out.byte_pipe)
+
+ dcerpc_frstrans_BytePipe_read_chunk_recv(subreq2, mem_ctx, &chunk);
+
+ if (chunk.count == 0) {
+ break;
+ }
+ }
+ subreq = dceprc_frstrans_RdcGetFileDataAsync_recv(subreq);
+
+// frstrans_metzeSomeStructExample
+
+ typedef struct {
+ uint16 fixed[16];
+ hyper bla;
+ uint8 dummy;
+ uint32 foo_bug[45];
+ } frstrans_Struct;
+ typedef pipe frstrans_Struct *frstrans_StructPipe;
+
+ WERROR frstrans_metzeSomeStructExample(
+ [in,ref] policy_handle *server_context,
+ [out,ref] frstrans_StructPipe *struct_pipe
+ );
+
+ struct frstrans_StructPipe_chunk {
+ uint32_t count;
+ struct frstrans_Struct *array;
+ };
+
+ struct frstrans_metzeSomeStructExample r;
+ struct frstrans_StructPipe_chunk chunk;
+ struct frstrans_StructPipe *p;
+
+ p = dcerpc_frstrans_StructPipe_create()..;
+
+ r.out.byte_pipe = p;
+
+ subreq = dceprc_frstrans_metzeSomeStructExample_send(..., r);
+
+ while (true) {
+ subreq2 = dcerpc_frstrans_StructPipe_read_chunk_send(..., r.out.byte_pipe)
+
+ dcerpc_frstrans_StructPipe_read_chunk_recv(subreq2, mem_ctx, &chunk);
+
+ if (chunk.count == 0) {
+ break;
+ }
+ }
+ subreq = dceprc_frstrans_metzeSomeStructExample_recv(subreq);
+#endif