#ifndef lock_protocol_h
#define lock_protocol_h
+#include "types.h"
#include "rpc/rpc.h"
-#include <string>
-
-using std::string;
class lock_protocol {
public:
enum rpc_numbers : proc_t {
acquire = 0x7001,
release,
- stat
+ stat,
};
};
enum status : status_t { OK, RPCERR };
enum rpc_numbers : proc_t {
revoke = 0x8001,
- retry = 0x8002
+ retry,
};
};
#endif