1 // Copyright 2016 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #pragma once 6 7 #include <zircon/compiler.h> 8 #include <zircon/types.h> 9 10 __BEGIN_CDECLS 11 12 #pragma GCC visibility push(hidden) 13 14 // Examine the next message to be read from the pipe, and yield 15 // the data size and number of handles in that message. 16 zx_status_t zxr_message_size(zx_handle_t msg_pipe, 17 uint32_t* nbytes, uint32_t* nhandles); 18 19 #pragma GCC visibility pop 20 21 __END_CDECLS 22