Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(103)

Side by Side Diff: src/net/lookup_stub.go

Issue 152570049: [dev.power64] code review 152570049: all: merge default into dev.power64 (Closed)
Patch Set: diff -r 36f7fc9495481ed67a159eea0eb2fac35b7c46a5 https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/net/ipraw_test.go ('k') | src/net/lookup_unix.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build nacl
6
7 package net
8
9 import "syscall"
10
11 func lookupProtocol(name string) (proto int, err error) {
12 return 0, syscall.ENOPROTOOPT
13 }
14
15 func lookupHost(host string) (addrs []string, err error) {
16 return nil, syscall.ENOPROTOOPT
17 }
18
19 func lookupIP(host string) (ips []IP, err error) {
20 return nil, syscall.ENOPROTOOPT
21 }
22
23 func lookupPort(network, service string) (port int, err error) {
24 return 0, syscall.ENOPROTOOPT
25 }
26
27 func lookupCNAME(name string) (cname string, err error) {
28 return "", syscall.ENOPROTOOPT
29 }
30
31 func lookupSRV(service, proto, name string) (cname string, srvs []*SRV, err erro r) {
32 return "", nil, syscall.ENOPROTOOPT
33 }
34
35 func lookupMX(name string) (mxs []*MX, err error) {
36 return nil, syscall.ENOPROTOOPT
37 }
38
39 func lookupNS(name string) (nss []*NS, err error) {
40 return nil, syscall.ENOPROTOOPT
41 }
42
43 func lookupTXT(name string) (txts []string, err error) {
44 return nil, syscall.ENOPROTOOPT
45 }
46
47 func lookupAddr(addr string) (ptrs []string, err error) {
48 return nil, syscall.ENOPROTOOPT
49 }
OLDNEW
« no previous file with comments | « src/net/ipraw_test.go ('k') | src/net/lookup_unix.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b