/usr/include/sipxtapi/os/linux/AdapterInfo.h is in libsipxtapi-dev 3.3.0~test17-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | //
// Copyright (C) 2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2004-2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#ifndef getDNSServers_h_
#define getDNSServers_h_
#ifdef __cplusplus
#include <utl/UtlString.h>
/// Return this host's IP addresses.
extern "C"
bool getAllLocalHostIps(const class HostAdapterAddress* localHostAddresses[],
int &numAddresses);
/**<
* Does not include the "loopback" address.
*/
/// Return a generated adapter name associated with the IP address.
extern "C"
bool getContactAdapterName(UtlString &adapterName, const UtlString &ipAddress,
bool unusedHere);
#endif
#endif // getDNSServers_h_
|