/*---------------------------------------------------------------------------* Project: FS: File system utilization layer for application File: fs_app_data_refs.h Description: This file defines FS limitations for application content data Copyright (C) Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #ifndef __FS_APP_DATA_REFS_H__ #define __FS_APP_DATA_REFS_H__ /* * Definitions for application data limitations. * Application can refer these values to self-check your codes. */ #ifdef __cplusplus extern "C" { #endif /*---------------------------------------------------------------------------* * The rules for "installable" application content data * * Applications can be installed and launched from any (permitted) device, * with no change to application code. Here is the rules so that application * can live in every supported device. *---------------------------------------------------------------------------*/ /* The max length of path under the "root" of application data (not including terminating NULL) */ #define FS_APPLICATION_DATA_PATH_LENGTH_MAX 383 /* The max length of each file or directory name (not including terminating NULL) */ #define FS_APPLICATION_DATA_ENTRY_NAME_LENGTH_MAX 253 /* The max depth from the "root" of application data (not including the root directory)*/ #define FS_APPLICATION_DATA_DIR_DEPTH_MAX 20 /* The max size of each file */ #define FS_APPLICATION_DATA_FILE_SIZE_MAX (4024*1024*1024) #ifdef __cplusplus } #endif #endif // __FS_APP_DATA_REFS_H__