代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_gptfdisk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/* mbr.h -- MBR data structure definitions, types, and functions */
/* This program is copyright (c) 2009-2013 by Roderick W. Smith. It is distributed
under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
#include <stdint.h>
#include <sys/types.h>
#include "gptpart.h"
//#include "partnotes.h"
#include "diskio.h"
#include "basicmbr.h"
#ifndef __MBRSTRUCTS
#define __MBRSTRUCTS
using namespace std;
/****************************************
* *
* MBRData class and related structures *
* *
****************************************/
// Full data in tweaked MBR format
class MBRData : public BasicMBRData {
protected:
public:
MBRData(void) {}
MBRData(string deviceFilename) : BasicMBRData(deviceFilename) {}
MBRData & operator=(const BasicMBRData & orig);
~MBRData(void);
// Functions to create, delete, or change partitions
// Pass EmptyMBR 1 to clear the boot loader code, 0 to leave it intact
void MakeProtectiveMBR(int clearBoot = 0);
void OptimizeEESize(void);
int DeleteByLocation(uint64_t start64, uint64_t length64);
// Functions to extract data on specific partitions....
GPTPart AsGPT(int i);
}; // struct MBRData
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。