extent_client.cc
extent_protocol::status
extent_client::getattr(extent_protocol::extentid_t eid, 
		       extent_protocol::attr &attr)
{
  extent_protocol::status ret = extent_protocol::OK;
  ret = cl->call(extent_protocol::getattr, eid, attr);
  return ret;
}
// a demo to show how to use RPC
a demo to show how to use RPC
a demo to show how to use RPC
extent_protocol::status
extent_client::getattr(extent_protocol::extentid_t eid, 
		       extent_protocol::attr &attr)
{
  extent_protocol::status ret = extent_protocol::OK;
  ret = cl->call(extent_protocol::getattr, eid, attr);
  return ret;
}
extent_protocol :: status extent_client :: getattr ( extent_protocol :: extentid_t eid , extent_protocol :: attr & attr ) { extent_protocol :: status ret = extent_protocol :: OK ; ret = cl -> call ( extent_protocol :: getattr , eid , attr ) ; return ret ; }
a demo to show how to use RPC
a demo to show how to use RPC