X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/61809b48ade4c21b1b01931d520aa2abc7507032..a4175b2e216a20b86cc872dea8a08005c60617a5:/lock_protocol.h diff --git a/lock_protocol.h b/lock_protocol.h index 60df0ef..61f0998 100644 --- a/lock_protocol.h +++ b/lock_protocol.h @@ -3,13 +3,14 @@ #ifndef lock_protocol_h #define lock_protocol_h -#include "rpc.h" +#include "rpc/rpc.h" +#include class lock_protocol { public: enum xxstatus { OK, RETRY, RPCERR, NOENT, IOERR }; typedef int status; - typedef unsigned long long lockid_t; + typedef std::string lockid_t; typedef unsigned long long xid_t; enum rpc_numbers { acquire = 0x7001,