YARP
Yet Another Robot Platform
PlatformIfaddrs.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
7
#ifndef YARP_OS_IMPL_PLATFORMIFADDRS_H
8
#define YARP_OS_IMPL_PLATFORMIFADDRS_H
9
10
#include <
yarp/conf/system.h
>
11
#if defined(YARP_HAS_IFADDRS_H)
12
# include <ifaddrs.h>
13
#endif
14
15
namespace
yarp
{
16
namespace
os {
17
namespace
impl {
18
19
// ACE_OS::getifaddrs, etc are not implemented, anyway ACE implementation
20
// is different, therefore they are not needed.
21
#if !defined(YARP_HAS_ACE)
22
using ::freeifaddrs;
23
using ::getifaddrs;
24
#endif
25
26
}
// namespace impl
27
}
// namespace os
28
}
// namespace yarp
29
30
#endif
// YARP_OS_IMPL_PLATFORMIFADDRS_H
yarp
The main, catch-all namespace for YARP.
Definition:
dirs.h:16
system.h
YARP
3.5.1
src
libYARP_os
src
yarp
os
impl
PlatformIfaddrs.h
Generated on Sat Dec 25 2021 02:23:04 for YARP by
1.9.1