// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// This file holds stub versions of the cgo functions called on Unix systems.
// We build this file:
// - if using the netgo build tag on a Unix system
// - on a Unix system without the cgo resolver functions
//   (Darwin always provides the cgo functions, in cgo_unix_syscall.go)
// - on wasip1, where cgo is never available

//go:build (netgo && unix) || (unix && !cgo && !darwin) || js || wasip1

package net

import 

// cgoAvailable set to false to indicate that the cgo resolver
// is not available on this system.
const cgoAvailable = false

func cgoLookupHost( context.Context,  string) ( []string,  error) {
	panic("cgo stub: cgo not available")
}

func cgoLookupPort( context.Context, ,  string) ( int,  error) {
	panic("cgo stub: cgo not available")
}

func cgoLookupIP( context.Context, ,  string) ( []IPAddr,  error) {
	panic("cgo stub: cgo not available")
}

func cgoLookupCNAME( context.Context,  string) ( string,  error,  bool) {
	panic("cgo stub: cgo not available")
}

func cgoLookupPTR( context.Context,  string) ( []string,  error) {
	panic("cgo stub: cgo not available")
}