blob: 8f42129ab26aa7f9089c224a7813b6186edf591c [file] [log] [blame]
mark a. foltzcbdea4b2019-11-18 16:49:14 -08001// Copyright 2019 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.
4
5#ifndef PLATFORM_IMPL_TIMEVAL_POSIX_H_
6#define PLATFORM_IMPL_TIMEVAL_POSIX_H_
7
8#include <sys/time.h> // timeval
9
10#include "platform/api/time.h"
11
12namespace openscreen {
mark a. foltzcbdea4b2019-11-18 16:49:14 -080013
14struct timeval ToTimeval(const Clock::duration& timeout);
15
mark a. foltzcbdea4b2019-11-18 16:49:14 -080016} // namespace openscreen
17
18#endif // PLATFORM_IMPL_TIMEVAL_POSIX_H_