//go:cgo_ldflag "-O2"
//go:cgo_ldflag "-g"
//go:cgo_ldflag "-lresolv"
// Code generated by cmd/cgo; DO NOT EDIT.

package net

import 

import 

import _cgopackage 

type _ _cgopackage.Incomplete
var _ syscall.Errno
func ( unsafe.Pointer) unsafe.Pointer { return  }

//go:linkname _Cgo_always_false runtime.cgoAlwaysFalse
var _Cgo_always_false bool
//go:linkname _Cgo_use runtime.cgoUse
func (interface{})
type _Ctype__GoString_ string

type _Ctype___socklen_t = _Ctype_uint

type _Ctype_char int8

type _Ctype_int int32

type _Ctype_intgo = _Ctype_ptrdiff_t

type _Ctype_long int64

type _Ctype_ptrdiff_t = _Ctype_long

type _Ctype_sa_family_t = _Ctype_ushort

type _Ctype_size_t = _Ctype_ulong

type _Ctype_socklen_t = _Ctype___socklen_t

type _Ctype_struct_addrinfo struct {
	ai_flags	_Ctype_int
	ai_family	_Ctype_int
	ai_socktype	_Ctype_int
	ai_protocol	_Ctype_int
	ai_addrlen	_Ctype_socklen_t
	ai_addr		*_Ctype_struct_sockaddr
	ai_canonname	*_Ctype_char
	ai_next		*_Ctype_struct_addrinfo
}

type _Ctype_struct_sockaddr struct {
	sa_family	_Ctype_sa_family_t
	sa_data		[14]_Ctype_char
}

type _Ctype_uchar uint8

type _Ctype_uint uint32

type _Ctype_ulong uint64

type _Ctype_ushort uint16

type _Ctype_void [0]byte

//go:linkname _cgo_runtime_cgocall runtime.cgocall
func (unsafe.Pointer, uintptr) int32

//go:linkname _cgoCheckPointer runtime.cgoCheckPointer
func (interface{}, interface{})

//go:linkname _cgoCheckResult runtime.cgoCheckResult
func (interface{})
const _Ciconst_AF_INET = 0x2
const _Ciconst_AF_INET6 = 0xa
const _Ciconst_AF_UNSPEC = 0x0
const _Ciconst_AI_ALL = 0x10
const _Ciconst_AI_CANONNAME = 0x2
const _Ciconst_AI_V4MAPPED = 0x8
const _Ciconst_EAI_AGAIN = -0x3
const _Ciconst_EAI_NODATA = -0x5
const _Ciconst_EAI_NONAME = -0x2
const _Ciconst_EAI_OVERFLOW = -0xc
const _Ciconst_EAI_SYSTEM = -0xb
const _Ciconst_IPPROTO_TCP = 0x6
const _Ciconst_IPPROTO_UDP = 0x11
const _Ciconst_NI_NAMEREQD = 0x8
const _Ciconst_SOCK_DGRAM = 0x2
const _Ciconst_SOCK_STREAM = 0x1

//go:cgo_import_static _cgo_9c8efe9babca_C2func_getaddrinfo
//go:linkname __cgofn__cgo_9c8efe9babca_C2func_getaddrinfo _cgo_9c8efe9babca_C2func_getaddrinfo
var __cgofn__cgo_9c8efe9babca_C2func_getaddrinfo byte
var _cgo_9c8efe9babca_C2func_getaddrinfo = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_C2func_getaddrinfo)

//go:cgo_unsafe_args
func ( *_Ctype_char,  *_Ctype_char,  *_Ctype_struct_addrinfo,  **_Ctype_struct_addrinfo) ( _Ctype_int,  error) {
	 := _cgo_runtime_cgocall(_cgo_9c8efe9babca_C2func_getaddrinfo, uintptr(unsafe.Pointer(&)))
	if  != 0 {  = syscall.Errno() }
	if _Cgo_always_false {
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_C2func_getnameinfo
//go:linkname __cgofn__cgo_9c8efe9babca_C2func_getnameinfo _cgo_9c8efe9babca_C2func_getnameinfo
var __cgofn__cgo_9c8efe9babca_C2func_getnameinfo byte
var _cgo_9c8efe9babca_C2func_getnameinfo = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_C2func_getnameinfo)

//go:cgo_unsafe_args
func ( *_Ctype_struct_sockaddr,  _Ctype_socklen_t,  *_Ctype_char,  _Ctype_socklen_t,  *_Ctype_char,  _Ctype_socklen_t,  _Ctype_int) ( _Ctype_int,  error) {
	 := _cgo_runtime_cgocall(_cgo_9c8efe9babca_C2func_getnameinfo, uintptr(unsafe.Pointer(&)))
	if  != 0 {  = syscall.Errno() }
	if _Cgo_always_false {
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_C2func_res_search
//go:linkname __cgofn__cgo_9c8efe9babca_C2func_res_search _cgo_9c8efe9babca_C2func_res_search
var __cgofn__cgo_9c8efe9babca_C2func_res_search byte
var _cgo_9c8efe9babca_C2func_res_search = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_C2func_res_search)

//go:cgo_unsafe_args
func ( *_Ctype_char,  _Ctype_int,  _Ctype_int,  *_Ctype_uchar,  _Ctype_int) ( _Ctype_int,  error) {
	 := _cgo_runtime_cgocall(_cgo_9c8efe9babca_C2func_res_search, uintptr(unsafe.Pointer(&)))
	if  != 0 {  = syscall.Errno() }
	if _Cgo_always_false {
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
	}
	return
}

//go:linkname _cgo_runtime_gostring runtime.gostring
func (*_Ctype_char) string

// GoString converts the C string p into a Go string.
func ( *_Ctype_char) string {
	return _cgo_runtime_gostring()
}

func ( _Ctype_size_t) unsafe.Pointer {
	return _cgo_cmalloc(uint64())
}
//go:cgo_import_static _cgo_9c8efe9babca_Cfunc_free
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc_free _cgo_9c8efe9babca_Cfunc_free
var __cgofn__cgo_9c8efe9babca_Cfunc_free byte
var _cgo_9c8efe9babca_Cfunc_free = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc_free)

//go:cgo_unsafe_args
func ( unsafe.Pointer) ( _Ctype_void) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc_free, uintptr(unsafe.Pointer(&)))
	if _Cgo_always_false {
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_Cfunc_freeaddrinfo
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc_freeaddrinfo _cgo_9c8efe9babca_Cfunc_freeaddrinfo
var __cgofn__cgo_9c8efe9babca_Cfunc_freeaddrinfo byte
var _cgo_9c8efe9babca_Cfunc_freeaddrinfo = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc_freeaddrinfo)

