2016-07-22 20:15:38 +02:00
|
|
|
// Copyright 2011 The Go Authors. All rights reserved.
|
2012-12-22 02:15:33 +01:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2013-11-06 20:49:01 +01:00
|
|
|
// +build cgo,!netgo
|
|
|
|
|
2012-12-22 02:15:33 +01:00
|
|
|
package net
|
|
|
|
|
|
|
|
/*
|
|
|
|
#include <netdb.h>
|
|
|
|
*/
|
|
|
|
import "C"
|
|
|
|
|
2015-10-31 01:59:47 +01:00
|
|
|
const cgoAddrInfoFlags = C.AI_CANONNAME
|