X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=portmap%2Fportmap.x;h=ef9f08e699b9465f56303039990702ddeedb992c;hb=15083e9a6c0189c59897caf5e57a9b27ffc73526;hp=d28edca34a3f26d7a7e0f40f0ffa603619461cda;hpb=870b3764acfe8b23f55b534619b9742eca4deb98;p=deb_libnfs.git diff --git a/portmap/portmap.x b/portmap/portmap.x index d28edca..ef9f08e 100644 --- a/portmap/portmap.x +++ b/portmap/portmap.x @@ -11,14 +11,14 @@ struct pmap_mapping { unsigned int port; }; -struct call_args { +struct pmap_call_args { unsigned int prog; unsigned int vers; unsigned int proc; opaque args<>; }; -struct call_result { +struct pmap_call_result { unsigned int port; opaque res<>; }; @@ -26,7 +26,7 @@ struct call_result { program PMAP_PROGRAM { version PMAP_V2 { void - PMAP_NULL(void) = 0; + PMAP_NULL(void) = 0; bool PMAP_SET(pmap_mapping) = 1; @@ -37,8 +37,8 @@ program PMAP_PROGRAM { unsigned int PMAP_GETPORT(pmap_mapping) = 3; - call_result - PMAP_CALLIT(call_args) = 5; + pmap_call_result + PMAP_CALLIT(pmap_call_args) = 5; } = 2; } = 100000;