/* * RPC spec for the lock server. * Uses opaque<> instead of string<> because the latter * cannot hold \0. * rpcc -c lock_proto.x ; rpcc -h lock_proto.x */ typedef opaque lname<>; program LOCK_PROG { version LOCK_VERS { bool LOCK_ACQUIRE(lname) = 1; bool LOCK_RELEASE(lname) = 2; bool LOCK_GRANT(lname) = 3; bool LOCK_REVOKE(lname) = 4; } = 1; } = 400003;