X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/ba03b19875aa2e3586e49b10904563cdd3b91de0..4a160f880ce46153acb23b137f30fd588df5fb9d:/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