repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump version to 1.8.90
[deb_libnfs.git]
/
portmap
/
portmap.x
diff --git
a/portmap/portmap.x
b/portmap/portmap.x
index 8921b92df7cc112329b96cc7af6979c17bbff69d..ef9f08e699b9465f56303039990702ddeedb992c 100644
(file)
--- a/
portmap/portmap.x
+++ b/
portmap/portmap.x
@@
-4,34
+4,41
@@
const PMAP_PORT = 111; /* portmapper port number */
const PMAP_PORT = 111; /* portmapper port number */
-struct mapping {
+struct
pmap_
mapping {
unsigned int prog;
unsigned int vers;
unsigned int prot;
unsigned int port;
};
unsigned int prog;
unsigned int vers;
unsigned int prot;
unsigned int port;
};
-struct call_args {
+struct
pmap_
call_args {
unsigned int prog;
unsigned int vers;
unsigned int proc;
opaque args<>;
};
unsigned int prog;
unsigned int vers;
unsigned int proc;
opaque args<>;
};
+struct pmap_call_result {
+ unsigned int port;
+ opaque res<>;
+};
program PMAP_PROGRAM {
version PMAP_V2 {
void
program PMAP_PROGRAM {
version PMAP_V2 {
void
- PMAP_NULL(void) = 0;
+ PMAP_NULL(void)
= 0;
bool
bool
- PMAP_SET(mapping) = 1;
+ PMAP_SET(
pmap_
mapping) = 1;
bool
bool
- PMAP_UNSET(mapping) = 2;
+ PMAP_UNSET(
pmap_
mapping) = 2;
unsigned int
unsigned int
- PMAP_GETPORT(mapping) = 3;
+ PMAP_GETPORT(pmap_mapping) = 3;
+
+ pmap_call_result
+ PMAP_CALLIT(pmap_call_args) = 5;
} = 2;
} = 100000;
} = 2;
} = 100000;