Example #1
0
static BT_ERROR fullfat_init() {
	BT_ERROR Error;
	BT_HANDLE hFullFAT = BT_CreateHandle(&oHandleInterface, sizeof(struct _BT_OPAQUE_HANDLE), &Error);
	if(!hFullFAT) {
		return Error;
	}

	return BT_RegisterFilesystem(hFullFAT);
}
Example #2
0
static BT_ERROR ext2_init() {
	BT_ERROR Error;
	BT_HANDLE hFsExt2 = BT_CreateHandle(&oHandleInterface, sizeof(struct _BT_OPAQUE_HANDLE), &Error);
	if(!hFsExt2) {
		return Error;
	}

	return BT_RegisterFilesystem(hFsExt2);
}