Web MIDI: send back error information to blink on starting sessions
[chromium-blink-merge.git] / net / base / iovec.h
blobf1a85e3b53cfe3c84b4999ff1cbdfd9c727ebabf
1 // Copyright (c) 2013 The Chromium 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.
5 #ifndef NET_BASE_IOVEC_H_
6 #define NET_BASE_IOVEC_H_
8 #if defined(OS_POSIX)
9 #include <sys/uio.h>
10 #else
11 /* Structure for scatter/gather I/O. */
12 struct iovec {
13 void* iov_base; /* Pointer to data. */
14 size_t iov_len; /* Length of data. */
16 #endif // defined(OS_LINUX)
18 #endif // NET_BASE_IOVEC_H_