blob: d87dfd640f577f0af5ad5793b5c4eb357d111290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Srv: module
{
PATH: con "$Srv"; # some hosted, never native
#
# IP network database lookups
#
# iph2a: host name to ip addrs
# ipa2h: ip addr to host aliases
# ipn2p: service name to port
#
iph2a: fn(host: string): list of string;
ipa2h: fn(addr: string): list of string;
ipn2p: fn(net, service: string): string;
init: fn();
};
|