Disabling auto-refresh of game list by default, as it is causing bugs sometimes
[open-ps2-loader/simon.git] / modules / ps2fs / block.h
blobb123f3e6f1f603970a920c29b7bfa5f940be34c4
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
10 # $Id: block.h 577 2004-09-14 14:41:46Z pixel $
13 #ifndef _BLOCK_H
14 #define _BLOCK_H
16 int blockSeekNextSegment(pfs_cache_t *clink, pfs_blockpos_t *blockpos);
17 u32 blockSyncPos(pfs_blockpos_t *blockpos, u64 size);
18 int blockInitPos(pfs_cache_t *clink, pfs_blockpos_t *blockpos, u64 position);
19 int blockExpandSegment(pfs_cache_t *clink, pfs_blockpos_t *blockpos, u32 count);
20 int blockAllocNewSegment(pfs_cache_t *clink, pfs_blockpos_t *blockpos, u32 blocks);
21 pfs_blockinfo* blockGetCurrent(pfs_blockpos_t *blockpos);
22 pfs_cache_t *blockGetNextSegment(pfs_cache_t *clink, int *result);
23 pfs_cache_t *blockGetLastSegmentDescriptorInode(pfs_cache_t *clink, int *result);
25 #endif