summaryrefslogtreecommitdiff
path: root/go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-05-24 17:08:52 +0200
committercyBerta <cyberta@riseup.net>2019-08-02 01:49:37 +0200
commit8ffbb96d908fdc5a17255ec3fbdc807f663ade38 (patch)
treef3f2865ff2925669fc1a71dcd2e8d75360f8c0fe /go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d
parentaf49cc0388441a772daddc4a08fdab53165424e6 (diff)
add shapeshifter dispatcher, go environment and buildscript for the CI
Diffstat (limited to 'go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d')
-rw-r--r--go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d26
1 files changed, 26 insertions, 0 deletions
diff --git a/go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d b/go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d
new file mode 100644
index 00000000..701202c5
--- /dev/null
+++ b/go/golang/gocache/e9/e93c8ae07eacfa0d9905af1edd158b398756c5598feb16dc3e5b1255f4742489-d
@@ -0,0 +1,26 @@
+// Code generated by cmd/cgo; DO NOT EDIT.
+
+//line /workdir/go/src/net/cgo_resnew.go:1:1
+// Copyright 2015 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.
+
+// +build cgo,!netgo
+// +build darwin linux,!android netbsd solaris
+
+package net
+
+/*
+#include <sys/types.h>
+#include <sys/socket.h>
+
+#include <netdb.h>
+*/
+import _ "unsafe"
+
+import "unsafe"
+
+func cgoNameinfoPTR(b []byte, sa *_Ctype_struct_sockaddr, salen _Ctype_socklen_t) (int, error) {
+ gerrno, err := (_C2func_getnameinfo)(sa, salen, (*_Ctype_char)(unsafe.Pointer(&b[0])), _Ctype_socklen_t(len(b)), nil, 0, (_Ciconst_NI_NAMEREQD))
+ return int(gerrno), err
+}