- adapted README with tested plattforms
[deb_libnfs.git] / portmap / portmap.x
CommitLineData
84004dbf
RS
1/*
2 * From RFC1833
3 */
4
5const PMAP_PORT = 111; /* portmapper port number */
6
7struct mapping {
8 unsigned int prog;
9 unsigned int vers;
10 unsigned int prot;
11 unsigned int port;
12};
13
14struct call_args {
15 unsigned int prog;
16 unsigned int vers;
17 unsigned int proc;
18 opaque args<>;
19};
20
21
22program PMAP_PROGRAM {
23 version PMAP_V2 {
24 void
25 PMAP_NULL(void) = 0;
26
27 bool
28 PMAP_SET(mapping) = 1;
29
30 bool
31 PMAP_UNSET(mapping) = 2;
32
33 unsigned int
34 PMAP_GETPORT(mapping) = 3;
35 } = 2;
36} = 100000;
37