repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PORTMAP: Rename the functions in PMAP to PMAP2 to desribe the version of PMAP we...
[deb_libnfs.git]
/
portmap
/
portmap.x
diff --git
a/portmap/portmap.x
b/portmap/portmap.x
index 606583184f4f350aee5e2ed21d2d03f533b38a15..fc4f22475308f07181dfc3e64c3a25d163b9f0a0 100644
(file)
--- a/
portmap/portmap.x
+++ b/
portmap/portmap.x
@@
-23,22
+23,34
@@
struct pmap_call_result {
opaque res<>;
};
opaque res<>;
};
+struct pmap_mapping_list {
+ pmap_mapping map;
+ pmap_mapping_list *next;
+};
+
+struct pmap_dump_result {
+ struct pmap_mapping_list *list;
+};
+
program PMAP_PROGRAM {
version PMAP_V2 {
void
program PMAP_PROGRAM {
version PMAP_V2 {
void
- PMAP
_NULL(void)
= 0;
+ PMAP
2_NULL(void)
= 0;
bool
bool
- PMAP_SET(pmap_mapping) = 1;
+ PMAP
2
_SET(pmap_mapping) = 1;
bool
bool
- PMAP_UNSET(pmap_mapping) = 2;
+ PMAP
2
_UNSET(pmap_mapping) = 2;
unsigned int
unsigned int
- PMAP_GETPORT(pmap_mapping) = 3;
+ PMAP2_GETPORT(pmap_mapping) = 3;
+
+ pmap_dump_result
+ PMAP2_DUMP(void) = 4;
pmap_call_result
pmap_call_result
- PMAP_CALLIT(pmap_call_args) = 5;
+ PMAP
2
_CALLIT(pmap_call_args) = 5;
} = 2;
} = 100000;
} = 2;
} = 100000;