1 /*---------------------------------------------------------------------------* 2 Project: FS: File system utilization layer for application 3 File: fs_app_data_refs.h 4 Description: This file defines FS limitations for application content data 5 6 Copyright (C) Nintendo. All rights reserved. 7 8 These coded instructions, statements, and computer programs contain 9 proprietary information of Nintendo of America Inc. and/or Nintendo 10 Company Ltd., and are protected by Federal copyright law. They may 11 not be disclosed to third parties or copied or duplicated in any form, 12 in whole or in part, without the prior written consent of Nintendo. 13 *---------------------------------------------------------------------------*/ 14 15 #ifndef __FS_APP_DATA_REFS_H__ 16 #define __FS_APP_DATA_REFS_H__ 17 18 /* 19 * Definitions for application data limitations. 20 * Application can refer these values to self-check your codes. 21 */ 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 /*---------------------------------------------------------------------------* 28 * The rules for "installable" application content data 29 * 30 * Applications can be installed and launched from any (permitted) device, 31 * with no change to application code. Here is the rules so that application 32 * can live in every supported device. 33 *---------------------------------------------------------------------------*/ 34 35 /* The max length of path under the "root" of application data (not including terminating NULL) */ 36 #define FS_APPLICATION_DATA_PATH_LENGTH_MAX 383 37 38 /* The max length of each file or directory name (not including terminating NULL) */ 39 #define FS_APPLICATION_DATA_ENTRY_NAME_LENGTH_MAX 253 40 41 /* The max depth from the "root" of application data (not including the root directory)*/ 42 #define FS_APPLICATION_DATA_DIR_DEPTH_MAX 20 43 44 /* The max size of each file */ 45 #define FS_APPLICATION_DATA_FILE_SIZE_MAX (4024*1024*1024) 46 47 #ifdef __cplusplus 48 } 49 #endif 50 51 #endif // __FS_APP_DATA_REFS_H__ 52