X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/5bb7eb131773abd9e642f83629528b4c4e706b2e..a5f10a497bebfc680bf418193f1fd9f1ad7cc417:/lock_server.h diff --git a/lock_server.h b/lock_server.h index 560167f..69ac2b8 100644 --- a/lock_server.h +++ b/lock_server.h @@ -42,9 +42,9 @@ class lock_server : public rsm_state_transfer { void revoker(); void retryer(); string marshal_state(); - void unmarshal_state(string state); - int acquire(int &, lock_protocol::lockid_t, string id, lock_protocol::xid_t); - int release(int &, lock_protocol::lockid_t, string id, lock_protocol::xid_t); + void unmarshal_state(const string & state); + int acquire(int &, lock_protocol::lockid_t, const callback_t & id, lock_protocol::xid_t); + int release(int &, lock_protocol::lockid_t, const callback_t & id, lock_protocol::xid_t); }; #endif