import "common.proto";

message CUser_GetSavedHardwareInfo_Request {
}

message CUser_GetSavedHardwareInfo_Response {
	optional string friendly_name = 1;
	optional uint64 saved_hardware_id = 2;
	optional .UserSystemInformation system_info = 3;
}

message CUser_SaveHardwareInfo_Request {
	optional string friendly_name = 1;
}

message CUser_SaveHardwareInfo_Response {
	optional uint64 saved_hardware_id = 1;
}

service User {
	// ePrivilege=1, eClientExecutionSite=2
	rpc GetSavedHardwareInfo (.CUser_GetSavedHardwareInfo_Request) returns (.CUser_GetSavedHardwareInfo_Response);
	// ePrivilege=1, eClientExecutionSite=2
	rpc SaveHardwareInfo (.CUser_SaveHardwareInfo_Request) returns (.CUser_SaveHardwareInfo_Response);
}