//go:cgo_unsafe_args
func ( *_Ctype_struct_addrinfo) ( _Ctype_void) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc_freeaddrinfo, uintptr(unsafe.Pointer(&)))
	if _Cgo_always_false {
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_Cfunc_gai_strerror
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc_gai_strerror _cgo_9c8efe9babca_Cfunc_gai_strerror
var __cgofn__cgo_9c8efe9babca_Cfunc_gai_strerror byte
var _cgo_9c8efe9babca_Cfunc_gai_strerror = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc_gai_strerror)

//go:cgo_unsafe_args
func ( _Ctype_int) ( *_Ctype_char) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc_gai_strerror, uintptr(unsafe.Pointer(&)))
	if _Cgo_always_false {
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_Cfunc_getaddrinfo
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc_getaddrinfo _cgo_9c8efe9babca_Cfunc_getaddrinfo
var __cgofn__cgo_9c8efe9babca_Cfunc_getaddrinfo byte
var _cgo_9c8efe9babca_Cfunc_getaddrinfo = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc_getaddrinfo)

//go:cgo_unsafe_args
func ( *_Ctype_char,  *_Ctype_char,  *_Ctype_struct_addrinfo,  **_Ctype_struct_addrinfo) ( _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc_getaddrinfo, uintptr(unsafe.Pointer(&)))
	if _Cgo_always_false {
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_Cfunc_getnameinfo
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc_getnameinfo _cgo_9c8efe9babca_Cfunc_getnameinfo
var __cgofn__cgo_9c8efe9babca_Cfunc_getnameinfo byte
var _cgo_9c8efe9babca_Cfunc_getnameinfo = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc_getnameinfo)

//go:cgo_unsafe_args
func ( *_Ctype_struct_sockaddr,  _Ctype_socklen_t,  *_Ctype_char,  _Ctype_socklen_t,  *_Ctype_char,  _Ctype_socklen_t,  _Ctype_int) ( _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc_getnameinfo, uintptr(unsafe.Pointer(&)))
	if _Cgo_always_false {
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
	}
	return
}
//go:cgo_import_static _cgo_9c8efe9babca_Cfunc_res_search
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc_res_search _cgo_9c8efe9babca_Cfunc_res_search
var __cgofn__cgo_9c8efe9babca_Cfunc_res_search byte
var _cgo_9c8efe9babca_Cfunc_res_search = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc_res_search)

//go:cgo_unsafe_args
func ( *_Ctype_char,  _Ctype_int,  _Ctype_int,  *_Ctype_uchar,  _Ctype_int) ( _Ctype_int) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc_res_search, uintptr(unsafe.Pointer(&)))
	if _Cgo_always_false {
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
		_Cgo_use()
	}
	return
}

//go:cgo_import_static _cgo_9c8efe9babca_Cfunc__Cmalloc
//go:linkname __cgofn__cgo_9c8efe9babca_Cfunc__Cmalloc _cgo_9c8efe9babca_Cfunc__Cmalloc
var __cgofn__cgo_9c8efe9babca_Cfunc__Cmalloc byte
var _cgo_9c8efe9babca_Cfunc__Cmalloc = unsafe.Pointer(&__cgofn__cgo_9c8efe9babca_Cfunc__Cmalloc)

//go:linkname runtime_throw runtime.throw
func (string)

//go:cgo_unsafe_args
func ( uint64) ( unsafe.Pointer) {
	_cgo_runtime_cgocall(_cgo_9c8efe9babca_Cfunc__Cmalloc, uintptr(unsafe.Pointer(&)))
	if  == nil {
		runtime_throw("runtime: C malloc failed")
	}
	return
}