add RPC definition for the portmapper/callit function
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 25 Jun 2011 03:59:12 +0000 (13:59 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 25 Jun 2011 03:59:12 +0000 (13:59 +1000)
portmap/portmap.x

index 8921b92df7cc112329b96cc7af6979c17bbff69d..819951fcee67fbe2b8f0e2169d6f2d95e3fd9500 100644 (file)
@@ -18,6 +18,10 @@ struct call_args {
        opaque args<>;
 };
 
+struct call_result {
+       unsigned int port;
+       opaque res<>;
+};
 
 program PMAP_PROGRAM {
        version PMAP_V2 {
@@ -32,6 +36,9 @@ program PMAP_PROGRAM {
 
                unsigned int
                PMAP_GETPORT(mapping)   = 3;
+
+               call_result
+               PMAP_CALLIT(call_args)  = 5;
        } = 2;
 } = 100000;