vitasdk
Documentation of the vitasdk

Exports for User. More...

Data Structures

struct  SceLsdbString
 String object used by SceLsdb. More...
 
struct  SceLsdbUtf16String
 UTF-16 string object used by localized SceLsdb records. More...
 
struct  SceLsdbAppDatabase
 Handle passed as the first argument to AppDB functions that require it. More...
 
struct  SceLsdbQueryContext
 Query and change-notification context for the process's shared AppDB. More...
 
struct  SceLsdbAppInfo
 Reference-counted map of AppDB values for one title. More...
 
struct  SceLsdbAppInfoObserver
 Storage for one AppInfo observer in the calling process. More...
 
struct  SceLsdbAppInfoArray
 PAF vector of SceLsdbAppInfo objects. More...
 
struct  SceLsdbInt32Array
 PAF vector of signed 32-bit values used by the AppDB page operations. More...
 
struct  SceLsdbStringArray
 PAF vector of SceLsdbString objects. More...
 
struct  SceLsdbPageInfo
 One row of tbl_appinfo_page. More...
 
struct  SceLsdbPageInfoRef
 Reference-counted AppDB page-information object. More...
 
struct  SceLsdbPageInfoRefArray
 PAF vector of SceLsdbPageInfoRef objects. More...
 
struct  SceLsdbSpecialPageInfo
 Information associated with an icon on a special negative page. More...
 
struct  SceLsdbSpecialPageInfoRef
 Reference-counted SceLsdbSpecialPageInfo object. More...
 
struct  SceLsdbIconInfo
 One row of tbl_appinfo_icon. More...
 
struct  SceLsdbIconInfoRef
 Reference-counted AppDB icon-information object. More...
 
struct  SceLsdbIconInfoRefArray
 PAF vector of SceLsdbIconInfoRef objects. More...
 
struct  SceLsdbIconInfoRefArrayRef
 Reference-counted vector of SceLsdbIconInfoRef objects. More...
 
struct  SceLsdbIconInfoRefArrayRefArray
 PAF vector containing one SceLsdbIconInfoRefArrayRef for each requested AppDB page. More...
 
struct  SceLsdbDbBlobConfig
 Database location and lifetime callback held by a SceLsdbDbBlob. More...
 
struct  SceLsdbDbBlob
 Database-backed PAF stream returned by the blob accessors. More...
 
struct  SceLsdbDbBlobRef
 Reference-counted database blob returned by SceLsdb. More...
 
struct  SceLsdbThemePageLayout
 Fields parsed from one BackgroundParam entry in a Shell theme. More...
 
struct  SceLsdbThemeSystemIconLayout
 One IconParam entry parsed from a Shell theme. More...
 
struct  SceLsdbLocalizedThemeStrings
 Selected and per-language strings parsed from a Shell theme. More...
 
struct  SceLsdbThemeStartScreenLayout
 StartScreenProperty fields parsed from a Shell theme. More...
 
struct  SceLsdbThemeInformationBarLayout
 InfomationBarProperty fields parsed from a Shell theme. More...
 
struct  SceLsdbThemeLayout
 Shell theme-layout object read by sceLsdbUpdateThemeLayout. More...
 
struct  SceLsdbThemeLayoutRef
 Reference-counted shell theme-layout object. More...
 
struct  SceLsdbThemeInfo
 One localized row of tbl_theme. More...
 
struct  SceLsdbValue
 Integer-or-string value stored in tbl_appinfo or tbl_config. More...
 
struct  SceLsdbValueArray
 PAF vector of SceLsdbValue objects. More...
 
struct  SceLsdbAppInfoFilter
 One condition used to filter AppInfo records. More...
 
struct  SceLsdbNewEventDatabase
 NewEvent change-notification wrapper for the calling process. More...
 
struct  SceLsdbNewEventSelector
 Selector accepted by the NewEvent update and deletion operations. More...
 
struct  SceLsdbNewEvent
 One row of the FW 3.60 tbl_newEvent database. More...
 
struct  SceLsdbNewEventRef
 Reference-counted SceLsdbNewEvent object. More...
 
struct  SceLsdbNewEventRefArray
 PAF vector of SceLsdbNewEventRef objects. More...
 
struct  SceLsdbTimeRange
 Start and end RTC ticks used by sceLsdbIsCurrentTimeInRange. More...
 
struct  SceLsdbLiveAreaPccInfo
 PCC state stored in tbl_livearea for one title. More...
 
struct  SceLsdbLiveAreaSfEntry
 One sfType/sfTarg pair stored in tbl_livearea. More...
 
struct  SceLsdbLiveAreaObject
 Common prefix of every object in a parsed LiveArea object list. More...
 
struct  SceLsdbLiveAreaBackgroundImage
 Parsed LiveArea background image. More...
 
struct  SceLsdbLiveAreaSystemFunctionZone
 Parsed system-function-zone entries. More...
 
struct  SceLsdbLiveAreaStartupImage
 Parsed gate startup image. More...
 
struct  SceLsdbLiveAreaTitleColor
 Parsed LiveArea title color, with each component scaled to 0.0 through 1.0. More...
 
struct  SceLsdbLiveAreaObjectListNode
 Node in the parsed LiveArea object list. More...
 
struct  SceLsdbLiveAreaFrameElement
 Common prefix of a parsed target, background, image, or text element. More...
 
struct  SceLsdbLiveAreaVisualElement
 Common prefix of parsed background, image, and text elements. More...
 
struct  SceLsdbLiveAreaTargetElement
 Parsed LiveArea target element. More...
 
struct  SceLsdbLiveAreaBackgroundElement
 Parsed LiveArea background element. More...
 
struct  SceLsdbLiveAreaImageElement
 Parsed LiveArea image element. More...
 
struct  SceLsdbLiveAreaTextElement
 Parsed LiveArea text element. More...
 
struct  SceLsdbLiveAreaFrameItem
 One liveitem parsed from a LiveArea frame. More...
 
struct  SceLsdbLiveAreaFrame
 One parsed row of tbl_livearea_frame. More...
 
struct  SceLsdbLiveAreaFrameList
 Parsed LiveArea template and its list of objects of different types. More...
 
struct  SceLsdbLiveAreaFrameListRef
 Reference-counted SceLsdbLiveAreaFrameList object. More...
 
struct  SceLsdbLiveAreaParser
 State used while parsing one LiveArea template. More...
 
struct  SceLsdbIconLayoutEntry
 Entry stored in ux0:iconlayout.ini. More...
 
union  SceLsdbValue.data
 

Macros

#define SCE_LSDB_THEME_PAGE_LAYOUT_COUNT   10
 
#define SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_COUNT   20
 
#define SCE_LSDB_THEME_LOCALIZED_STRING_COUNT   20
 

Typedefs

typedef void(* SceLsdbAppInfoObserverCallback) (SceLsdbAppInfoEventType event_type, const SceLsdbAppInfo *app_info, void *user_data)
 AppInfo observer callback for the calling process.
 
typedef int(* SceLsdbDbBlobCallback) (SceInt32 phase, SceInt32 mode, void *user_data, void **database_handle)
 Callback used by a database blob to acquire and release its database handle.
 
typedef int(* SceLsdbContentRatingCallback) (SceInt32 *enabled, SceInt32 *rating)
 Callback used to obtain the current content-rating configuration.
 
typedef void(* SceLsdbAppInfoCallback) (const SceLsdbAppInfo *app_info, void *user_data)
 Callback invoked once for each title enumerated by sceLsdbGetAllAppInfo.
 

Enumerations

enum  SceLsdbErrorCode {
  SCE_LSDB_ERROR_OUT_OF_RANGE = 0x80101000 , SCE_LSDB_ERROR_INVALID_ARGUMENT = 0x80101001 , SCE_LSDB_ERROR_NO_MEMORY = 0x80101002 , SCE_LSDB_ERROR_INVALID_HANDLE = 0x80101003 ,
  SCE_LSDB_ERROR_DATABASE_CONSTRAINT = 0x80101004 , SCE_LSDB_ERROR_NOT_FOUND = 0x80101005 , SCE_LSDB_ERROR_INVALID_FILTER = 0x80101007 , SCE_LSDB_ERROR_INVALID_NEW_EVENT_IDENTIFIER = 0x80101008 ,
  SCE_LSDB_ERROR_REQUIRED_APPINFO_FIELD_MISSING = 0x80101009 , SCE_LSDB_ERROR_PAGE_NUMBER_OUT_OF_RANGE = 0x8010100B , SCE_LSDB_ERROR_ICON_POSITION_OCCUPIED = 0x8010100C , SCE_LSDB_ERROR_PROTECTED_APPINFO_KEY = 0x80101011 ,
  SCE_LSDB_ERROR_DATABASE_LANGUAGE_MISMATCH = 0x801010F0 , SCE_LSDB_ERROR_DATABASE_CONFIGURATION_MISMATCH = 0x801010F1 , SCE_LSDB_ERROR_DATABASE_SCHEMA_TOO_NEW = 0x801010F2 , SCE_LSDB_ERROR_DATABASE_VERSION_MISMATCH = 0x801010F3 ,
  SCE_LSDB_ERROR_INVALID_DATABASE_VERSION = 0x801010F4 , SCE_LSDB_ERROR_DATABASE_UNK_F5 = 0x801010F5 , SCE_LSDB_ERROR_DATABASE_UNK_FE = 0x801010FE , SCE_LSDB_ERROR_DATABASE_CORRUPT = 0x801010FF
}
 Errors returned by the FW 3.60 SceLsdb implementation. More...
 
enum  SceLsdbOpenMode { SCE_LSDB_OPEN_MODE_NORMAL = 59 , SCE_LSDB_OPEN_MODE_REBUILD = -59 }
 Values accepted by sceLsdbOpen on FW 3.60. More...
 
enum  SceLsdbExtendedMemoryMode { SCE_LSDB_EXTENDED_MEMORY_MODE_DEFAULT = 0 , SCE_LSDB_EXTENDED_MEMORY_MODE_29_MIB = 1 , SCE_LSDB_EXTENDED_MEMORY_MODE_77_MIB = 2 , SCE_LSDB_EXTENDED_MEMORY_MODE_109_MIB = 3 }
 Extended-memory modes returned by sceLsdbGetExtendedMemoryMode. More...
 
enum  SceLsdbAppInfoEventType { SCE_LSDB_APP_INFO_EVENT_INSERT_APPLICATION = 0 , SCE_LSDB_APP_INFO_EVENT_DELETE_TITLE_DATA = 1 , SCE_LSDB_APP_INFO_EVENT_UPDATE_APPLICATION = 2 , SCE_LSDB_APP_INFO_EVENT_UPDATE_APP_INFO = 3 }
 AppInfo operation reported to an SceLsdbAppInfoObserverCallback. More...
 
enum  SceLsdbIconType { SCE_LSDB_ICON_TYPE_APPLICATION = 0 , SCE_LSDB_ICON_TYPE_FOLDER = 5 , SCE_LSDB_ICON_TYPE_POWER = 6 }
 Known values of SceLsdbIconInfo::type on FW 3.60. More...
 
enum  SceLsdbIcon0Type { SCE_LSDB_ICON0_TYPE_FOLDER = 7 , SCE_LSDB_ICON0_TYPE_POWER = 8 }
 Known values of SceLsdbIconInfo::icon0_type on FW 3.60. More...
 
enum  SceLsdbIconInfoUpdateFlag {
  SCE_LSDB_ICON_INFO_UPDATE_TITLE = 0x00000001 , SCE_LSDB_ICON_INFO_UPDATE_ICON_PATH = 0x00000002 , SCE_LSDB_ICON_INFO_UPDATE_ICON0_TYPE = 0x00000004 , SCE_LSDB_ICON_INFO_UPDATE_COMMAND = 0x00000008 ,
  SCE_LSDB_ICON_INFO_UPDATE_PARENTAL_LOCK_LEVEL = 0x00000010 , SCE_LSDB_ICON_INFO_UPDATE_STATUS = 0x00000020 , SCE_LSDB_ICON_INFO_UPDATE_RENDERED_ICON_BLOB = 0x40000000 , SCE_LSDB_ICON_INFO_UPDATE_ALTERNATE_ICON_PATH = 0x80000000
}
 Field-selection bits accepted by sceLsdbUpdateIconInfo. More...
 
enum  SceLsdbDbBlobCallbackPhase { SCE_LSDB_DB_BLOB_CALLBACK_PHASE_ACQUIRE = 0 , SCE_LSDB_DB_BLOB_CALLBACK_PHASE_RELEASE = 1 }
 
enum  SceLsdbThemeSystemIconLayoutIndex {
  SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_BROWSER = 0 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_VIDEO = 1 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_MUSIC = 2 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PS3_LINK = 3 ,
  SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PARTY = 4 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_TROPHY = 5 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_MAP = 6 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_NEAR = 7 ,
  SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_HOST_COLLABO = 8 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_WELCOME_PARK = 9 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PS4_LINK = 10 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_FRIEND = 11 ,
  SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_EMAIL = 12 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_CALENDAR = 13 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_STORE = 14 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_MESSAGE = 15 ,
  SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PARENTAL = 16 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_CAMERA = 17 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_SETTINGS = 18 , SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_POWER = 19
}
 Indices used by SceLsdbThemeLayout::system_icon_layouts on FW 3.60. More...
 
enum  SceLsdbThemeLayoutUpdateFlag { SCE_LSDB_THEME_LAYOUT_UPDATE_SYSTEM_ICONS = 0x1 , SCE_LSDB_THEME_LAYOUT_UPDATE_PAGES = 0x2 }
 Fields selected by sceLsdbUpdateThemeLayout. More...
 
enum  SceLsdbValueType { SCE_LSDB_VALUE_TYPE_INT64 = 0 , SCE_LSDB_VALUE_TYPE_STRING = 1 }
 
enum  SceLsdbFilterOperator { SCE_LSDB_FILTER_OPERATOR_EQUAL = 0 , SCE_LSDB_FILTER_OPERATOR_PREFIX = 1 , SCE_LSDB_FILTER_OPERATOR_NOT_EQUAL = 2 , SCE_LSDB_FILTER_OPERATOR_BITMASK_EQUAL = 3 }
 Comparison performed by an SceLsdbAppInfoFilter node. More...
 
enum  SceLsdbFilterFlags { SCE_LSDB_FILTER_FLAG_APPINFO_ONLY = 0x1 , SCE_LSDB_FILTER_FLAG_INCLUDE_PAGE_MINUS_100000000 = 0x2 , SCE_LSDB_FILTER_FLAG_OMIT_ICON_TITLE_SORT = 0x4 }
 Flags accepted by the filtered-title queries. More...
 
enum  SceLsdbNewEventUpdateFlag {
  SCE_LSDB_NEW_EVENT_UPDATE_FLAG_ICON_PATH = 0x00000001 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_ICON_DATA = 0x00000002 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_MESSAGE = 0x00000004 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_ACTION_TYPE = 0x00000008 ,
  SCE_LSDB_NEW_EVENT_UPDATE_FLAG_TITLE = 0x00000010 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_DESCRIPTION = 0x00000020 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_EXECUTION = 0x00000040 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_NEW_FLAG = 0x00000080 ,
  SCE_LSDB_NEW_EVENT_UPDATE_FLAG_TIME = 0x00000100 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_SOUND = 0x00000200 , SCE_LSDB_NEW_EVENT_UPDATE_FLAG_POPUP = 0x00000400
}
 Field-selection bits accepted by sceLsdbUpdateNewEvents. More...
 
enum  SceLsdbLiveAreaPccUpdateFlag { SCE_LSDB_LIVEAREA_PCC_UPDATE_FLAG_DATE = 0x00000001 , SCE_LSDB_LIVEAREA_PCC_UPDATE_FLAG_RESOURCE_STATUS = 0x00000002 , SCE_LSDB_LIVEAREA_PCC_UPDATE_FLAG_SIGN_OFF = 0x00000004 }
 Fields selected by sceLsdbUpdateLiveAreaPccInfo. More...
 
enum  SceLsdbLiveAreaChangeFlag {
  SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_1 = 0x00000001 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_2 = 0x00000002 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_3 = 0x00000004 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_4 = 0x00000008 ,
  SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_5 = 0x00000010 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_6 = 0x00000020 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_7 = 0x00000040 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_8 = 0x00000080 ,
  SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_9 = 0x00000100 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_10 = 0x00000200 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_BACKGROUND_IMAGE = 0x00010000 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_SYSTEM_FUNCTION_ZONE = 0x00020000 ,
  SCE_LSDB_LIVEAREA_CHANGE_FLAG_STARTUP_IMAGE = 0x00040000 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_TITLE_COLOR = 0x00080000 , SCE_LSDB_LIVEAREA_CHANGE_FLAG_STYLE = 0x00100000
}
 Change bits returned by the LiveArea replacement and frame-update exports. More...
 
enum  SceLsdbLiveAreaObjectType {
  SCE_LSDB_LIVEAREA_OBJECT_TYPE_BACKGROUND_IMAGE = 1 , SCE_LSDB_LIVEAREA_OBJECT_TYPE_SYSTEM_FUNCTION_ZONE = 2 , SCE_LSDB_LIVEAREA_OBJECT_TYPE_STARTUP_IMAGE = 3 , SCE_LSDB_LIVEAREA_OBJECT_TYPE_FRAME = 4 ,
  SCE_LSDB_LIVEAREA_OBJECT_TYPE_TITLE_COLOR = 5
}
 Object types stored in a parsed LiveArea frame list. More...
 
enum  SceLsdbLiveAreaFrameElementType { SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_TARGET = 3 , SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_BACKGROUND = 4 , SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_IMAGE = 5 , SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_TEXT = 6 }
 Element types stored in a parsed LiveArea frame item. More...
 
enum  SceLsdbLiveAreaHorizontalAlignment {
  SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_CENTER = 0 , SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_LEFT = 1 , SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_RIGHT = 2 , SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_OUTSIDE_LEFT = 3 ,
  SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_OUTSIDE_RIGHT = 4
}
 Horizontal alignment values used by parsed LiveArea visual elements. More...
 
enum  SceLsdbLiveAreaVerticalAlignment {
  SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_CENTER = 0 , SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_TOP = 1 , SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_BOTTOM = 2 , SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_OUTSIDE_TOP = 3 ,
  SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_OUTSIDE_BOTTOM = 4
}
 Vertical alignment values used by parsed LiveArea visual elements. More...
 
enum  SceLsdbLiveAreaElementOrigin { SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_FRAME = 2 , SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_BACKGROUND = 4 , SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_IMAGE = 5 }
 Coordinate origin accepted by parsed LiveArea image and text elements. More...
 
enum  SceLsdbLiveAreaFrameMultiMode { SCE_LSDB_LIVEAREA_FRAME_MULTI_MODE_ORDERED = 0 , SCE_LSDB_LIVEAREA_FRAME_MULTI_MODE_RANDOM = 1 }
 Selection mode derived from a LiveArea frame's multi attribute. More...
 
enum  SceLsdbLiveAreaCompatibilityMode { SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_ANY = 0 , SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_UNSPECIFIED = 1 , SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_ON = 2 , SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_OFF = 3 }
 Compatibility selector used for a LiveArea liveitem's pokesute attribute. More...
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbString)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbUtf16String)
 
 VITASDK_BUILD_ASSERT_EQ (0x4, SceLsdbAppDatabase)
 
 VITASDK_BUILD_ASSERT_EQ (0x4, SceLsdbQueryContext)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbAppInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbAppInfoObserver)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbAppInfoArray)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbInt32Array)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbStringArray)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceLsdbPageInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbPageInfoRef)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbPageInfoRefArray)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceLsdbSpecialPageInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbSpecialPageInfoRef)
 
 VITASDK_BUILD_ASSERT_EQ (0x58, SceLsdbIconInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbIconInfoRef)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbIconInfoRefArray)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbIconInfoRefArrayRef)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbIconInfoRefArrayRefArray)
 
struct SceLsdbDbBlobConfig __attribute__ ((packed, aligned(4))) SceLsdbDbBlobConfig
 Database location and lifetime callback held by a SceLsdbDbBlob.
 
 VITASDK_BUILD_ASSERT_EQ (0x3C, SceLsdbDbBlobConfig)
 
 VITASDK_BUILD_ASSERT_EQ (0x38, SceLsdbDbBlob)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbDbBlobRef)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceLsdbThemePageLayout)
 
 VITASDK_BUILD_ASSERT_EQ (0x14, SceLsdbThemeSystemIconLayout)
 
 VITASDK_BUILD_ASSERT_EQ (0xFC, SceLsdbLocalizedThemeStrings)
 
 VITASDK_BUILD_ASSERT_EQ (0x20, SceLsdbThemeStartScreenLayout)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceLsdbThemeInformationBarLayout)
 
 VITASDK_BUILD_ASSERT_EQ (0x5B0, SceLsdbThemeLayout)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbThemeLayoutRef)
 
 VITASDK_BUILD_ASSERT_EQ (0x64, SceLsdbThemeInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceLsdbValue)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbValueArray)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceLsdbAppInfoFilter)
 
 VITASDK_BUILD_ASSERT_EQ (0x4, SceLsdbNewEventDatabase)
 
 VITASDK_BUILD_ASSERT_EQ (0x20, SceLsdbNewEventSelector)
 
 VITASDK_BUILD_ASSERT_EQ (0x100, SceLsdbNewEvent)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbNewEventRef)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbNewEventRefArray)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceLsdbTimeRange)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceLsdbLiveAreaPccInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceLsdbLiveAreaSfEntry)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbLiveAreaObject)
 
 VITASDK_BUILD_ASSERT_EQ (0x14, SceLsdbLiveAreaBackgroundImage)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceLsdbLiveAreaSystemFunctionZone)
 
 VITASDK_BUILD_ASSERT_EQ (0x14, SceLsdbLiveAreaStartupImage)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceLsdbLiveAreaTitleColor)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceLsdbLiveAreaObjectListNode)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbLiveAreaFrameElement)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceLsdbLiveAreaVisualElement)
 
 VITASDK_BUILD_ASSERT_EQ (0x20, SceLsdbLiveAreaTargetElement)
 
 VITASDK_BUILD_ASSERT_EQ (0x30, SceLsdbLiveAreaBackgroundElement)
 
 VITASDK_BUILD_ASSERT_EQ (0x34, SceLsdbLiveAreaImageElement)
 
 VITASDK_BUILD_ASSERT_EQ (0x70, SceLsdbLiveAreaTextElement)
 
 VITASDK_BUILD_ASSERT_EQ (0x30, SceLsdbLiveAreaFrameItem)
 
 VITASDK_BUILD_ASSERT_EQ (0x48, SceLsdbLiveAreaFrame)
 
 VITASDK_BUILD_ASSERT_EQ (0x38, SceLsdbLiveAreaFrameList)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, SceLsdbLiveAreaFrameListRef)
 
 VITASDK_BUILD_ASSERT_EQ (0x3C, SceLsdbLiveAreaParser)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceLsdbIconLayoutEntry)
 
SceLsdbAppDatabase * sceLsdbAppDatabaseInit (SceLsdbAppDatabase *database)
 Initialize an AppDB wrapper.
 
SceLsdbAppDatabase * sceLsdbAppDatabaseInit2 (SceLsdbAppDatabase *database)
 
SceLsdbAppDatabase * sceLsdbAppDatabaseEnd (SceLsdbAppDatabase *database)
 Release an AppDB wrapper's ownership token.
 
SceLsdbAppDatabase * sceLsdbAppDatabaseEnd2 (SceLsdbAppDatabase *database)
 
int sceLsdbGetIconsInPageRange (SceLsdbAppDatabase *database, SceInt32 first_page_no, SceSize page_count, SceLsdbIconInfoRefArrayRefArray *icons_by_page)
 Query icon records for consecutive AppDB pages.
 
int sceLsdbGetPageInfo (SceLsdbAppDatabase *database, SceInt32 first_page_no, SceSize page_count, SceLsdbPageInfoRefArray *pages)
 Query page_count consecutive page records beginning at first_page_no.
 
int sceLsdbReplaceIconsInPages (SceLsdbAppDatabase *database, const SceLsdbInt32Array *page_nos, const SceLsdbIconInfoRefArrayRefArray *icons_by_page)
 Replace all icon records on one or more pages.
 
int sceLsdbUpdateIconInfo (SceLsdbAppDatabase *database, SceInt32 page_no, const SceLsdbIconInfoRef *icon_info, SceUInt32 update_mask, const void *icon_data, SceSize icon_data_size)
 Update selected fields of one icon record.
 
int sceLsdbInsertIcon (SceLsdbAppDatabase *database, SceInt32 page_no, const SceLsdbIconInfoRef *icon_info)
 Insert one icon record on page_no.
 
int sceLsdbDeleteIconByTitleId (SceLsdbAppDatabase *database, const SceLsdbString *title_id)
 Delete the icon record belonging to title_id.
 
int sceLsdbMoveIcons (SceLsdbAppDatabase *database, const SceLsdbInt32Array *source_page_nos, const SceLsdbInt32Array *source_positions, const SceLsdbInt32Array *destination_page_nos, const SceLsdbInt32Array *destination_positions)
 Move corresponding source page/position entries to their destinations.
 
SceLsdbDbBlobRef sceLsdbGetIconReservedBlob (SceLsdbAppDatabase *database, const SceInt64 *row_id, int *error)
 Return the reference-counted blob in tbl_appinfo_icon.reserved05 for the supplied SQLite row ID.
 
int sceLsdbUpdatePages (SceLsdbAppDatabase *database, const SceLsdbInt32Array *page_nos, const SceLsdbPageInfoRefArray *pages)
 Update one or more AppDB page records.
 
int sceLsdbInsertPage (SceLsdbAppDatabase *database, SceInt32 page_no, const SceLsdbIconInfoRefArray *icons, const SceLsdbPageInfo *page_info)
 Insert a nonnegative page record followed by its icon records.
 
int sceLsdbDeletePage (SceLsdbAppDatabase *database, SceInt32 page_no)
 Delete a nonnegative or special negative page.
 
int sceLsdbInsertIconWithParent (SceLsdbAppDatabase *database, SceInt32 page_no, const SceLsdbIconInfoRef *child_icon_info, const SceLsdbIconInfoRef *folder_icon_info, const void *icon_data, SceSize icon_data_size)
 Create a folder icon around an existing child icon.
 
int sceLsdbGetPageCount (SceLsdbAppDatabase *database)
 Return the number of nonnegative AppInfo pages.
 
int sceLsdbGetIconCountInPageRange (SceLsdbAppDatabase *database, SceInt32 first_page_no, SceSize page_count)
 Count icons on page_count consecutive pages beginning at first_page_no.
 
int sceLsdbGetCountedIconCount (SceLsdbAppDatabase *database)
 Count icons which count against the Shell top-level icon limit.
 
int sceLsdbGetFolderPageNosByTitle (SceLsdbAppDatabase *database, const SceLsdbString *title, SceLsdbInt32Array *page_nos)
 Return folder child-page numbers for a localized bubble title.
 
int sceLsdbGetAppInfoFromDatabase (SceLsdbAppDatabase *database, const SceLsdbString *title_id, SceLsdbAppInfo *app_info)
 Load all AppInfo values for one title through an AppDB wrapper.
 
int sceLsdbGetAppInfoValueFromDatabase (SceLsdbAppDatabase *database, const SceLsdbString *title_id, SceUInt32 key, SceLsdbValue *value)
 Read one typed AppInfo value through an AppDB wrapper.
 
int sceLsdbAppInfoExists (SceLsdbAppDatabase *database, const SceLsdbString *title_id)
 Return nonzero when tbl_appinfo contains at least one row for title_id.
 
int sceLsdbGetIconInfoByTitleId (SceLsdbAppDatabase *database, const SceLsdbString *title_id, SceLsdbIconInfoRef *icon_info, SceInt32 *page_no, SceBool use_fallback)
 Read icon information for title_id.
 
int sceLsdbGetIconInfoById (SceLsdbAppDatabase *database, const SceInt32 *reserved01, SceInt32 *page_no, SceLsdbIconInfoRef *icon_info)
 Read the first icon record whose tbl_appinfo_icon.reserved01 equals the signed 32-bit value at reserved01.
 
int sceLsdbGetFilteredTitleIdsFromDatabase (SceLsdbAppDatabase *database, const SceLsdbAppInfoFilter *filter, SceLsdbStringArray *title_ids, SceUInt32 flags)
 Return title IDs matching a chain of AppInfo filters.
 
int sceLsdbGetRecentlyUsedTitleIdsByCategoriesFromDatabase (SceLsdbAppDatabase *database, const char *const *categories, SceSize category_count, SceInt32 max_title_count, SceLsdbStringArray *title_ids)
 Return recently used titles in any requested application category.
 
int sceLsdbResolveUriTitleIdFromDatabase (SceLsdbAppDatabase *database, const char *uri, SceLsdbString *title_id, SceUInt32 flags)
 Resolve a URI to the title whose registered host/path is its longest prefix.
 
int sceLsdbGetUriPrefixesFromDatabase (SceLsdbAppDatabase *database, const char *const *schemes, SceSize scheme_count, SceLsdbStringArray *uri_prefixes)
 Collect distinct scheme:host/path prefixes for the requested schemes.
 
int sceLsdbInsertApplication (SceLsdbAppDatabase *database, const SceLsdbAppInfo *app_info, SceInt32 page_no, const SceLsdbIconInfoRef *icon_info, const SceLsdbAppInfoArray *additional_app_info)
 Insert the AppInfo, icon, URI, and icon-layout records for one application.
 
int sceLsdbDeleteTitleData (SceLsdbAppDatabase *database, const SceLsdbString *title_id, SceBool delete_special_page, SceInt32 *page_no)
 Delete all AppDB data belonging to title_id.
 
int sceLsdbUpdateApplication (SceLsdbAppDatabase *database, const SceLsdbAppInfo *app_info, const SceLsdbIconInfoRef *icon_info, const SceLsdbAppInfoArray *additional_app_info)
 Update the AppInfo, icon, and URI records for one application.
 
int sceLsdbReplaceApplication (SceLsdbAppDatabase *database, const SceLsdbAppInfo *app_info, const SceLsdbIconInfoRef *icon_info, SceBool update_icon_title, const SceLsdbAppInfoArray *additional_app_info)
 Replace the AppInfo and URI records for one application.
 
int sceLsdbSetAppInfoValueMaskedFromDatabase (SceLsdbAppDatabase *database, const SceLsdbString *title_id, SceUInt32 key, const SceLsdbValue *value, SceUInt64 mask)
 Update a title's AppInfo value using a mask through an AppDB wrapper.
 
SceLsdbString sceLsdbGetConfigStringFromDatabase (SceLsdbAppDatabase *database, SceUInt32 key, const char *default_value)
 Return a standalone config string, or a copied default_value when the key or the process's shared database is unavailable.
 
SceInt64 sceLsdbGetConfigInt64FromDatabase (SceLsdbAppDatabase *database, SceUInt32 key, SceInt64 default_value)
 Return a 64-bit config value, or default_value when the key or the process's shared database is unavailable.
 
int sceLsdbSetConfigStringFromDatabase (SceLsdbAppDatabase *database, SceUInt32 key, const char *value)
 Store or replace a string in tbl_config through the process's shared AppDB.
 
int sceLsdbSetConfigInt64MaskedFromDatabase (SceLsdbAppDatabase *database, SceUInt32 key, SceInt64 value, SceUInt64 mask)
 Update an integer tbl_config value using a mask through an AppDB wrapper.
 
int sceLsdbUpdateThemeLayout (SceLsdbAppDatabase *database, const SceLsdbThemeLayoutRef *layout, SceUInt32 update_flags)
 Update page and system-icon rows from a Shell theme-layout object.
 
int sceLsdbReplaceTheme (SceLsdbAppDatabase *database, const SceLsdbThemeInfo *theme_info, const SceLsdbLocalizedThemeStrings *localized_titles, const SceLsdbLocalizedThemeStrings *localized_providers)
 Replace or insert one theme record and its localized strings.
 
int sceLsdbDeleteTheme (SceLsdbAppDatabase *database, const SceLsdbString *theme_id)
 Delete one theme record.
 
int sceLsdbDeleteAllThemes (SceLsdbAppDatabase *database)
 Delete all theme records.
 
int sceLsdbGetThemeCount (SceLsdbAppDatabase *database)
 Return the number of theme records.
 
int sceLsdbAppDatabaseBeginTransaction (SceLsdbAppDatabase *database)
 Begin an AppDB transaction through a wrapper.
 
int sceLsdbAppDatabaseEndTransaction (SceLsdbAppDatabase *database, SceInt32 database_version_or_rollback)
 End an AppDB transaction through a wrapper.
 
int sceLsdbGetAllAppInfo (SceLsdbAppDatabase *database, SceLsdbAppInfoCallback callback, void *user_data)
 Enumerate all AppInfo objects ordered by title ID.
 
int sceLsdbRegisterAppInfoObserver (SceLsdbAppInfoObserver *observer, SceLsdbAppInfoObserverCallback callback, void *user_data)
 Register an AppInfo observer for the calling process.
 
int sceLsdbUnregisterAppInfoObserver (SceLsdbAppInfoObserver *observer)
 Unregister an AppInfo observer in the calling process and clear its two fields.
 
SceLsdbQueryContext * sceLsdbQueryContextInit (SceLsdbQueryContext *context)
 Initialize a query context without attaching it to the database.
 
SceLsdbQueryContext * sceLsdbQueryContextInit2 (SceLsdbQueryContext *context)
 
int sceLsdbQueryContextClose (SceLsdbQueryContext *context)
 Stop a query context from receiving the process's AppDB change notifications.
 
SceLsdbQueryContext * sceLsdbQueryContextEnd (SceLsdbQueryContext *context)
 Detach and release a query-context object.
 
SceLsdbQueryContext * sceLsdbQueryContextEnd2 (SceLsdbQueryContext *context)
 
int sceLsdbQueryContextOpen (SceLsdbQueryContext *context)
 Attach a query context to the process's already-open shared AppDB.
 
int sceLsdbQueryGetAppInfo (SceLsdbQueryContext *context, const SceLsdbString *title_id, SceLsdbAppInfo *app_info)
 Load all AppInfo values for one title.
 
int sceLsdbQueryGetAppInfoValue (SceLsdbQueryContext *context, const SceLsdbString *title_id, SceUInt32 key, SceLsdbValue *value)
 Read one typed AppInfo value.
 
int sceLsdbQueryAppInfoExists (SceLsdbQueryContext *context, const SceLsdbString *title_id)
 Return nonzero when a title has AppInfo rows.
 
int sceLsdbQueryGetIconInfo (SceLsdbQueryContext *context, const SceLsdbString *title_id, SceLsdbIconInfoRef *icon_info, SceBool use_fallback)
 Read icon information for a title through a query context.
 
int sceLsdbQueryGetFilteredTitleIds (SceLsdbQueryContext *context, const SceLsdbAppInfoFilter *filter, SceLsdbStringArray *title_ids, SceUInt32 flags)
 Return title IDs matching a chain of AppInfo filters.
 
int sceLsdbQueryGetRecentlyUsedTitleIdsByCategories (SceLsdbQueryContext *context, const char *const *categories, SceSize category_count, SceInt32 max_title_count, SceLsdbStringArray *title_ids)
 Return recently used titles in any requested application category.
 
int sceLsdbQueryResolveUriTitleId (SceLsdbQueryContext *context, const char *uri, SceLsdbString *title_id, SceUInt32 flags)
 Resolve a URI through the process's shared AppDB connection.
 
int sceLsdbQueryGetUriPrefixes (SceLsdbQueryContext *context, const char *const *schemes, SceSize scheme_count, SceLsdbStringArray *uri_prefixes)
 Collect distinct URI prefixes through the process's shared AppDB connection.
 
SceLsdbString sceLsdbQueryGetConfigString (SceLsdbQueryContext *context, SceUInt32 key, const char *default_value)
 Return a standalone config string, or a copied default_value when the key is absent or the query context is detached.
 
SceInt64 sceLsdbQueryGetConfigInt64 (SceLsdbQueryContext *context, SceUInt32 key, SceInt64 default_value)
 Return a 64-bit config value, or default_value when the key is absent or the context is detached.
 
int sceLsdbQueryContextTestAndClearFlag (SceLsdbQueryContext *context, SceBool clear)
 Test the query-context AppInfo-change flag and optionally clear it.
 
int sceLsdbQueryGetThemeIds (SceLsdbQueryContext *context, SceLsdbStringArray *theme_ids)
 Return theme IDs ordered by descending modification time.
 
int sceLsdbQueryGetTheme (SceLsdbQueryContext *context, const SceLsdbString *theme_id, SceInt32 language_index, SceLsdbThemeInfo *theme_info)
 Read one localized theme record.
 
SceInt64 sceLsdbQueryGetTotalThemeSize (SceLsdbQueryContext *context)
 Return the sum of tbl_theme.size.
 
int sceLsdbSetAppInfoValueMasked (const SceLsdbString *title_id, SceUInt32 key, const SceLsdbValue *value, SceUInt64 mask)
 Update a title's AppInfo value using a mask.
 
int sceLsdbGetAppInfoValue (const SceLsdbString *title_id, SceUInt32 key, SceLsdbValue *value)
 Read one AppInfo value through the process's shared AppDB connection.
 
int sceLsdbSetConfigString (SceUInt32 key, const char *value)
 Store a string in tbl_config through the process's shared AppDB connection.
 
int sceLsdbSetConfigInt64Masked (SceUInt32 key, SceInt64 value, SceUInt64 mask)
 Update an integer tbl_config value using a mask.
 
int sceLsdbRefreshAppInfo (const SceLsdbAppInfo *app_info)
 Refresh the AppDB rows derived from an AppInfo object.
 
SceUInt32 sceLsdbGetStitleKeyForLanguage (SceInt32 language_index)
 Return the FNV-1a key for STITLE or STITLE_00 through STITLE_19.
 
const char * sceLsdbGetStitle (const SceLsdbAppInfo *app_info)
 AppInfo field accessors.
 
const char * sceLsdbGetTitle (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetLiveAreaContentsPath (const SceLsdbAppInfo *app_info)
 Return the per-title #_livearea_path AppInfo string.
 
const char * sceLsdbGetOriginalPath (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetAttribute (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetLiveAreaType (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetTotalMemoryBudget (const SceLsdbAppInfo *app_info)
 Return the SELF type-6 total memory budget in 1-KiB units.
 
const char * sceLsdbGetCategory (const SceLsdbAppInfo *app_info)
 
int sceLsdbIsCategoryGda (const SceLsdbAppInfo *app_info)
 Return nonzero when CATEGORY is gda.
 
SceInt64 sceLsdbGetPromoteAttribute (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetName (const SceLsdbAppInfo *app_info)
 Return the AppMgr application name stored in AppInfo.
 
const char * sceLsdbGetForegroundTitleId (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetBackgroundTitleId (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetTitleId (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetShellApplicationType (const SceLsdbAppInfo *app_info)
 Return SceShell's application-type classification.
 
const char * sceLsdbGetSelfPath (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetPhysicalContiguousMemoryBudget (const SceLsdbAppInfo *app_info)
 Return the SELF type-6 physically contiguous memory budget in 1-KiB units.
 
SceInt64 sceLsdbGetBootParamAttribute (const SceLsdbAppInfo *app_info)
 Return the attribute word from the SELF type-6 boot parameters.
 
const char * sceLsdbGetAppVer (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetContentId (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetNpCommunicationId (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetSystemVersion (const SceLsdbAppInfo *app_info)
 
SceInt32 sceLsdbGetType (const SceLsdbAppInfo *app_info)
 Query game_plugin's application-type classification for app_info.
 
SceInt32 sceLsdbGetAppMetadataLocationType (const SceLsdbAppInfo *app_info)
 Query game_plugin's metadata-location classification for app_info.
 
const char * sceLsdbGetDiscId (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetGameDataId (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetParentalLevel (const SceLsdbAppInfo *app_info)
 Return PARENTAL_LEVEL, or -1 when it is absent or is not an integer.
 
SceInt64 sceLsdbGetBootable (const SceLsdbAppInfo *app_info)
 Return BOOTABLE, or -1 when it is absent or is not an integer.
 
SceUInt32 sceLsdbGetLiveAreaSystemVersion (const SceLsdbAppInfo *app_info)
 Return the LiveArea system-version value stored in ATTRIBUTE bits 13 and 14.
 
SceUInt32 sceLsdbGetLiveAreaActivityDisabled (const SceLsdbAppInfo *app_info)
 Get the flag that disables Shell's LiveArea activities for a title.
 
const char * sceLsdbGetBootInstallDir (const SceLsdbAppInfo *app_info)
 
int sceLsdbIsGameCategoryOrLiveAreaSystemVersion1Or2 (const SceLsdbAppInfo *app_info)
 Return nonzero for a game category or LiveArea system-version value 1 or 2.
 
int sceLsdbIsGameOrEgCategory (const SceLsdbAppInfo *app_info)
 Return nonzero for a game category or the EG category.
 
int sceLsdbIsLiveAreaActivitySupported (const SceLsdbAppInfo *app_info)
 Check whether a title supports Shell's LiveArea activities.
 
const char * sceLsdbGetContentLocation (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetPic0Path (const SceLsdbAppInfo *app_info)
 Return the resolved path to the application's sce_sys/pic0.png image.
 
int sceLsdbGetLiveAreaPreviewDisabled (const SceLsdbAppInfo *app_info)
 Get the flag that disables Shell's cached application preview in LiveArea.
 
const char * sceLsdbGetLastLaunchTime (const SceLsdbAppInfo *app_info)
 
SceInt64 sceLsdbGetUpdateStatus (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetSupportUri (const SceLsdbAppInfo *app_info)
 
const char * sceLsdbGetInstallDirSavedataAdd1 (const SceLsdbAppInfo *app_info)
 Return the INSTALL_DIR_SAVEDATA_ADD_1 AppInfo string.
 
SceInt64 sceLsdbGetExtendedMemoryMode (const SceLsdbAppInfo *app_info)
 Get the requested extended game-memory mode.
 
SceLsdbLiveAreaCompatibilityMode sceLsdbGetLiveAreaCompatibilityMode (const char *title_id)
 Select the LiveArea compatibility mode for title_id.
 
int sceLsdbOpen (SceLsdbOpenMode mode)
 Open the process's shared AppDB connection.
 
int sceLsdbClose (void)
 Close the process's shared AppDB connection and release its model helpers.
 
int sceLsdbReopen (void)
 Replace the process's shared on-disk AppDB connection with an in-memory database.
 
int sceLsdbUpdateLocalizedData (SceInt32 language_index)
 Rebuild localized AppInfo and LiveArea data for a language index.
 
SceInt32 sceLsdbGetDatabaseLanguageIndex (void)
 Return the language index stored in the open Activity database.
 
int sceLsdbResetNewEventsAndLiveArea (void)
 Delete every NewEvent row and rebuild every LiveArea row from its stored contents path.
 
int sceLsdbGetLastAppDatabaseError (void)
 Return the AppInfo daemon's most recently recorded AppDB error.
 
SceLsdbString sceLsdbGetLiveAreaPath (void)
 Return tbl_config key 1 as a standalone string.
 
int sceLsdbSetLiveAreaPath (const SceLsdbString *value)
 Store value in tbl_config key 1, the LiveArea path shared by the process.
 
SceInt32 sceLsdbGetSystemLanguageIndex (void)
 Return the shell's current system-language index, or 1 when unavailable.
 
SceLsdbString sceLsdbGetRegion (void)
 Return the configured system region as a standalone string.
 
SceInt32 sceLsdbMapLanguageIndex (SceUInt32 live_area_system_version, SceInt32 language_index)
 Select the language index used to parse LiveArea content.
 
SceLsdbString sceLsdbGetNpLanguage (void)
 Return /CONFIG/NP/lang as a standalone string.
 
SceLsdbString sceLsdbGetCountry (SceUInt32 live_area_system_version)
 Return the country used to select localized LiveArea content.
 
SceBool sceLsdbNormalizeBool (SceInt32 value)
 Convert an integer to 0 or 1.
 
SceLsdbContentRatingCallback sceLsdbSetContentRatingCallback (SceLsdbContentRatingCallback callback)
 Install the callback used when obtaining content-rating information.
 
SceInt32 sceLsdbGetUserContentRating (void)
 Return the current user's content-rating limit or age.
 
SceLsdbString sceLsdbGetNpEnvironment (void)
 Return /CONFIG/NP/env as a standalone string.
 
SceLsdbNewEventDatabase * sceLsdbNewEventDatabaseInit (SceLsdbNewEventDatabase *database)
 Initialize a NewEvent notification wrapper without attaching it to the database.
 
SceLsdbNewEventDatabase * sceLsdbNewEventDatabaseInit2 (SceLsdbNewEventDatabase *database)
 
int sceLsdbNewEventDatabaseOpen (SceLsdbNewEventDatabase *database)
 Attach a NewEvent notification wrapper to the process's shared database.
 
int sceLsdbNewEventDatabaseClose (SceLsdbNewEventDatabase *database)
 Detach a NewEvent notification wrapper and release its flag.
 
int sceLsdbInsertNewEvent (SceLsdbNewEvent *event, SceBool replace_existing)
 Insert one NewEvent row.
 
int sceLsdbUpdateNewEvents (const SceLsdbNewEventRef *events, SceSize count, SceUInt32 update_mask)
 Update selected fields of existing, nondeleted NewEvent rows.
 
int sceLsdbMarkNewEventsDeleted (const SceLsdbNewEventSelector *selectors, SceSize count)
 Mark selected nondeleted events as deleted.
 
int sceLsdbDeleteNewEvents (SceUInt8 selective)
 Delete NewEvent rows.
 
int sceLsdbGetNewEvent (SceLsdbNewEventDatabase *database, SceLsdbNewEvent *event)
 Read one nondeleted NewEvent row.
 
int sceLsdbGetNewEvents (SceLsdbNewEventDatabase *database, SceLsdbNewEventRefArray *events, SceSize max_count, SceSize *total_count, SceSize *new_count, SceBool clear_notification)
 Enumerate nondeleted NewEvent rows.
 
SceLsdbDbBlobRef sceLsdbGetNewEventIconData (SceLsdbNewEventDatabase *database, const SceInt64 *row_id, int *error)
 Return the read-only icon-data BLOB for an existing NewEvent row ID.
 
SceBool sceLsdbHasPendingNewEventNotification (SceLsdbNewEventDatabase *database)
 Return whether this wrapper's change flag for the calling process is set.
 
void sceLsdbClearPendingNewEventNotification (SceLsdbNewEventDatabase *database)
 Clear the calling process's pending NewEvent notification state.
 
int sceLsdbGetNewEventPopupCount (SceLsdbNewEventDatabase *database)
 Return the number of rows whose popup number is nonzero.
 
int sceLsdbGetFirstPopupNewEvent (SceLsdbNewEventDatabase *database, SceLsdbNewEvent *event)
 Read the row with the smallest positive popup number.
 
int sceLsdbClearNewEventPopup (SceLsdbNewEventDatabase *database, const SceInt64 *row_id)
 Set popup_no to zero for the selected row.
 
int sceLsdbClearNewEventPopups (SceLsdbNewEventDatabase *database)
 Set popup_no to zero for all rows.
 
int sceLsdbUpdateNewEventFlags (SceLsdbNewEventDatabase *database, const SceLsdbNewEventRef *events, SceSize count)
 Update new_flag for an array of existing, nondeleted NewEvent rows.
 
int sceLsdbClearNewEventFlags (SceLsdbNewEventDatabase *database)
 Clear new_flag and increment hash for every new row.
 
SceUInt32 sceLsdbGetNewEventActionTypeHigh (SceLsdbNewEventDatabase *database, const SceLsdbString *title_id)
 Derive the high 32 bits of a NewEvent action type for title_id.
 
SceBool sceLsdbIsCurrentTimeInRange (const SceLsdbTimeRange *range, SceBool ignore_start_time, SceBool use_ad_network_clock)
 Test a time interval against the current RTC or ad-network clock.
 
SceLsdbLiveAreaFrame * sceLsdbLiveAreaFrameInit (SceLsdbLiveAreaFrame *frame)
 Initialize caller-provided storage for one parsed LiveArea frame.
 
SceLsdbLiveAreaFrameItem * sceLsdbLiveAreaFrameGetItem (const SceLsdbLiveAreaFrame *frame, SceSize index)
 Return one indexed liveitem from a parsed frame, or NULL.
 
SceLsdbLiveAreaFrameList * sceLsdbLiveAreaFrameListInit (SceLsdbLiveAreaFrameList *frame_list)
 Initialize caller-provided storage for an empty parsed LiveArea object list.
 
SceLsdbLiveAreaFrameList * sceLsdbLiveAreaFrameListEnd (SceLsdbLiveAreaFrameList *frame_list)
 Destroy every object and list node owned by a parsed LiveArea frame list.
 
SceInt32 sceLsdbParseVersion (const SceLsdbString *version)
 Parse an exact NN.NN version string.
 
SceInt32 sceLsdbParseVersion2 (const SceLsdbString *version)
 
SceLsdbLiveAreaParser * sceLsdbLiveAreaParserInit (SceLsdbLiveAreaParser *parser, const char *contents_path, SceBool filter_hardware_model, SceBool fallback_to_default_template)
 Initialize a LiveArea parser for contents_path.
 
SceLsdbLiveAreaParser * sceLsdbLiveAreaParserEnd (SceLsdbLiveAreaParser *parser)
 Release a LiveArea parser.
 
int sceLsdbParseLiveAreaTemplate (SceLsdbLiveAreaParser *parser)
 Parse the template selected by parser into a reference-counted frame list.
 
SceBool sceLsdbLiveAreaParserSetLocale (SceLsdbLiveAreaParser *parser, const SceInt32 *language_index, const char *country, SceInt32 content_rating)
 Apply locale and content-rating selection to a parsed template.
 
SceBool sceLsdbLiveAreaParserSetDefaultTemplate (SceLsdbLiveAreaParser *parser)
 Select the built-in default template in an initialized LiveArea parser.
 
int sceLsdbGetCurrentRtcTick (SceRtcTick *tick)
 Read the current RTC tick.
 
int sceLsdbGetAdNetworkRtcTick (SceRtcTick *tick)
 Read the ad-network RTC tick.
 
SceBool sceLsdbParseLiveAreaFrame (SceLsdbLiveAreaFrame **frame, const void *xml, SceSize xml_length, const SceInt32 *language_index, const char *country, SceInt32 content_rating, SceBool filter_hardware_model, SceLsdbLiveAreaCompatibilityMode compatibility_mode)
 Parse one LiveArea frame XML document and return its frame object.
 
int sceLsdbGetLiveAreaFrames (void *unused, SceLsdbLiveAreaFrameListRef *frames, const SceLsdbString *title_id, SceUInt8 target_type)
 Read and parse the stored LiveArea template for one title and target type.
 
int sceLsdbGetLiveAreaTitleIdNotInList (void *unused, const SceLsdbStringArray *title_ids, SceLsdbString *title_id)
 Return one ur0:-backed LiveArea title absent from title_ids.
 
int sceLsdbGetLiveAreaFrameUserData (void *unused, const SceLsdbString *title_id, const SceLsdbString *frame_id, SceLsdbString *user_data, void *activity_db_handle)
 Read tbl_livearea_frame.userdata.
 
void sceLsdb_29B275BA (const SceLsdbString *title_id, const char *contents_path)
 Does nothing on FW 3.60.
 
int sceLsdbRefreshLiveAreaRecords (const SceLsdbString *title_id, SceLsdbString *original_path)
 Refresh LiveArea rows from their stored contents paths.
 
int sceLsdbReplaceLiveAreaContents (void *unused, const SceLsdbString *title_id, const SceLsdbString *contents_path, SceUInt32 *change_flags, const SceRtcTick *last_modified, SceLsdbString *resolved_title_id, ScePID process_id)
 Replace all stored LiveArea contents for one title.
 
int sceLsdbUpdateLiveAreaFrames (void *unused, const SceLsdbString *title_id, const SceLsdbLiveAreaFrameListRef *frames, const SceLsdbString *contents_path, SceUInt8 target_type, SceUInt32 *change_flags, SceLsdbString *resolved_title_id, ScePID process_id)
 Update one or more already parsed LiveArea frame records.
 
SceBool sceLsdbLiveAreaSfEntryExists (void *unused, const SceLsdbString *title_id, SceInt32 type)
 Return whether a system-function-zone entry has the requested type.
 
int sceLsdbGetLiveAreaPccInfo (void *unused, const SceLsdbString *title_id, SceLsdbLiveAreaPccInfo *pcc_info)
 Read pccUpdDate, pccResStatus, and pccSignOff for one title.
 
int sceLsdbUpdateLiveAreaPccInfo (void *unused, const SceLsdbString *title_id, SceBool include_empty_sf_type0_entry, const SceLsdbLiveAreaPccInfo *pcc_info, SceUInt32 update_flags)
 Update PCC information and the empty system-function-zone slot for one title.
 
int sceLsdbSetLiveAreaSfEntry (void *unused, const SceLsdbString *title_id, const SceLsdbLiveAreaSfEntry *entry)
 Add or replace one sfType/sfTarg pair in a title's LiveArea record.
 
int sceLsdbDeleteLiveAreaSfEntry (void *unused, const SceLsdbString *title_id, SceInt32 type)
 Delete the sfType/sfTarg pair whose sfType equals type.
 
int sceLsdbGetLiveAreaModifiedDate (void *unused, const SceLsdbString *title_id, SceRtcTick *last_modified)
 Read and decode tbl_livearea.modified_date for one title.
 
int sceLsdbSetLiveAreaModifiedDate (void *unused, const SceLsdbString *title_id, const SceRtcTick *last_modified)
 Set tbl_livearea.modified_date for one title.
 
int sceLsdbUpdateLiveAreaFromContents (const SceLsdbString *title_id, const char *contents_path)
 Rebuild one title's normal-layer frame rows from template.xml under contents_path.
 
int sceLsdbDeleteLiveArea (const SceLsdbString *title_id)
 Delete the stored LiveArea record for one title.
 
int sceLsdbGetLiveAreaRevision (const SceLsdbString *title_id, const char *frame_id, SceUInt64 *revision, SceLsdbString *original_path)
 Read a stored LiveArea revision.
 
int sceLsdbIconLayoutClose (void)
 Decrement the icon-layout open count and release the INI context at zero.
 
int sceLsdbIconLayoutOpen (void)
 Open or create ux0:iconlayout.ini and increment the nested open count.
 
int sceLsdbIconLayoutDeleteFile (void)
 Delete ux0:iconlayout.ini.
 
SceBool sceLsdbIconLayoutFileExists (void)
 Return whether ux0:iconlayout.ini exists.
 
SceBool sceLsdbIconLayoutSetWritesDisabled (SceBool disabled)
 Enable or disable icon-layout writes.
 
SceBool sceLsdbIconLayoutGetEntry (const char *title_id, SceLsdbIconLayoutEntry *entry)
 Read one icon-layout entry by title ID.
 
int sceLsdbIconLayoutSetEntry (const char *title_id, const SceLsdbIconLayoutEntry *entry)
 Write one icon-layout entry by title ID.
 
int sceLsdbIconLayoutDeleteEntry (const char *title_id)
 Delete one icon-layout entry.
 
int sceLsdbIconLayoutUpdateParentByPageNo (SceInt32 page_no, const SceInt32 *parent_page_no, const SceInt32 *parent_position, const char *parent_title_id)
 Update selected parent fields of an icon-layout entry selected by page.
 
int sceLsdbIconLayoutShiftPages (SceBool increment, SceInt32 page_no)
 Increment or decrement each stored page number at or above page_no.
 
SceBool sceLsdbIconLayoutPositionExists (SceInt32 page_no, SceInt32 position)
 Return whether any successfully parsed entry exactly matches page_no and position.
 
int sceLsdbIconLayoutGetSpecialPageCount (void)
 Broken FW 3.60 special-page counter.
 

Variables

char * SceLsdbString::data
 NUL-terminated string data.
 
SceSize SceLsdbString::length
 String length, excluding the terminating NUL.
 
SceUInt32 SceLsdbString::reserved
 Not read or written on FW 3.60.
 
SceUInt16 * SceLsdbUtf16String::data
 
SceSize SceLsdbUtf16String::length
 Number of UTF-16 code units, excluding the terminator.
 
SceUInt32 SceLsdbUtf16String::reserved
 Not read or written on FW 3.60.
 
void * SceLsdbAppDatabase::token
 
void * SceLsdbQueryContext::state
 
void * SceLsdbAppInfo::data
 
void * SceLsdbAppInfo::control
 
SceLsdbAppInfoObserverCallback SceLsdbAppInfoObserver::callback
 
void * SceLsdbAppInfoObserver::user_data
 
SceLsdbAppInfo * SceLsdbAppInfoArray::data
 
SceSize SceLsdbAppInfoArray::count
 
SceSize SceLsdbAppInfoArray::capacity
 
SceInt32 * SceLsdbInt32Array::data
 
SceSize SceLsdbInt32Array::count
 
SceSize SceLsdbInt32Array::capacity
 
SceLsdbString * SceLsdbStringArray::data
 
SceSize SceLsdbStringArray::count
 
SceSize SceLsdbStringArray::capacity
 
SceLsdbString SceLsdbPageInfo::theme_file
 
SceUInt32 SceLsdbPageInfo::background_color
 
SceUInt32 SceLsdbPageInfo::texture_width
 
SceUInt32 SceLsdbPageInfo::texture_height
 
SceUInt32 SceLsdbPageInfo::image_width
 
SceUInt32 SceLsdbPageInfo::image_height
 
SceUInt32 SceLsdbPageInfo::reserved01
 Low 24-bit theme color and bit-24 flag used by FW 3.60 themes.
 
SceLsdbPageInfo * SceLsdbPageInfoRef::object
 
void * SceLsdbPageInfoRef::control
 
SceLsdbPageInfoRef * SceLsdbPageInfoRefArray::data
 
SceSize SceLsdbPageInfoRefArray::count
 
SceSize SceLsdbPageInfoRefArray::capacity
 
SceLsdbStringArray SceLsdbSpecialPageInfo::title_ids
 Type-zero icon title IDs associated with this special page by Shell.
 
SceUInt32 SceLsdbSpecialPageInfo::reserved
 Not initialized or accessed on FW 3.60.
 
SceSize SceLsdbSpecialPageInfo::child_count
 Number of icon rows on the special page.
 
SceInt32 SceLsdbSpecialPageInfo::page_no
 Special page number from -20000000 through -10000001.
 
SceLsdbSpecialPageInfo * SceLsdbSpecialPageInfoRef::object
 
void * SceLsdbSpecialPageInfoRef::control
 
SceInt64 SceLsdbIconInfo::row_id
 SQLite row ID; this is distinct from reserved01.
 
SceInt32 SceLsdbIconInfo::position
 Position within the containing page.
 
SceLsdbString SceLsdbIconInfo::title
 Localized bubble title stored in the icon table.
 
SceLsdbString SceLsdbIconInfo::icon_path
 Source-image path.
 
SceInt32 SceLsdbIconInfo::type
 One of the known SceLsdbIconType values, or another FW-defined value.
 
SceLsdbString SceLsdbIconInfo::title_id
 
SceInt32 SceLsdbIconInfo::icon0_type
 One of the known SceLsdbIcon0Type values, or another FW-defined value.
 
SceLsdbString SceLsdbIconInfo::command
 
SceInt32 SceLsdbIconInfo::parental_lock_level
 
SceInt32 SceLsdbIconInfo::status
 Stored icon status; its purpose and valid values are unknown.
 
SceLsdbSpecialPageInfoRef SceLsdbIconInfo::special_page
 Derived special-page relationship, when present.
 
SceLsdbIconInfo * SceLsdbIconInfoRef::object
 
void * SceLsdbIconInfoRef::control
 
SceLsdbIconInfoRef * SceLsdbIconInfoRefArray::data
 
SceSize SceLsdbIconInfoRefArray::count
 
SceSize SceLsdbIconInfoRefArray::capacity
 
SceLsdbIconInfoRefArray * SceLsdbIconInfoRefArrayRef::object
 
void * SceLsdbIconInfoRefArrayRef::control
 
SceLsdbIconInfoRefArrayRef * SceLsdbIconInfoRefArrayRefArray::data
 
SceSize SceLsdbIconInfoRefArrayRefArray::count
 
SceSize SceLsdbIconInfoRefArrayRefArray::capacity
 
SceUInt32 SceLsdbDbBlobConfig::type_tag
 Set to 0x102 on FW 3.60.
 
SceLsdbString SceLsdbDbBlobConfig::database_name
 
SceLsdbString SceLsdbDbBlobConfig::table_name
 
SceLsdbString SceLsdbDbBlobConfig::column_name
 
SceInt64 SceLsdbDbBlobConfig::row_id
 
SceBool SceLsdbDbBlobConfig::writable
 
SceLsdbDbBlobCallback SceLsdbDbBlobConfig::callback
 
void * SceLsdbDbBlobConfig::user_data
 
SceUInt32 type_tag
 Set to 0x102 on FW 3.60.
 
SceLsdbString database_name
 
SceLsdbString table_name
 
SceLsdbString column_name
 
SceInt64 row_id
 
SceBool writable
 
SceLsdbDbBlobCallback callback
 
void * user_data
 
void * SceLsdbDbBlob::vtable
 Internal FW 3.60 PAF stream virtual-function table.
 
SceUInt32 SceLsdbDbBlob::reserved
 Not initialized on FW 3.60.
 
SceUInt8 SceLsdbDbBlob::mutex [0x20]
 Internal PAF mutex.
 
SceLsdbDbBlobConfig * SceLsdbDbBlob::config
 
void * SceLsdbDbBlob::database_handle
 
void * SceLsdbDbBlob::blob_handle
 
SceSize SceLsdbDbBlob::position
 
SceLsdbDbBlob * SceLsdbDbBlobRef::object
 
void * SceLsdbDbBlobRef::control
 
SceLsdbString SceLsdbThemePageLayout::image_file_path
 m_imageFilePath, relative to SceLsdbThemeLayout::theme_root_path.
 
SceLsdbString SceLsdbThemePageLayout::thumbnail_file_path
 m_thumbnailFilePath; used by Shell but ignored by SceLsdb.
 
SceInt32 SceLsdbThemePageLayout::wave_type
 m_waveType, stored in SceLsdbPageInfo::background_color.
 
SceUInt32 SceLsdbThemePageLayout::font_color
 m_fontColor, stored in the low 24 bits of SceLsdbPageInfo::reserved01.
 
SceUInt8 SceLsdbThemePageLayout::font_shadow
 m_fontShadow; nonzero sets bit 24 of SceLsdbPageInfo::reserved01.
 
SceUInt8 SceLsdbThemePageLayout::padding [3]
 
SceLsdbString SceLsdbThemeSystemIconLayout::icon_file_path
 m_iconFilePath, relative to SceLsdbThemeLayout::theme_root_path.
 
SceInt32 SceLsdbThemeSystemIconLayout::page_position
 m_pagePos; used by Shell but ignored by SceLsdb.
 
SceInt32 SceLsdbThemeSystemIconLayout::icon_position
 m_iconPos; used by Shell but ignored by SceLsdb.
 
SceLsdbUtf16String SceLsdbLocalizedThemeStrings::selected
 String selected by Shell for the current language.
 
SceLsdbUtf16String SceLsdbLocalizedThemeStrings::localized [SCE_LSDB_THEME_LOCALIZED_STRING_COUNT]
 Values stored for language indices 0 through 19.
 
SceLsdbString SceLsdbThemeStartScreenLayout::file_path
 
SceInt32 SceLsdbThemeStartScreenLayout::date_layout
 
SceUInt32 SceLsdbThemeStartScreenLayout::date_color
 
SceUInt32 SceLsdbThemeStartScreenLayout::notification_background_color
 
SceUInt32 SceLsdbThemeStartScreenLayout::notification_border_color
 
SceUInt32 SceLsdbThemeStartScreenLayout::notification_font_color
 
SceUInt32 SceLsdbThemeInformationBarLayout::bar_color
 
SceUInt32 SceLsdbThemeInformationBarLayout::indicator_color
 
SceUInt32 SceLsdbThemeInformationBarLayout::notice_font_color
 
SceUInt32 SceLsdbThemeInformationBarLayout::notice_glow_color
 
SceLsdbString SceLsdbThemeInformationBarLayout::no_notice_file_path
 
SceLsdbString SceLsdbThemeInformationBarLayout::new_notice_file_path
 
SceLsdbString SceLsdbThemeLayout::theme_root_path
 
SceInt32 SceLsdbThemeLayout::package_flag
 package attribute from the theme element; either 0 or 1.
 
SceLsdbThemePageLayout SceLsdbThemeLayout::page_layouts [SCE_LSDB_THEME_PAGE_LAYOUT_COUNT]
 
SceLsdbString SceLsdbThemeLayout::background_music_file_path
 m_bgmFilePath; used by Shell but ignored by SceLsdb.
 
SceLsdbString SceLsdbThemeLayout::base_page_file_path
 m_basePageFilePath; used by Shell but ignored by SceLsdb.
 
SceLsdbString SceLsdbThemeLayout::current_page_file_path
 m_curPageFilePath; used by Shell but ignored by SceLsdb.
 
SceLsdbThemeSystemIconLayout SceLsdbThemeLayout::system_icon_layouts [SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_COUNT]
 
SceLsdbThemeStartScreenLayout SceLsdbThemeLayout::start_screen
 
SceLsdbThemeInformationBarLayout SceLsdbThemeLayout::information_bar
 
SceUInt32 SceLsdbThemeLayout::content_version
 
SceLsdbLocalizedThemeStrings SceLsdbThemeLayout::localized_titles
 
SceLsdbLocalizedThemeStrings SceLsdbThemeLayout::localized_providers
 
SceLsdbString SceLsdbThemeLayout::package_image_file_path
 
SceLsdbString SceLsdbThemeLayout::start_preview_file_path
 
SceLsdbString SceLsdbThemeLayout::home_preview_file_path
 
SceLsdbString SceLsdbThemeLayout::format_version
 format-ver attribute from the theme element.
 
SceInt32 SceLsdbThemeLayout::parsed_format_version
 Numeric form of a format_version.
 
SceRtcTick SceLsdbThemeLayout::last_modified_time
 
SceLsdbThemeLayout * SceLsdbThemeLayoutRef::object
 
void * SceLsdbThemeLayoutRef::control
 
void * SceLsdbThemeInfo::vtable
 Internal FW 3.60 Shell theme-information virtual-function table; SceLsdb leaves it untouched.
 
SceLsdbString SceLsdbThemeInfo::theme_id
 
SceInt32 SceLsdbThemeInfo::type
 Must be 100 when passed to sceLsdbReplaceTheme on FW 3.60.
 
SceLsdbString SceLsdbThemeInfo::package_image_file_path
 
SceLsdbString SceLsdbThemeInfo::home_preview_file_path
 
SceLsdbString SceLsdbThemeInfo::start_preview_file_path
 
SceLsdbUtf16String SceLsdbThemeInfo::title
 
SceLsdbUtf16String SceLsdbThemeInfo::provider
 
SceUInt32 SceLsdbThemeInfo::content_version
 
SceUInt32 SceLsdbThemeInfo::padding
 
SceRtcTick SceLsdbThemeInfo::last_modified_time
 
SceSize SceLsdbThemeInfo::size
 
void * vtable
 Internal FW 3.60 Shell theme-information virtual-function table; SceLsdb leaves it untouched.
 
SceLsdbString theme_id
 
SceInt32 type
 Must be 100 when passed to sceLsdbReplaceTheme on FW 3.60.
 
SceLsdbString package_image_file_path
 
SceLsdbString home_preview_file_path
 
SceLsdbString start_preview_file_path
 
SceLsdbUtf16String title
 
SceLsdbUtf16String provider
 
SceUInt32 content_version
 
SceUInt32 padding
 
SceRtcTick last_modified_time
 
SceSize size
 
SceInt32 SceLsdbValue::type
 One of SceLsdbValueType.
 
SceInt64 SceLsdbValue::int64
 
SceLsdbString * SceLsdbValue::string
 
union { 
 
SceInt64 int64
 
SceLsdbString * string
 
} SceLsdbValue::data 
 
SceLsdbValue * SceLsdbValueArray::data
 
SceSize SceLsdbValueArray::count
 
SceSize SceLsdbValueArray::capacity
 
SceUInt32 SceLsdbAppInfoFilter::key
 FNV-1a hash of the AppInfo key.
 
SceLsdbValueArray SceLsdbAppInfoFilter::values
 Values to compare against.
 
SceUInt32 SceLsdbAppInfoFilter::reserved
 Ignored on FW 3.60.
 
SceInt32 SceLsdbAppInfoFilter::operation
 One of SceLsdbFilterOperator.
 
SceUInt64 SceLsdbAppInfoFilter::mask
 Mask used by SCE_LSDB_FILTER_OPERATOR_BITMASK_EQUAL.
 
const struct SceLsdbAppInfoFilter * SceLsdbAppInfoFilter::next
 
SceUInt32 key
 FNV-1a hash of the AppInfo key.
 
SceLsdbValueArray values
 Values to compare against.
 
SceUInt32 reserved
 Ignored on FW 3.60.
 
SceInt32 operation
 One of SceLsdbFilterOperator.
 
SceUInt64 mask
 Mask used by SCE_LSDB_FILTER_OPERATOR_BITMASK_EQUAL.
 
const struct SceLsdbAppInfoFilter * next
 
SceUInt32 * SceLsdbNewEventDatabase::notification_flag
 
SceLsdbString SceLsdbNewEventSelector::title_id
 
SceLsdbString SceLsdbNewEventSelector::item_id
 
SceInt64 SceLsdbNewEventSelector::row_id
 
SceLsdbString SceLsdbNewEvent::title_id
 
SceLsdbString SceLsdbNewEvent::item_id
 
SceInt64 SceLsdbNewEvent::row_id
 
SceInt64 SceLsdbNewEvent::message_type
 Values at least 80 are eligible for automatic pruning and selective deletion.
 
SceUInt32 SceLsdbNewEvent::action_type_low
 
SceUInt8 SceLsdbNewEvent::new_flag
 
SceUInt8 SceLsdbNewEvent::popup_flag
 Nonzero requests a sequenced popup number; reads convert popup_no to 0 or 1.
 
SceUInt8 SceLsdbNewEvent::padding [2]
 
SceLsdbString SceLsdbNewEvent::icon_path
 
void * SceLsdbNewEvent::icon_data
 Input image bytes; query operations leave this NULL.
 
SceSize SceLsdbNewEvent::icon_data_size
 Input byte count, or stored BLOB length on output.
 
SceLsdbString SceLsdbNewEvent::message_args [9]
 
SceLsdbString SceLsdbNewEvent::title
 
SceLsdbString SceLsdbNewEvent::description
 
SceUInt32 SceLsdbNewEvent::exec_mode
 
SceLsdbString SceLsdbNewEvent::exec_title_id
 
SceLsdbString SceLsdbNewEvent::exec_argument
 
SceLsdbString SceLsdbNewEvent::update_time
 
SceInt32 SceLsdbNewEvent::sound_id
 
float SceLsdbNewEvent::sound_volume
 
SceUInt32 SceLsdbNewEvent::hash
 Randomized on insertion and incremented by field updates.
 
SceUInt32 SceLsdbNewEvent::action_type_high
 High word of the stored 64-bit action type; derived during insertion.
 
SceLsdbNewEvent * SceLsdbNewEventRef::object
 
void * SceLsdbNewEventRef::control
 
SceLsdbNewEventRef * SceLsdbNewEventRefArray::data
 
SceSize SceLsdbNewEventRefArray::count
 
SceSize SceLsdbNewEventRefArray::capacity
 
SceRtcTick SceLsdbTimeRange::start
 Inclusive lower bound unless the caller requests an end-only check.
 
SceRtcTick SceLsdbTimeRange::end
 Inclusive upper bound.
 
SceRtcTick SceLsdbLiveAreaPccInfo::update_date
 
SceInt32 SceLsdbLiveAreaPccInfo::resource_status
 API value; FW 3.60 stores this value minus one in pccResStatus.
 
SceInt32 SceLsdbLiveAreaPccInfo::sign_off
 
SceInt32 SceLsdbLiveAreaSfEntry::type
 
SceLsdbString SceLsdbLiveAreaSfEntry::target
 
void * SceLsdbLiveAreaObject::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaObject::type
 One of SceLsdbLiveAreaObjectType.
 
void * SceLsdbLiveAreaBackgroundImage::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaBackgroundImage::type
 SCE_LSDB_LIVEAREA_OBJECT_TYPE_BACKGROUND_IMAGE.
 
SceLsdbString SceLsdbLiveAreaBackgroundImage::source_path
 
void * SceLsdbLiveAreaSystemFunctionZone::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaSystemFunctionZone::type
 SCE_LSDB_LIVEAREA_OBJECT_TYPE_SYSTEM_FUNCTION_ZONE.
 
SceLsdbLiveAreaSfEntry * SceLsdbLiveAreaSystemFunctionZone::entries
 
SceSize SceLsdbLiveAreaSystemFunctionZone::entry_count
 
SceSize SceLsdbLiveAreaSystemFunctionZone::entry_capacity
 
SceUInt32 SceLsdbLiveAreaSystemFunctionZone::reserved
 Not initialized or interpreted on FW 3.60.
 
void * SceLsdbLiveAreaStartupImage::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaStartupImage::type
 SCE_LSDB_LIVEAREA_OBJECT_TYPE_STARTUP_IMAGE.
 
SceLsdbString SceLsdbLiveAreaStartupImage::source_path
 
void * SceLsdbLiveAreaTitleColor::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaTitleColor::type
 SCE_LSDB_LIVEAREA_OBJECT_TYPE_TITLE_COLOR.
 
float SceLsdbLiveAreaTitleColor::red
 
float SceLsdbLiveAreaTitleColor::green
 
float SceLsdbLiveAreaTitleColor::blue
 
float SceLsdbLiveAreaTitleColor::alpha
 
struct SceLsdbLiveAreaObjectListNode * SceLsdbLiveAreaObjectListNode::previous
 
struct SceLsdbLiveAreaObjectListNode * SceLsdbLiveAreaObjectListNode::next
 
SceLsdbLiveAreaObject * SceLsdbLiveAreaObjectListNode::object
 
void * SceLsdbLiveAreaFrameElement::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaFrameElement::type
 One of SceLsdbLiveAreaFrameElementType.
 
void * SceLsdbLiveAreaVisualElement::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaVisualElement::type
 One of SceLsdbLiveAreaFrameElementType.
 
SceInt32 SceLsdbLiveAreaVisualElement::horizontal_alignment
 One of SceLsdbLiveAreaHorizontalAlignment.
 
SceInt32 SceLsdbLiveAreaVisualElement::vertical_alignment
 One of SceLsdbLiveAreaVerticalAlignment.
 
SceInt32 SceLsdbLiveAreaVisualElement::width
 Parsed width; initialized to zero.
 
SceInt32 SceLsdbLiveAreaVisualElement::height
 Parsed height; initialized to zero.
 
SceInt32 SceLsdbLiveAreaVisualElement::x
 Parsed x coordinate.
 
SceInt32 SceLsdbLiveAreaVisualElement::y
 Parsed y coordinate.
 
SceUInt8 SceLsdbLiveAreaVisualElement::has_x
 Nonzero when the XML element specifies x.
 
SceUInt8 SceLsdbLiveAreaVisualElement::has_y
 Nonzero when the XML element specifies y.
 
SceUInt8 SceLsdbLiveAreaVisualElement::padding [2]
 
SceLsdbLiveAreaFrameElement SceLsdbLiveAreaTargetElement::element
 
SceLsdbString SceLsdbLiveAreaTargetElement::target
 
SceLsdbString SceLsdbLiveAreaTargetElement::required_app_version
 Value of req-appver for template formats newer than 1.00.
 
SceLsdbLiveAreaVisualElement SceLsdbLiveAreaBackgroundElement::visual
 
SceLsdbString SceLsdbLiveAreaBackgroundElement::source_path
 
SceLsdbLiveAreaVisualElement SceLsdbLiveAreaImageElement::visual
 
SceLsdbString SceLsdbLiveAreaImageElement::source_path
 
SceInt32 SceLsdbLiveAreaImageElement::origin
 SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_FRAME or SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_BACKGROUND.
 
SceLsdbLiveAreaVisualElement SceLsdbLiveAreaTextElement::visual
 
SceInt32 SceLsdbLiveAreaTextElement::text_alignment
 One of SceLsdbLiveAreaHorizontalAlignment.
 
SceInt32 SceLsdbLiveAreaTextElement::vertical_text_alignment
 One of SceLsdbLiveAreaVerticalAlignment.
 
SceInt32 SceLsdbLiveAreaTextElement::line_alignment
 One of SceLsdbLiveAreaHorizontalAlignment.
 
SceInt32 SceLsdbLiveAreaTextElement::origin
 SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_FRAME, SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_BACKGROUND, or SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_IMAGE.
 
SceInt32 SceLsdbLiveAreaTextElement::line_spacing
 
SceUInt8 SceLsdbLiveAreaTextElement::line_break
 Line-breaking flag; initialized to one.
 
SceUInt8 SceLsdbLiveAreaTextElement::word_wrap
 Word-wrapping flag; initialized to one.
 
SceUInt8 SceLsdbLiveAreaTextElement::ellipsis
 Ellipsis flag; initialized to zero.
 
SceUInt8 SceLsdbLiveAreaTextElement::word_scroll
 Word-scrolling flag; initialized to zero.
 
SceUInt8 SceLsdbLiveAreaTextElement::pre_break
 Internal pre-break flag; initialized to one.
 
SceUInt8 SceLsdbLiveAreaTextElement::padding [3]
 
SceInt32 SceLsdbLiveAreaTextElement::margin_top
 
SceInt32 SceLsdbLiveAreaTextElement::margin_bottom
 
SceInt32 SceLsdbLiveAreaTextElement::margin_left
 
SceInt32 SceLsdbLiveAreaTextElement::margin_right
 
SceInt32 SceLsdbLiveAreaTextElement::title_segment_index
 Index of the title segment, or -1 when absent.
 
SceUInt8 SceLsdbLiveAreaTextElement::text_layout [0x1C]
 Internal FW 3.60 PAF text-layout state.
 
SceLsdbTimeRange SceLsdbLiveAreaFrameItem::time_range
 Inclusive from and until interval.
 
SceUInt8 SceLsdbLiveAreaFrameItem::is_default
 Nonzero when the XML liveitem has default="on".
 
SceUInt8 SceLsdbLiveAreaFrameItem::padding
 
SceUInt16 SceLsdbLiveAreaFrameItem::minimum_age
 Selected age-limit, or 0 when absent.
 
SceUInt16 SceLsdbLiveAreaFrameItem::maximum_age
 Selected uage-limit, or 255 when absent.
 
SceUInt16 SceLsdbLiveAreaFrameItem::compatibility_mode
 One of SceLsdbLiveAreaCompatibilityMode, derived from pokesute.
 
SceLsdbLiveAreaTargetElement * SceLsdbLiveAreaFrameItem::target
 Selected target element, or NULL.
 
SceLsdbLiveAreaFrameElement ** SceLsdbLiveAreaFrameItem::elements
 
SceSize SceLsdbLiveAreaFrameItem::element_count
 
SceSize SceLsdbLiveAreaFrameItem::element_capacity
 
SceUInt32 SceLsdbLiveAreaFrameItem::reserved1 [2]
 Not initialized or interpreted on FW 3.60.
 
void * SceLsdbLiveAreaFrame::vtable
 Internal FW 3.60 virtual-function table.
 
SceInt32 SceLsdbLiveAreaFrame::object_type
 SCE_LSDB_LIVEAREA_OBJECT_TYPE_FRAME.
 
SceLsdbString SceLsdbLiveAreaFrame::frame_id
 
SceInt32 SceLsdbLiveAreaFrame::multi_mode
 One of SceLsdbLiveAreaFrameMultiMode.
 
SceUInt32 SceLsdbLiveAreaFrame::auto_flip_interval
 Automatic item-rotation interval from the autoflip attribute.
 
SceInt64 SceLsdbLiveAreaFrame::revision
 
SceUInt8 SceLsdbLiveAreaFrame::is_retail_override
 Nonzero for a database row whose type is 0.
 
SceLsdbString SceLsdbLiveAreaFrame::user_data
 userdata, truncated to at most 1023 bytes.
 
SceLsdbLiveAreaFrameItem ** SceLsdbLiveAreaFrame::items
 
SceSize SceLsdbLiveAreaFrame::item_count
 
SceSize SceLsdbLiveAreaFrame::item_capacity
 
SceLsdbString SceLsdbLiveAreaFrameList::style
 
SceLsdbString SceLsdbLiveAreaFrameList::format_version
 
SceInt64 SceLsdbLiveAreaFrameList::content_revision
 
SceInt32 SceLsdbLiveAreaFrameList::parsed_format_version
 Result of sceLsdbParseVersion.
 
SceLsdbLiveAreaObjectListNode * SceLsdbLiveAreaFrameList::object_list_head
 List head, with no object. Start at object_list_head->next and stop when you reach object_list_head again.
 
SceSize SceLsdbLiveAreaFrameList::object_count
 
SceRtcTick SceLsdbLiveAreaFrameList::modified_date
 
SceLsdbLiveAreaFrameList * SceLsdbLiveAreaFrameListRef::object
 
void * SceLsdbLiveAreaFrameListRef::control
 
SceLsdbString SceLsdbLiveAreaParser::contents_path
 
SceUInt8 SceLsdbLiveAreaParser::filter_hardware_model
 Apply XML model selectors and enable title-color parsing.
 
SceUInt8 SceLsdbLiveAreaParser::fallback_to_default_template
 Use the default system template when contents_path cannot be opened.
 
SceUInt8 SceLsdbLiveAreaParser::using_default_template
 Set when the parser selects the default system template.
 
SceUInt8 SceLsdbLiveAreaParser::padding
 
SceLsdbLiveAreaFrameList * SceLsdbLiveAreaParser::parsed_frames
 
void * SceLsdbLiveAreaParser::parsed_frames_control
 Reference-count control block for parsed_frames.
 
const SceInt32 * SceLsdbLiveAreaParser::language_index
 
const char * SceLsdbLiveAreaParser::country
 
SceInt32 SceLsdbLiveAreaParser::content_rating
 
SceUInt8 SceLsdbLiveAreaParser::filter_by_current_time
 Apply the liveitem until time when liveitem filtering is enabled.
 
SceUInt8 SceLsdbLiveAreaParser::disable_live_item_filtering
 Bypass locale, age, model, compatibility, time, and five-item-limit filtering.
 
SceUInt8 SceLsdbLiveAreaParser::unused
 Written by SceShell but ignored by SceLsdb on FW 3.60.
 
SceUInt8 SceLsdbLiveAreaParser::use_ad_network_clock
 Use the ad-network clock for liveitem time checks.
 
SceInt32 SceLsdbLiveAreaParser::compatibility_mode
 One of SceLsdbLiveAreaCompatibilityMode; selects liveitems by their pokesute value.
 
SceInt32 SceLsdbLiveAreaParser::selected_language_index
 
SceLsdbString SceLsdbLiveAreaParser::selected_country
 
SceInt32 SceLsdbIconLayoutEntry::page_no
 Normal page 0 through 9, or special page -20000000 through -10000001.
 
SceInt32 SceLsdbIconLayoutEntry::position
 Position 0 through 9.
 
SceInt32 SceLsdbIconLayoutEntry::parent_page_no
 Parent page 0 through 9 for a special-page entry.
 
SceInt32 SceLsdbIconLayoutEntry::parent_position
 Parent position 0 through 9 for a special-page entry.
 
char * SceLsdbIconLayoutEntry::parent_title_id
 PAF-allocated parent title ID returned for a special-page entry.
 
SceSize SceLsdbIconLayoutEntry::parent_title_id_length
 Length of parent_title_id; ignored by the INI writer.
 

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:

#include <psp2/lsdb.h>


Link the library to the executable:

SceLsdb_stub




Data Structure Documentation

◆ SceLsdbString

struct SceLsdbString

String object used by SceLsdb.

This is the PAF string ABI used on FW 3.60, not a plain NUL-terminated string. A const input string must remain valid until the call returns. SceLsdb does not modify its buffer or use it after the call.

A nonempty standalone string returned by SceLsdb owns a writable length + 1 byte PAF allocation. Release its data with sce_paf_free, then clear the object. An empty returned string points to shared immutable storage and must not be freed. Strings nested in a reference-counted object are owned by that parent object and must not be freed separately.

There is no spare capacity beyond the terminating NUL. The reserved word is not a capacity or ownership flag.

Data Fields
char * data NUL-terminated string data.
SceSize length String length, excluding the terminating NUL.
SceUInt32 reserved Not read or written on FW 3.60.

◆ SceLsdbUtf16String

struct SceLsdbUtf16String

UTF-16 string object used by localized SceLsdb records.

It follows the SceLsdbString rules for input lifetime and use, nested strings owned by a parent object, and standalone output-buffer cleanup.

Data Fields
SceUInt16 * data
SceSize length Number of UTF-16 code units, excluding the terminator.
SceUInt32 reserved Not read or written on FW 3.60.

◆ SceLsdbAppDatabase

struct SceLsdbAppDatabase

Handle passed as the first argument to AppDB functions that require it.

Call sceLsdbOpen before sceLsdbAppDatabaseInit. Keep the initialized handle valid for every call that uses it, then call sceLsdbAppDatabaseEnd when finished. It uses the process's shared AppDB connection; it does not open or own a separate connection.

Data Fields
void * token

◆ SceLsdbQueryContext

struct SceLsdbQueryContext

Query and change-notification context for the process's shared AppDB.

sceLsdbQueryContextOpen allocates this internal state and registers an AppInfo observer which sets its change flag. It does not own or open a separate database connection.

Data Fields
void * state

◆ SceLsdbAppInfo

struct SceLsdbAppInfo

Reference-counted map of AppDB values for one title.

The value getters return pointers owned by this object. Keep the object alive until the returned value is no longer used.

This type and every two-word SceLsdb*Ref type in this header use the FW 3.60 PAF shared-reference ABI. An output object transfers one strong reference to the caller. The object and its nested values remain mutable while that reference is held; mutations are visible through every other reference to the same object.

A newly returned reference has a 16-byte PAF-allocated control block. It stores the object pointer, strong-reference count, weak-reference count, and deleter at byte offsets 0, 4, 8, and 12, initially using counts 1 and 1. Copying a nonempty reference requires an atomic increment of the strong count. Releasing it requires an atomic decrement; when that count reaches zero, invoke the deleter on the object, decrement the weak count, and free the control block with sce_paf_free when the weak count reaches zero. Then clear both words in the holder. An empty reference has a NULL control block and needs no release. Never free the object, its nested values, or the control block directly. A structure assignment or memcpy does not increment the reference count. Releasing either copy can free an object still used by the other copy; releasing both can free it twice.

SceLsdb exports no generic C retain/release entry point for this or the other reference types, so their callers must use a PAF-compatible shared-reference wrapper.

Data Fields
void * data
void * control

◆ SceLsdbAppInfoObserver

struct SceLsdbAppInfoObserver

Storage for one AppInfo observer in the calling process.

Initialize both fields to zero before the first registration. SceLsdb keeps the address of this object, so it must remain allocated at the same address until sceLsdbUnregisterAppInfoObserver returns. It is not a reference-counted object.

Data Fields
SceLsdbAppInfoObserverCallback callback
void * user_data

◆ SceLsdbAppInfoArray

struct SceLsdbAppInfoArray

PAF vector of SceLsdbAppInfo objects.

An output vector owns its data allocation and every reference it contains. Release each element according to the shared-reference rules above, then release data with sce_paf_free and clear the vector.

Data Fields
SceLsdbAppInfo * data
SceSize count
SceSize capacity

◆ SceLsdbInt32Array

struct SceLsdbInt32Array

PAF vector of signed 32-bit values used by the AppDB page operations.

Release an output vector's data with sce_paf_free, then clear it.

Data Fields
SceInt32 * data
SceSize count
SceSize capacity

◆ SceLsdbStringArray

struct SceLsdbStringArray

PAF vector of SceLsdbString objects.

For an output vector, release every nonempty standalone string buffer, then release data with sce_paf_free and clear the vector.

Data Fields
SceLsdbString * data
SceSize count
SceSize capacity

◆ SceLsdbPageInfo

struct SceLsdbPageInfo

One row of tbl_appinfo_page.

Data Fields
SceLsdbString theme_file
SceUInt32 background_color
SceUInt32 texture_width
SceUInt32 texture_height
SceUInt32 image_width
SceUInt32 image_height
SceUInt32 reserved01 Low 24-bit theme color and bit-24 flag used by FW 3.60 themes.

◆ SceLsdbPageInfoRef

struct SceLsdbPageInfoRef

Reference-counted AppDB page-information object.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbPageInfo * object
void * control

◆ SceLsdbPageInfoRefArray

struct SceLsdbPageInfoRefArray

PAF vector of SceLsdbPageInfoRef objects.

An output vector owns its data allocation and every strong reference it contains.

Data Fields
SceLsdbPageInfoRef * data
SceSize count
SceSize capacity

◆ SceLsdbSpecialPageInfo

struct SceLsdbSpecialPageInfo

Information associated with an icon on a special negative page.

Data Fields
SceLsdbStringArray title_ids Type-zero icon title IDs associated with this special page by Shell.
SceUInt32 reserved Not initialized or accessed on FW 3.60.
SceSize child_count Number of icon rows on the special page.
SceInt32 page_no Special page number from -20000000 through -10000001.

◆ SceLsdbSpecialPageInfoRef

struct SceLsdbSpecialPageInfoRef

Reference-counted SceLsdbSpecialPageInfo object.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbSpecialPageInfo * object
void * control

◆ SceLsdbIconInfo

struct SceLsdbIconInfo

One row of tbl_appinfo_icon.

type selects the icon's database/layout category. icon0_type is a separate metadata classification for the icon0 source; it does not select path storage versus BLOB storage or describe the image encoding. FW 3.60 also uses values 1 through 4, but their individual meanings are unknown.

The table also contains five reserved columns which are not represented as five direct structure members. For a folder row, reserved01 is its associated special negative child-page number, as returned by sceLsdbGetFolderPageNosByTitle. It also serves as the numeric selector accepted by sceLsdbGetIconInfoById. reserved02 is an alternate icon path which can override icon_path when a query requests it. No FW 3.60 reader or writer for reserved03 or reserved04 was found. reserved05 stores a serialized, rendered PAF icon cache and is returned by sceLsdbGetIconReservedBlob.

The source icon remains a path in icon_path, or in reserved02 when an alternate path is selected. The reserved05 blob is generated after the source image is decoded and rendered; it is not a copy of icon0.png. The path and rendered-cache BLOB can coexist in the same row.

status is an integer stored and updated separately. None of the FW 3.60 code examined during this analysis interprets its value, and database recovery does not copy it; its purpose and valid values are unknown.

Data Fields
SceInt64 row_id SQLite row ID; this is distinct from reserved01.
SceInt32 position Position within the containing page.
SceLsdbString title Localized bubble title stored in the icon table.
SceLsdbString icon_path Source-image path.
SceInt32 type One of the known SceLsdbIconType values, or another FW-defined value.
SceLsdbString title_id
SceInt32 icon0_type One of the known SceLsdbIcon0Type values, or another FW-defined value.
SceLsdbString command
SceInt32 parental_lock_level
SceInt32 status Stored icon status; its purpose and valid values are unknown.
SceLsdbSpecialPageInfoRef special_page Derived special-page relationship, when present.

◆ SceLsdbIconInfoRef

struct SceLsdbIconInfoRef

Reference-counted AppDB icon-information object.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbIconInfo * object
void * control

◆ SceLsdbIconInfoRefArray

struct SceLsdbIconInfoRefArray

PAF vector of SceLsdbIconInfoRef objects.

An output vector owns its data allocation and every strong reference it contains.

Data Fields
SceLsdbIconInfoRef * data
SceSize count
SceSize capacity

◆ SceLsdbIconInfoRefArrayRef

struct SceLsdbIconInfoRefArrayRef

Reference-counted vector of SceLsdbIconInfoRef objects.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbIconInfoRefArray * object
void * control

◆ SceLsdbIconInfoRefArrayRefArray

struct SceLsdbIconInfoRefArrayRefArray

PAF vector containing one SceLsdbIconInfoRefArrayRef for each requested AppDB page.

Data Fields
SceLsdbIconInfoRefArrayRef * data
SceSize count
SceSize capacity

◆ SceLsdbDbBlobConfig

struct SceLsdbDbBlobConfig

Database location and lifetime callback held by a SceLsdbDbBlob.

Data Fields
SceUInt32 type_tag Set to 0x102 on FW 3.60.
SceLsdbString database_name
SceLsdbString table_name
SceLsdbString column_name
SceInt64 row_id
SceBool writable
SceLsdbDbBlobCallback callback
void * user_data

◆ SceLsdbDbBlob

struct SceLsdbDbBlob

Database-backed PAF stream returned by the blob accessors.

The database and blob handles are acquired only when needed. Reads and writes advance the stream's current byte position; seeks change it.

Data Fields
void * vtable Internal FW 3.60 PAF stream virtual-function table.
SceUInt32 reserved Not initialized on FW 3.60.
SceUInt8 mutex[0x20] Internal PAF mutex.
SceLsdbDbBlobConfig * config
void * database_handle
void * blob_handle
SceSize position

◆ SceLsdbDbBlobRef

struct SceLsdbDbBlobRef

Reference-counted database blob returned by SceLsdb.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbDbBlob * object
void * control

◆ SceLsdbThemePageLayout

struct SceLsdbThemePageLayout

Fields parsed from one BackgroundParam entry in a Shell theme.

Data Fields
SceLsdbString image_file_path m_imageFilePath, relative to SceLsdbThemeLayout::theme_root_path.
SceLsdbString thumbnail_file_path m_thumbnailFilePath; used by Shell but ignored by SceLsdb.
SceInt32 wave_type m_waveType, stored in SceLsdbPageInfo::background_color.
SceUInt32 font_color m_fontColor, stored in the low 24 bits of SceLsdbPageInfo::reserved01.
SceUInt8 font_shadow m_fontShadow; nonzero sets bit 24 of SceLsdbPageInfo::reserved01.
SceUInt8 padding[3]

◆ SceLsdbThemeSystemIconLayout

struct SceLsdbThemeSystemIconLayout

One IconParam entry parsed from a Shell theme.

Data Fields
SceLsdbString icon_file_path m_iconFilePath, relative to SceLsdbThemeLayout::theme_root_path.
SceInt32 page_position m_pagePos; used by Shell but ignored by SceLsdb.
SceInt32 icon_position m_iconPos; used by Shell but ignored by SceLsdb.

◆ SceLsdbLocalizedThemeStrings

struct SceLsdbLocalizedThemeStrings

Selected and per-language strings parsed from a Shell theme.

Data Fields
SceLsdbUtf16String selected String selected by Shell for the current language.
SceLsdbUtf16String localized[SCE_LSDB_THEME_LOCALIZED_STRING_COUNT] Values stored for language indices 0 through 19.

◆ SceLsdbThemeStartScreenLayout

struct SceLsdbThemeStartScreenLayout

StartScreenProperty fields parsed from a Shell theme.

Data Fields
SceLsdbString file_path
SceInt32 date_layout
SceUInt32 date_color
SceUInt32 notification_background_color
SceUInt32 notification_border_color
SceUInt32 notification_font_color

◆ SceLsdbThemeInformationBarLayout

struct SceLsdbThemeInformationBarLayout

InfomationBarProperty fields parsed from a Shell theme.

Data Fields
SceUInt32 bar_color
SceUInt32 indicator_color
SceUInt32 notice_font_color
SceUInt32 notice_glow_color
SceLsdbString no_notice_file_path
SceLsdbString new_notice_file_path

◆ SceLsdbThemeLayout

struct SceLsdbThemeLayout

Shell theme-layout object read by sceLsdbUpdateThemeLayout.

sceLsdbUpdateThemeLayout reads only the root path, page layouts, and system-icon layouts. Shell uses the later fields to construct the arguments passed to sceLsdbReplaceTheme.

Data Fields
SceLsdbString theme_root_path
SceInt32 package_flag package attribute from the theme element; either 0 or 1.
SceLsdbThemePageLayout page_layouts[SCE_LSDB_THEME_PAGE_LAYOUT_COUNT]
SceLsdbString background_music_file_path m_bgmFilePath; used by Shell but ignored by SceLsdb.
SceLsdbString base_page_file_path m_basePageFilePath; used by Shell but ignored by SceLsdb.
SceLsdbString current_page_file_path m_curPageFilePath; used by Shell but ignored by SceLsdb.
SceLsdbThemeSystemIconLayout system_icon_layouts[SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_COUNT]
SceLsdbThemeStartScreenLayout start_screen
SceLsdbThemeInformationBarLayout information_bar
SceUInt32 content_version
SceLsdbLocalizedThemeStrings localized_titles
SceLsdbLocalizedThemeStrings localized_providers
SceLsdbString package_image_file_path
SceLsdbString start_preview_file_path
SceLsdbString home_preview_file_path
SceLsdbString format_version format-ver attribute from the theme element.
SceInt32 parsed_format_version Numeric form of a format_version.
SceRtcTick last_modified_time

◆ SceLsdbThemeLayoutRef

struct SceLsdbThemeLayoutRef

Reference-counted shell theme-layout object.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbThemeLayout * object
void * control

◆ SceLsdbThemeInfo

struct SceLsdbThemeInfo

One localized row of tbl_theme.

Data Fields
void * vtable Internal FW 3.60 Shell theme-information virtual-function table; SceLsdb leaves it untouched.
SceLsdbString theme_id
SceInt32 type Must be 100 when passed to sceLsdbReplaceTheme on FW 3.60.
SceLsdbString package_image_file_path
SceLsdbString home_preview_file_path
SceLsdbString start_preview_file_path
SceLsdbUtf16String title
SceLsdbUtf16String provider
SceUInt32 content_version
SceUInt32 padding
SceRtcTick last_modified_time
SceSize size

◆ SceLsdbValue

struct SceLsdbValue

Integer-or-string value stored in tbl_appinfo or tbl_config.

A string output owns the SceLsdbString object addressed by data.string as well as its nonempty buffer. Release the buffer according to the SceLsdbString rules, release the object with sce_paf_free, and clear the value. An integer output owns no allocation. FW 3.60 reuses an existing string object when an output value already has string type.

Data Fields
SceInt32 type One of SceLsdbValueType.
union SceLsdbValue.data data

◆ SceLsdbValueArray

struct SceLsdbValueArray

PAF vector of SceLsdbValue objects.

An output vector owns its data allocation and the string object and buffer owned by each string element.

Data Fields
SceLsdbValue * data
SceSize count
SceSize capacity

◆ SceLsdbAppInfoFilter

struct SceLsdbAppInfoFilter

One condition used to filter AppInfo records.

Values within one node are joined with OR. Nodes linked through next are joined with AND. An empty values array tests only whether key exists. The prefix operator accepts string values, while the bit-mask operator accepts integer values and uses mask.

Data Fields
SceUInt32 key FNV-1a hash of the AppInfo key.
SceLsdbValueArray values Values to compare against.
SceUInt32 reserved Ignored on FW 3.60.
SceInt32 operation One of SceLsdbFilterOperator.
SceUInt64 mask Mask used by SCE_LSDB_FILTER_OPERATOR_BITMASK_EQUAL.
const struct SceLsdbAppInfoFilter * next

◆ SceLsdbNewEventDatabase

struct SceLsdbNewEventDatabase

NewEvent change-notification wrapper for the calling process.

This object does not own a separate database connection. Open allocates a four-byte atomic flag and registers it with the process's shared NewEvent manager; any NewEvent change sets the flag to one.

Data Fields
SceUInt32 * notification_flag

◆ SceLsdbNewEventSelector

struct SceLsdbNewEventSelector

Selector accepted by the NewEvent update and deletion operations.

A selector uses either both title_id and item_id, or a nonzero row_id. A nonzero row ID takes precedence when both forms are supplied.

Data Fields
SceLsdbString title_id
SceLsdbString item_id
SceInt64 row_id

◆ SceLsdbNewEvent

struct SceLsdbNewEvent

One row of the FW 3.60 tbl_newEvent database.

The action type is stored as two 32-bit words in the ABI. It must not be treated as a contiguous SceUInt64 field.

String and icon-data inputs must remain valid until an insert or update call returns; they are not used afterwards. A standalone object filled by sceLsdbGetNewEvent or sceLsdbGetFirstPopupNewEvent owns each nonempty string buffer and must release them according to the SceLsdbString rules. A NewEvent held by a SceLsdbNewEventRef instead owns its nested strings through the parent reference; do not release them separately.

Data Fields
SceLsdbString title_id
SceLsdbString item_id
SceInt64 row_id
SceInt64 message_type Values at least 80 are eligible for automatic pruning and selective deletion.
SceUInt32 action_type_low
SceUInt8 new_flag
SceUInt8 popup_flag Nonzero requests a sequenced popup number; reads convert popup_no to 0 or 1.
SceUInt8 padding[2]
SceLsdbString icon_path
void * icon_data Input image bytes; query operations leave this NULL.
SceSize icon_data_size Input byte count, or stored BLOB length on output.
SceLsdbString message_args[9]
SceLsdbString title
SceLsdbString description
SceUInt32 exec_mode
SceLsdbString exec_title_id
SceLsdbString exec_argument
SceLsdbString update_time
SceInt32 sound_id
float sound_volume
SceUInt32 hash Randomized on insertion and incremented by field updates.
SceUInt32 action_type_high High word of the stored 64-bit action type; derived during insertion.

◆ SceLsdbNewEventRef

struct SceLsdbNewEventRef

Reference-counted SceLsdbNewEvent object.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbNewEvent * object
void * control

◆ SceLsdbNewEventRefArray

struct SceLsdbNewEventRefArray

PAF vector of SceLsdbNewEventRef objects.

An output vector owns its data allocation and every strong reference it contains.

Data Fields
SceLsdbNewEventRef * data
SceSize count
SceSize capacity

◆ SceLsdbTimeRange

struct SceLsdbTimeRange

Start and end RTC ticks used by sceLsdbIsCurrentTimeInRange.

Data Fields
SceRtcTick start Inclusive lower bound unless the caller requests an end-only check.
SceRtcTick end Inclusive upper bound.

◆ SceLsdbLiveAreaPccInfo

struct SceLsdbLiveAreaPccInfo

PCC state stored in tbl_livearea for one title.

Data Fields
SceRtcTick update_date
SceInt32 resource_status API value; FW 3.60 stores this value minus one in pccResStatus.
SceInt32 sign_off

◆ SceLsdbLiveAreaSfEntry

struct SceLsdbLiveAreaSfEntry

One sfType/sfTarg pair stored in tbl_livearea.

Data Fields
SceInt32 type
SceLsdbString target

◆ SceLsdbLiveAreaObject

struct SceLsdbLiveAreaObject

Common prefix of every object in a parsed LiveArea object list.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type One of SceLsdbLiveAreaObjectType.

◆ SceLsdbLiveAreaBackgroundImage

struct SceLsdbLiveAreaBackgroundImage

Parsed LiveArea background image.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type SCE_LSDB_LIVEAREA_OBJECT_TYPE_BACKGROUND_IMAGE.
SceLsdbString source_path

◆ SceLsdbLiveAreaSystemFunctionZone

struct SceLsdbLiveAreaSystemFunctionZone

Parsed system-function-zone entries.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type SCE_LSDB_LIVEAREA_OBJECT_TYPE_SYSTEM_FUNCTION_ZONE.
SceLsdbLiveAreaSfEntry * entries
SceSize entry_count
SceSize entry_capacity
SceUInt32 reserved Not initialized or interpreted on FW 3.60.

◆ SceLsdbLiveAreaStartupImage

struct SceLsdbLiveAreaStartupImage

Parsed gate startup image.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type SCE_LSDB_LIVEAREA_OBJECT_TYPE_STARTUP_IMAGE.
SceLsdbString source_path

◆ SceLsdbLiveAreaTitleColor

struct SceLsdbLiveAreaTitleColor

Parsed LiveArea title color, with each component scaled to 0.0 through 1.0.

FW 3.60 parses #RRGGBBAA. The initialized default is white with alpha 0.5.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type SCE_LSDB_LIVEAREA_OBJECT_TYPE_TITLE_COLOR.
float red
float green
float blue
float alpha

◆ SceLsdbLiveAreaObjectListNode

struct SceLsdbLiveAreaObjectListNode

Node in the parsed LiveArea object list.

The list head has no object.

Data Fields
struct SceLsdbLiveAreaObjectListNode * previous
struct SceLsdbLiveAreaObjectListNode * next
SceLsdbLiveAreaObject * object

◆ SceLsdbLiveAreaFrameElement

struct SceLsdbLiveAreaFrameElement

Common prefix of a parsed target, background, image, or text element.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type One of SceLsdbLiveAreaFrameElementType.

◆ SceLsdbLiveAreaVisualElement

struct SceLsdbLiveAreaVisualElement

Common prefix of parsed background, image, and text elements.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 type One of SceLsdbLiveAreaFrameElementType.
SceInt32 horizontal_alignment One of SceLsdbLiveAreaHorizontalAlignment.
SceInt32 vertical_alignment One of SceLsdbLiveAreaVerticalAlignment.
SceInt32 width Parsed width; initialized to zero.
SceInt32 height Parsed height; initialized to zero.
SceInt32 x Parsed x coordinate.
SceInt32 y Parsed y coordinate.
SceUInt8 has_x Nonzero when the XML element specifies x.
SceUInt8 has_y Nonzero when the XML element specifies y.
SceUInt8 padding[2]

◆ SceLsdbLiveAreaTargetElement

struct SceLsdbLiveAreaTargetElement

Parsed LiveArea target element.

Data Fields
SceLsdbLiveAreaFrameElement element
SceLsdbString target
SceLsdbString required_app_version Value of req-appver for template formats newer than 1.00.

◆ SceLsdbLiveAreaBackgroundElement

struct SceLsdbLiveAreaBackgroundElement

Parsed LiveArea background element.

Data Fields
SceLsdbLiveAreaVisualElement visual
SceLsdbString source_path

◆ SceLsdbLiveAreaImageElement

struct SceLsdbLiveAreaImageElement

◆ SceLsdbLiveAreaTextElement

struct SceLsdbLiveAreaTextElement

Parsed LiveArea text element.

Data Fields
SceLsdbLiveAreaVisualElement visual
SceInt32 text_alignment One of SceLsdbLiveAreaHorizontalAlignment.
SceInt32 vertical_text_alignment One of SceLsdbLiveAreaVerticalAlignment.
SceInt32 line_alignment One of SceLsdbLiveAreaHorizontalAlignment.
SceInt32 origin SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_FRAME, SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_BACKGROUND, or SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_IMAGE.
SceInt32 line_spacing
SceUInt8 line_break Line-breaking flag; initialized to one.
SceUInt8 word_wrap Word-wrapping flag; initialized to one.
SceUInt8 ellipsis Ellipsis flag; initialized to zero.
SceUInt8 word_scroll Word-scrolling flag; initialized to zero.
SceUInt8 pre_break Internal pre-break flag; initialized to one.
SceUInt8 padding[3]
SceInt32 margin_top
SceInt32 margin_bottom
SceInt32 margin_left
SceInt32 margin_right
SceInt32 title_segment_index Index of the title segment, or -1 when absent.
SceUInt8 text_layout[0x1C] Internal FW 3.60 PAF text-layout state.

◆ SceLsdbLiveAreaFrameItem

struct SceLsdbLiveAreaFrameItem

One liveitem parsed from a LiveArea frame.

Data Fields
SceLsdbTimeRange time_range Inclusive from and until interval.
SceUInt8 is_default Nonzero when the XML liveitem has default="on".
SceUInt8 padding
SceUInt16 minimum_age Selected age-limit, or 0 when absent.
SceUInt16 maximum_age Selected uage-limit, or 255 when absent.
SceUInt16 compatibility_mode One of SceLsdbLiveAreaCompatibilityMode, derived from pokesute.
SceLsdbLiveAreaTargetElement * target Selected target element, or NULL.
SceLsdbLiveAreaFrameElement ** elements
SceSize element_count
SceSize element_capacity
SceUInt32 reserved1[2] Not initialized or interpreted on FW 3.60.

◆ SceLsdbLiveAreaFrame

struct SceLsdbLiveAreaFrame

One parsed row of tbl_livearea_frame.

Data Fields
void * vtable Internal FW 3.60 virtual-function table.
SceInt32 object_type SCE_LSDB_LIVEAREA_OBJECT_TYPE_FRAME.
SceLsdbString frame_id
SceInt32 multi_mode One of SceLsdbLiveAreaFrameMultiMode.
SceUInt32 auto_flip_interval Automatic item-rotation interval from the autoflip attribute.
SceInt64 revision
SceUInt8 is_retail_override Nonzero for a database row whose type is 0.
SceLsdbString user_data userdata, truncated to at most 1023 bytes.
SceLsdbLiveAreaFrameItem ** items
SceSize item_count
SceSize item_capacity

◆ SceLsdbLiveAreaFrameList

struct SceLsdbLiveAreaFrameList

Parsed LiveArea template and its list of objects of different types.

Data Fields
SceLsdbString style
SceLsdbString format_version
SceInt64 content_revision
SceInt32 parsed_format_version Result of sceLsdbParseVersion.
SceLsdbLiveAreaObjectListNode * object_list_head List head, with no object. Start at object_list_head->next and stop when you reach object_list_head again.
SceSize object_count
SceRtcTick modified_date

◆ SceLsdbLiveAreaFrameListRef

struct SceLsdbLiveAreaFrameListRef

Reference-counted SceLsdbLiveAreaFrameList object.

See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.

Data Fields
SceLsdbLiveAreaFrameList * object
void * control

◆ SceLsdbLiveAreaParser

struct SceLsdbLiveAreaParser

State used while parsing one LiveArea template.

Data Fields
SceLsdbString contents_path
SceUInt8 filter_hardware_model Apply XML model selectors and enable title-color parsing.
SceUInt8 fallback_to_default_template Use the default system template when contents_path cannot be opened.
SceUInt8 using_default_template Set when the parser selects the default system template.
SceUInt8 padding
SceLsdbLiveAreaFrameList * parsed_frames
void * parsed_frames_control Reference-count control block for parsed_frames.
const SceInt32 * language_index
const char * country
SceInt32 content_rating
SceUInt8 filter_by_current_time Apply the liveitem until time when liveitem filtering is enabled.
SceUInt8 disable_live_item_filtering Bypass locale, age, model, compatibility, time, and five-item-limit filtering.
SceUInt8 unused Written by SceShell but ignored by SceLsdb on FW 3.60.
SceUInt8 use_ad_network_clock Use the ad-network clock for liveitem time checks.
SceInt32 compatibility_mode One of SceLsdbLiveAreaCompatibilityMode; selects liveitems by their pokesute value.
SceInt32 selected_language_index
SceLsdbString selected_country

◆ SceLsdbIconLayoutEntry

struct SceLsdbIconLayoutEntry

Entry stored in ux0:iconlayout.ini.

Data Fields
SceInt32 page_no Normal page 0 through 9, or special page -20000000 through -10000001.
SceInt32 position Position 0 through 9.
SceInt32 parent_page_no Parent page 0 through 9 for a special-page entry.
SceInt32 parent_position Parent position 0 through 9 for a special-page entry.
char * parent_title_id PAF-allocated parent title ID returned for a special-page entry.
SceSize parent_title_id_length Length of parent_title_id; ignored by the INI writer.

◆ SceLsdbValue.data

union SceLsdbValue.data
Data Fields
SceInt64 int64
SceLsdbString * string

Macro Definition Documentation

◆ SCE_LSDB_THEME_PAGE_LAYOUT_COUNT

#define SCE_LSDB_THEME_PAGE_LAYOUT_COUNT   10

◆ SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_COUNT

#define SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_COUNT   20

◆ SCE_LSDB_THEME_LOCALIZED_STRING_COUNT

#define SCE_LSDB_THEME_LOCALIZED_STRING_COUNT   20

Typedef Documentation

◆ SceLsdbAppInfoObserverCallback

typedef void(* SceLsdbAppInfoObserverCallback) (SceLsdbAppInfoEventType event_type, const SceLsdbAppInfo *app_info, void *user_data)

AppInfo observer callback for the calling process.

Do not release app_info. It remains valid only for the duration of the callback. The callback runs synchronously on the thread performing the database operation while SceLsdb holds its observer-list lock. It must not register or unregister observers or invoke another operation which calls AppInfo observers. FW 3.60 SceShell performs a read-only icon query from this callback.

◆ SceLsdbDbBlobCallback

typedef int(* SceLsdbDbBlobCallback) (SceInt32 phase, SceInt32 mode, void *user_data, void **database_handle)

Callback used by a database blob to acquire and release its database handle.

phase is one of SceLsdbDbBlobCallbackPhase. On FW 3.60, when acquiring the handle, mode is 1 for reading and 0 for writing. When releasing it, mode is 1 after a read or a failed write and 0 after a successful write.

◆ SceLsdbContentRatingCallback

typedef int(* SceLsdbContentRatingCallback) (SceInt32 *enabled, SceInt32 *rating)

Callback used to obtain the current content-rating configuration.

Return zero after writing whether content-rating restrictions are enabled and the configured rating. A nonzero result makes sceLsdbGetUserContentRating calculate the user's age from the registered date of birth instead.

◆ SceLsdbAppInfoCallback

typedef void(* SceLsdbAppInfoCallback) (const SceLsdbAppInfo *app_info, void *user_data)

Callback invoked once for each title enumerated by sceLsdbGetAllAppInfo.

Enumeration Type Documentation

◆ SceLsdbErrorCode

Errors returned by the FW 3.60 SceLsdb implementation.

Enumerator
SCE_LSDB_ERROR_OUT_OF_RANGE 
SCE_LSDB_ERROR_INVALID_ARGUMENT 
SCE_LSDB_ERROR_NO_MEMORY 
SCE_LSDB_ERROR_INVALID_HANDLE 
SCE_LSDB_ERROR_DATABASE_CONSTRAINT 
SCE_LSDB_ERROR_NOT_FOUND 

No matching database row or no requested change.

SCE_LSDB_ERROR_INVALID_FILTER 

Invalid filter operator/value-type combination.

SCE_LSDB_ERROR_INVALID_NEW_EVENT_IDENTIFIER 

Neither title_id/item_id nor row_id identifies a NewEvent row.

SCE_LSDB_ERROR_REQUIRED_APPINFO_FIELD_MISSING 

A required AppInfo field, such as TITLE_ID, is missing.

SCE_LSDB_ERROR_PAGE_NUMBER_OUT_OF_RANGE 

A nonnegative insertion page exceeds the current page count.

SCE_LSDB_ERROR_ICON_POSITION_OCCUPIED 

An icon already occupies the page and position.

SCE_LSDB_ERROR_PROTECTED_APPINFO_KEY 

SUPPORT_URI and the foreground/background title-ID keys cannot be changed through the masked setter.

SCE_LSDB_ERROR_DATABASE_LANGUAGE_MISMATCH 
SCE_LSDB_ERROR_DATABASE_CONFIGURATION_MISMATCH 
SCE_LSDB_ERROR_DATABASE_SCHEMA_TOO_NEW 
SCE_LSDB_ERROR_DATABASE_VERSION_MISMATCH 
SCE_LSDB_ERROR_INVALID_DATABASE_VERSION 
SCE_LSDB_ERROR_DATABASE_UNK_F5 

Its purpose is unknown.

SCE_LSDB_ERROR_DATABASE_UNK_FE 

Its purpose is unknown.

SCE_LSDB_ERROR_DATABASE_CORRUPT 

◆ SceLsdbOpenMode

Values accepted by sceLsdbOpen on FW 3.60.

Enumerator
SCE_LSDB_OPEN_MODE_NORMAL 

Open and validate the existing AppDB.

SCE_LSDB_OPEN_MODE_REBUILD 

Remove, rebuild, and open the AppDB.

◆ SceLsdbExtendedMemoryMode

Extended-memory modes returned by sceLsdbGetExtendedMemoryMode.

On FW 3.60, these select additional game main RAM, not CDRAM. The values identify modes; they are not sizes in bytes.

Enumerator
SCE_LSDB_EXTENDED_MEMORY_MODE_DEFAULT 

No additional memory requested by this setting.

SCE_LSDB_EXTENDED_MEMORY_MODE_29_MIB 

Request 29 MiB of additional main RAM.

SCE_LSDB_EXTENDED_MEMORY_MODE_77_MIB 

Request 77 MiB of additional main RAM.

SCE_LSDB_EXTENDED_MEMORY_MODE_109_MIB 

Request 109 MiB of additional main RAM.

◆ SceLsdbAppInfoEventType

AppInfo operation reported to an SceLsdbAppInfoObserverCallback.

Enumerator
SCE_LSDB_APP_INFO_EVENT_INSERT_APPLICATION 

Follows sceLsdbInsertApplication.

SCE_LSDB_APP_INFO_EVENT_DELETE_TITLE_DATA 

Follows sceLsdbDeleteTitleData.

SCE_LSDB_APP_INFO_EVENT_UPDATE_APPLICATION 

Follows sceLsdbUpdateApplication.

SCE_LSDB_APP_INFO_EVENT_UPDATE_APP_INFO 

Follows AppInfo-only refresh or masked-update operations.

◆ SceLsdbIconType

Known values of SceLsdbIconInfo::type on FW 3.60.

Enumerator
SCE_LSDB_ICON_TYPE_APPLICATION 

Application bubble; used by AppInfo-filtered title queries.

SCE_LSDB_ICON_TYPE_FOLDER 

Folder bubble/layout category.

SCE_LSDB_ICON_TYPE_POWER 

Built-in power bubble/layout category.

◆ SceLsdbIcon0Type

Known values of SceLsdbIconInfo::icon0_type on FW 3.60.

Enumerator
SCE_LSDB_ICON0_TYPE_FOLDER 

Folder icon0 source classification.

SCE_LSDB_ICON0_TYPE_POWER 

Built-in power icon source classification.

◆ SceLsdbIconInfoUpdateFlag

Field-selection bits accepted by sceLsdbUpdateIconInfo.

Enumerator
SCE_LSDB_ICON_INFO_UPDATE_TITLE 

Update SceLsdbIconInfo::title.

SCE_LSDB_ICON_INFO_UPDATE_ICON_PATH 

Update SceLsdbIconInfo::icon_path.

SCE_LSDB_ICON_INFO_UPDATE_ICON0_TYPE 

Update SceLsdbIconInfo::icon0_type.

SCE_LSDB_ICON_INFO_UPDATE_COMMAND 

Update SceLsdbIconInfo::command.

SCE_LSDB_ICON_INFO_UPDATE_PARENTAL_LOCK_LEVEL 

Update SceLsdbIconInfo::parental_lock_level.

SCE_LSDB_ICON_INFO_UPDATE_STATUS 

Update SceLsdbIconInfo::status.

SCE_LSDB_ICON_INFO_UPDATE_RENDERED_ICON_BLOB 

Update reserved05 from the supplied byte buffer.

SCE_LSDB_ICON_INFO_UPDATE_ALTERNATE_ICON_PATH 

Update reserved02 from SceLsdbIconInfo::icon_path.

◆ SceLsdbDbBlobCallbackPhase

Enumerator
SCE_LSDB_DB_BLOB_CALLBACK_PHASE_ACQUIRE 
SCE_LSDB_DB_BLOB_CALLBACK_PHASE_RELEASE 

◆ SceLsdbThemeSystemIconLayoutIndex

Indices used by SceLsdbThemeLayout::system_icon_layouts on FW 3.60.

Enumerator
SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_BROWSER 

m_browser; NPXS10003.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_VIDEO 

m_video; NPXS10010.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_MUSIC 

m_music; NPXS10009.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PS3_LINK 

m_ps3Link; NPXS10012.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PARTY 

m_party; NPXS10001.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_TROPHY 

m_trophy; NPXS10008.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_MAP 

m_map; NPXS10005.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_NEAR 

m_near; NPXS10000.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_HOST_COLLABO 

m_hostCollabo; NPXS10026.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_WELCOME_PARK 

m_welcomePark; NPXS10007.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PS4_LINK 

m_ps4Link; NPXS10013 or NPXS10098.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_FRIEND 

m_friend; NPXS10006.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_EMAIL 

m_email; NPXS10072.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_CALENDAR 

m_calendar; NPXS10091.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_STORE 

m_store; SceLsdb maps NPXS10002 and Shell maps NPXS10034.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_MESSAGE 

m_message; NPXS10014.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_PARENTAL 

m_parental; NPXS10094.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_CAMERA 

m_camera; NPXS10004.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_SETTINGS 

m_settings; NPXS10015.

SCE_LSDB_THEME_SYSTEM_ICON_LAYOUT_POWER 

m_power; the icon row whose type is 6.

◆ SceLsdbThemeLayoutUpdateFlag

Fields selected by sceLsdbUpdateThemeLayout.

Enumerator
SCE_LSDB_THEME_LAYOUT_UPDATE_SYSTEM_ICONS 
SCE_LSDB_THEME_LAYOUT_UPDATE_PAGES 

◆ SceLsdbValueType

Enumerator
SCE_LSDB_VALUE_TYPE_INT64 
SCE_LSDB_VALUE_TYPE_STRING 

◆ SceLsdbFilterOperator

Comparison performed by an SceLsdbAppInfoFilter node.

Enumerator
SCE_LSDB_FILTER_OPERATOR_EQUAL 

Compare for equality.

SCE_LSDB_FILTER_OPERATOR_PREFIX 

Match a string prefix using SQL LIKE with escaping.

SCE_LSDB_FILTER_OPERATOR_NOT_EQUAL 

Compare for inequality.

SCE_LSDB_FILTER_OPERATOR_BITMASK_EQUAL 

Test (storedValue & mask) == value for integer values.

◆ SceLsdbFilterFlags

Flags accepted by the filtered-title queries.

Enumerator
SCE_LSDB_FILTER_FLAG_APPINFO_ONLY 

Query tbl_appinfo without requiring an icon record.

SCE_LSDB_FILTER_FLAG_INCLUDE_PAGE_MINUS_100000000 

Do not exclude icon records on page -100000000.

SCE_LSDB_FILTER_FLAG_OMIT_ICON_TITLE_SORT 

Omit the icon-title ORDER BY clause.

◆ SceLsdbNewEventUpdateFlag

Field-selection bits accepted by sceLsdbUpdateNewEvents.

Enumerator
SCE_LSDB_NEW_EVENT_UPDATE_FLAG_ICON_PATH 

Compare and update icon_path.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_ICON_DATA 

Compare and update icon_data.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_MESSAGE 

Compare and update message_type and message_args.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_ACTION_TYPE 

Compare action_type_low and store its signed 64-bit form.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_TITLE 

Compare and update title.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_DESCRIPTION 

Compare and update description.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_EXECUTION 

Compare and update exec_mode, exec_title_id, and exec_argument.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_NEW_FLAG 

Compare and update new_flag.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_TIME 

Compare and update update_time.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_SOUND 

Compare and update sound_id and sound_volume.

SCE_LSDB_NEW_EVENT_UPDATE_FLAG_POPUP 

Compare popup_flag and assign popup_no.

◆ SceLsdbLiveAreaPccUpdateFlag

Fields selected by sceLsdbUpdateLiveAreaPccInfo.

Enumerator
SCE_LSDB_LIVEAREA_PCC_UPDATE_FLAG_DATE 
SCE_LSDB_LIVEAREA_PCC_UPDATE_FLAG_RESOURCE_STATUS 
SCE_LSDB_LIVEAREA_PCC_UPDATE_FLAG_SIGN_OFF 

◆ SceLsdbLiveAreaChangeFlag

Change bits returned by the LiveArea replacement and frame-update exports.

Enumerator
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_1 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_2 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_3 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_4 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_5 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_6 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_7 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_8 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_9 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_FRAME_10 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_BACKGROUND_IMAGE 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_SYSTEM_FUNCTION_ZONE 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_STARTUP_IMAGE 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_TITLE_COLOR 
SCE_LSDB_LIVEAREA_CHANGE_FLAG_STYLE 

◆ SceLsdbLiveAreaObjectType

Object types stored in a parsed LiveArea frame list.

Enumerator
SCE_LSDB_LIVEAREA_OBJECT_TYPE_BACKGROUND_IMAGE 
SCE_LSDB_LIVEAREA_OBJECT_TYPE_SYSTEM_FUNCTION_ZONE 
SCE_LSDB_LIVEAREA_OBJECT_TYPE_STARTUP_IMAGE 
SCE_LSDB_LIVEAREA_OBJECT_TYPE_FRAME 
SCE_LSDB_LIVEAREA_OBJECT_TYPE_TITLE_COLOR 

◆ SceLsdbLiveAreaFrameElementType

Element types stored in a parsed LiveArea frame item.

Enumerator
SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_TARGET 
SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_BACKGROUND 
SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_IMAGE 
SCE_LSDB_LIVEAREA_FRAME_ELEMENT_TYPE_TEXT 

◆ SceLsdbLiveAreaHorizontalAlignment

Horizontal alignment values used by parsed LiveArea visual elements.

Enumerator
SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_CENTER 
SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_LEFT 
SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_RIGHT 
SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_OUTSIDE_LEFT 
SCE_LSDB_LIVEAREA_HORIZONTAL_ALIGNMENT_OUTSIDE_RIGHT 

◆ SceLsdbLiveAreaVerticalAlignment

Vertical alignment values used by parsed LiveArea visual elements.

Enumerator
SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_CENTER 
SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_TOP 
SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_BOTTOM 
SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_OUTSIDE_TOP 
SCE_LSDB_LIVEAREA_VERTICAL_ALIGNMENT_OUTSIDE_BOTTOM 

◆ SceLsdbLiveAreaElementOrigin

Coordinate origin accepted by parsed LiveArea image and text elements.

Enumerator
SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_FRAME 
SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_BACKGROUND 
SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_IMAGE 

◆ SceLsdbLiveAreaFrameMultiMode

Selection mode derived from a LiveArea frame's multi attribute.

Enumerator
SCE_LSDB_LIVEAREA_FRAME_MULTI_MODE_ORDERED 

multi="o"; select items cyclically in document order.

SCE_LSDB_LIVEAREA_FRAME_MULTI_MODE_RANDOM 

multi="r"; select an item randomly, avoiding the current item when possible.

◆ SceLsdbLiveAreaCompatibilityMode

Compatibility selector used for a LiveArea liveitem's pokesute attribute.

Enumerator
SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_ANY 

Disable pokesute filtering.

SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_UNSPECIFIED 

No recognized pokesute attribute.

SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_ON 

pokesute="on".

SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_OFF 

pokesute="off".

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbString   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbUtf16String   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/59]

VITASDK_BUILD_ASSERT_EQ ( 0x4  ,
SceLsdbAppDatabase   
)

◆ VITASDK_BUILD_ASSERT_EQ() [4/59]

VITASDK_BUILD_ASSERT_EQ ( 0x4  ,
SceLsdbQueryContext   
)

◆ VITASDK_BUILD_ASSERT_EQ() [5/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbAppInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [6/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbAppInfoObserver   
)

◆ VITASDK_BUILD_ASSERT_EQ() [7/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbAppInfoArray   
)

◆ VITASDK_BUILD_ASSERT_EQ() [8/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbInt32Array   
)

◆ VITASDK_BUILD_ASSERT_EQ() [9/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbStringArray   
)

◆ VITASDK_BUILD_ASSERT_EQ() [10/59]

VITASDK_BUILD_ASSERT_EQ ( 0x24  ,
SceLsdbPageInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [11/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbPageInfoRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [12/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbPageInfoRefArray   
)

◆ VITASDK_BUILD_ASSERT_EQ() [13/59]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceLsdbSpecialPageInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [14/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbSpecialPageInfoRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [15/59]

VITASDK_BUILD_ASSERT_EQ ( 0x58  ,
SceLsdbIconInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [16/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbIconInfoRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [17/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbIconInfoRefArray   
)

◆ VITASDK_BUILD_ASSERT_EQ() [18/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbIconInfoRefArrayRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [19/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbIconInfoRefArrayRefArray   
)

◆ __attribute__()

struct SceLsdbAppInfoFilter __attribute__ ( (packed, aligned(4))  )

Database location and lifetime callback held by a SceLsdbDbBlob.

One condition used to filter AppInfo records.

One localized row of tbl_theme.

Values within one node are joined with OR. Nodes linked through next are joined with AND. An empty values array tests only whether key exists. The prefix operator accepts string values, while the bit-mask operator accepts integer values and uses mask.

◆ VITASDK_BUILD_ASSERT_EQ() [20/59]

VITASDK_BUILD_ASSERT_EQ ( 0x3C  ,
SceLsdbDbBlobConfig   
)

◆ VITASDK_BUILD_ASSERT_EQ() [21/59]

VITASDK_BUILD_ASSERT_EQ ( 0x38  ,
SceLsdbDbBlob   
)

◆ VITASDK_BUILD_ASSERT_EQ() [22/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbDbBlobRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [23/59]

VITASDK_BUILD_ASSERT_EQ ( 0x24  ,
SceLsdbThemePageLayout   
)

◆ VITASDK_BUILD_ASSERT_EQ() [24/59]

VITASDK_BUILD_ASSERT_EQ ( 0x14  ,
SceLsdbThemeSystemIconLayout   
)

◆ VITASDK_BUILD_ASSERT_EQ() [25/59]

VITASDK_BUILD_ASSERT_EQ ( 0xFC  ,
SceLsdbLocalizedThemeStrings   
)

◆ VITASDK_BUILD_ASSERT_EQ() [26/59]

VITASDK_BUILD_ASSERT_EQ ( 0x20  ,
SceLsdbThemeStartScreenLayout   
)

◆ VITASDK_BUILD_ASSERT_EQ() [27/59]

VITASDK_BUILD_ASSERT_EQ ( 0x28  ,
SceLsdbThemeInformationBarLayout   
)

◆ VITASDK_BUILD_ASSERT_EQ() [28/59]

VITASDK_BUILD_ASSERT_EQ ( 0x5B0  ,
SceLsdbThemeLayout   
)

◆ VITASDK_BUILD_ASSERT_EQ() [29/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbThemeLayoutRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [30/59]

VITASDK_BUILD_ASSERT_EQ ( 0x64  ,
SceLsdbThemeInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [31/59]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceLsdbValue   
)

◆ VITASDK_BUILD_ASSERT_EQ() [32/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbValueArray   
)

◆ VITASDK_BUILD_ASSERT_EQ() [33/59]

VITASDK_BUILD_ASSERT_EQ ( 0x24  ,
SceLsdbAppInfoFilter   
)

◆ VITASDK_BUILD_ASSERT_EQ() [34/59]

VITASDK_BUILD_ASSERT_EQ ( 0x4  ,
SceLsdbNewEventDatabase   
)

◆ VITASDK_BUILD_ASSERT_EQ() [35/59]

VITASDK_BUILD_ASSERT_EQ ( 0x20  ,
SceLsdbNewEventSelector   
)

◆ VITASDK_BUILD_ASSERT_EQ() [36/59]

VITASDK_BUILD_ASSERT_EQ ( 0x100  ,
SceLsdbNewEvent   
)

◆ VITASDK_BUILD_ASSERT_EQ() [37/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbNewEventRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [38/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbNewEventRefArray   
)

◆ VITASDK_BUILD_ASSERT_EQ() [39/59]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceLsdbTimeRange   
)

◆ VITASDK_BUILD_ASSERT_EQ() [40/59]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceLsdbLiveAreaPccInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [41/59]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceLsdbLiveAreaSfEntry   
)

◆ VITASDK_BUILD_ASSERT_EQ() [42/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbLiveAreaObject   
)

◆ VITASDK_BUILD_ASSERT_EQ() [43/59]

VITASDK_BUILD_ASSERT_EQ ( 0x14  ,
SceLsdbLiveAreaBackgroundImage   
)

◆ VITASDK_BUILD_ASSERT_EQ() [44/59]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceLsdbLiveAreaSystemFunctionZone   
)

◆ VITASDK_BUILD_ASSERT_EQ() [45/59]

VITASDK_BUILD_ASSERT_EQ ( 0x14  ,
SceLsdbLiveAreaStartupImage   
)

◆ VITASDK_BUILD_ASSERT_EQ() [46/59]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceLsdbLiveAreaTitleColor   
)

◆ VITASDK_BUILD_ASSERT_EQ() [47/59]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceLsdbLiveAreaObjectListNode   
)

◆ VITASDK_BUILD_ASSERT_EQ() [48/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbLiveAreaFrameElement   
)

◆ VITASDK_BUILD_ASSERT_EQ() [49/59]

VITASDK_BUILD_ASSERT_EQ ( 0x24  ,
SceLsdbLiveAreaVisualElement   
)

◆ VITASDK_BUILD_ASSERT_EQ() [50/59]

VITASDK_BUILD_ASSERT_EQ ( 0x20  ,
SceLsdbLiveAreaTargetElement   
)

◆ VITASDK_BUILD_ASSERT_EQ() [51/59]

VITASDK_BUILD_ASSERT_EQ ( 0x30  ,
SceLsdbLiveAreaBackgroundElement   
)

◆ VITASDK_BUILD_ASSERT_EQ() [52/59]

VITASDK_BUILD_ASSERT_EQ ( 0x34  ,
SceLsdbLiveAreaImageElement   
)

◆ VITASDK_BUILD_ASSERT_EQ() [53/59]

VITASDK_BUILD_ASSERT_EQ ( 0x70  ,
SceLsdbLiveAreaTextElement   
)

◆ VITASDK_BUILD_ASSERT_EQ() [54/59]

VITASDK_BUILD_ASSERT_EQ ( 0x30  ,
SceLsdbLiveAreaFrameItem   
)

◆ VITASDK_BUILD_ASSERT_EQ() [55/59]

VITASDK_BUILD_ASSERT_EQ ( 0x48  ,
SceLsdbLiveAreaFrame   
)

◆ VITASDK_BUILD_ASSERT_EQ() [56/59]

VITASDK_BUILD_ASSERT_EQ ( 0x38  ,
SceLsdbLiveAreaFrameList   
)

◆ VITASDK_BUILD_ASSERT_EQ() [57/59]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceLsdbLiveAreaFrameListRef   
)

◆ VITASDK_BUILD_ASSERT_EQ() [58/59]

VITASDK_BUILD_ASSERT_EQ ( 0x3C  ,
SceLsdbLiveAreaParser   
)

◆ VITASDK_BUILD_ASSERT_EQ() [59/59]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceLsdbIconLayoutEntry   
)

◆ sceLsdbAppDatabaseInit()

SceLsdbAppDatabase * sceLsdbAppDatabaseInit ( SceLsdbAppDatabase *  database)

Initialize an AppDB wrapper.

Both this function and sceLsdbAppDatabaseInit2 allocate the same one-byte ownership token on FW 3.60. First call sceLsdbOpen; this function does not open a database connection. The reason for exporting two entry points is unknown.

◆ sceLsdbAppDatabaseInit2()

SceLsdbAppDatabase * sceLsdbAppDatabaseInit2 ( SceLsdbAppDatabase *  database)

◆ sceLsdbAppDatabaseEnd()

SceLsdbAppDatabase * sceLsdbAppDatabaseEnd ( SceLsdbAppDatabase *  database)

Release an AppDB wrapper's ownership token.

Both entry points free a non-NULL token and return database. They do not close the process's shared AppDB or clear SceLsdbAppDatabase::token.

◆ sceLsdbAppDatabaseEnd2()

SceLsdbAppDatabase * sceLsdbAppDatabaseEnd2 ( SceLsdbAppDatabase *  database)

◆ sceLsdbGetIconsInPageRange()

int sceLsdbGetIconsInPageRange ( SceLsdbAppDatabase *  database,
SceInt32  first_page_no,
SceSize  page_count,
SceLsdbIconInfoRefArrayRefArray *  icons_by_page 
)

Query icon records for consecutive AppDB pages.

The requested pages start at first_page_no and end before first_page_no + page_count. Before the call, icons_by_page must contain at least page_count elements, and each element must hold a valid reference to an SceLsdbIconInfoRefArray object. FW 3.60 clears those inner vectors and then fills element i with the icons from page first_page_no + i, ordered by position. At most ten icons are retained for each page.

Return values
SCE_LSDB_ERROR_INVALID_ARGUMENTpage_count is zero or the outer vector contains fewer than page_count elements.

◆ sceLsdbGetPageInfo()

int sceLsdbGetPageInfo ( SceLsdbAppDatabase *  database,
SceInt32  first_page_no,
SceSize  page_count,
SceLsdbPageInfoRefArray *  pages 
)

Query page_count consecutive page records beginning at first_page_no.

Before the call, pages must contain at least page_count elements. FW 3.60 releases any references already held by those elements, then writes one SceLsdbPageInfoRef for each requested page number.

Return values
SCE_LSDB_ERROR_INVALID_ARGUMENTpage_count is zero or pages contains fewer than page_count elements.

◆ sceLsdbReplaceIconsInPages()

int sceLsdbReplaceIconsInPages ( SceLsdbAppDatabase *  database,
const SceLsdbInt32Array *  page_nos,
const SceLsdbIconInfoRefArrayRefArray *  icons_by_page 
)

Replace all icon records on one or more pages.

page_nos and icons_by_page must have the same nonzero element count. Element i of icons_by_page is the replacement icon vector for page_nos[i]. FW 3.60 deletes every existing icon on each page, then inserts the supplied icons in vector order with positions beginning at zero. An empty inner vector therefore clears that page.

Valid page numbers are nonnegative, -100000000, or in the range -20000000 through -10000001.

◆ sceLsdbUpdateIconInfo()

int sceLsdbUpdateIconInfo ( SceLsdbAppDatabase *  database,
SceInt32  page_no,
const SceLsdbIconInfoRef *  icon_info,
SceUInt32  update_mask,
const void *  icon_data,
SceSize  icon_data_size 
)

Update selected fields of one icon record.

The record is selected by page_no and SceLsdbIconInfo::position. Only SceLsdbIconInfoUpdateFlag bits are interpreted; unlisted bits must not be set. The selected integer and string fields are read from icon_info.

SCE_LSDB_ICON_INFO_UPDATE_RENDERED_ICON_BLOB stores icon_data and icon_data_size in tbl_appinfo_icon.reserved05. SCE_LSDB_ICON_INFO_UPDATE_ALTERNATE_ICON_PATH stores SceLsdbIconInfo::icon_path as reserved02; it does not use icon_data. Input objects and buffers must remain valid until the call returns; they are not used afterwards.

Parameters
[in]database- Initialized AppDB wrapper; the AppDB must be open.
[in]page_no- Page containing the icon.
[in]icon_info- Icon object whose position and selected fields are read.
[in]update_mask- Bitwise OR of SceLsdbIconInfoUpdateFlag values.
[in]icon_data- Rendered PAF icon-cache bytes, or NULL when the blob update bit is not set.
[in]icon_data_size- Size of icon_data in bytes.
Return values
0The record was updated.
SCE_LSDB_ERROR_INVALID_ARGUMENTicon_info is invalid or update_mask is zero.
SCE_LSDB_ERROR_INVALID_HANDLEThe database is not open or the transaction could not be started.
SCE_LSDB_ERROR_NOT_FOUNDNo matching row was changed.
SCE_LSDB_ERROR_NO_MEMORYAn internal allocation failed.
Returns
Other negative ActivityDb/SQLite errors can also be returned.

◆ sceLsdbInsertIcon()

int sceLsdbInsertIcon ( SceLsdbAppDatabase *  database,
SceInt32  page_no,
const SceLsdbIconInfoRef *  icon_info 
)

Insert one icon record on page_no.

Valid pages are nonnegative, -100000000, or special pages from -20000000 through -10000001. Page -100000000 appends the icon after existing rows; other pages use SceLsdbIconInfo::position. On success the SQLite row ID is written to SceLsdbIconInfo::row_id. A type-zero icon must have a nonempty title ID. A title whose #_org_path begins with ux0: also receives an ux0:iconlayout.ini entry.

FW 3.60 returns 0 without inserting anything for another negative page number, including -1.

◆ sceLsdbDeleteIconByTitleId()

int sceLsdbDeleteIconByTitleId ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id 
)

Delete the icon record belonging to title_id.

The corresponding ux0:iconlayout.ini entry is also removed when the title's #_org_path begins with ux0:.

Return values
0One or more icon rows were deleted.
SCE_LSDB_ERROR_NOT_FOUNDNo icon row has this title ID.

◆ sceLsdbMoveIcons()

int sceLsdbMoveIcons ( SceLsdbAppDatabase *  database,
const SceLsdbInt32Array *  source_page_nos,
const SceLsdbInt32Array *  source_positions,
const SceLsdbInt32Array *  destination_page_nos,
const SceLsdbInt32Array *  destination_positions 
)

Move corresponding source page/position entries to their destinations.

All four vectors must have the same nonzero count. Element i identifies one source and destination pair. A destination page must be nonnegative, -100000000, or in the special-page range from -20000000 through -10000001. FW 3.60 first moves each row to position ~destination_positions[i] on the destination page to avoid duplicate page/position pairs, then moves it to the requested position.

An otherwise invalid destination page instead requests deletion when it is the bitwise complement of the destination position. For example, the pair (-1, 0) deletes the source icon. Another invalid pair returns SCE_LSDB_ERROR_INVALID_ARGUMENT. Final coordinates are reflected in ux0:iconlayout.ini.

◆ sceLsdbGetIconReservedBlob()

SceLsdbDbBlobRef sceLsdbGetIconReservedBlob ( SceLsdbAppDatabase *  database,
const SceInt64 *  row_id,
int *  error 
)

Return the reference-counted blob in tbl_appinfo_icon.reserved05 for the supplied SQLite row ID.

The returned stream is read-only and opens the database BLOB only when needed. error is optional and receives the stream creation result; an error returns an empty reference.

◆ sceLsdbUpdatePages()

int sceLsdbUpdatePages ( SceLsdbAppDatabase *  database,
const SceLsdbInt32Array *  page_nos,
const SceLsdbPageInfoRefArray *  pages 
)

Update one or more AppDB page records.

page_nos and pages must have the same nonzero element count. Element i of pages supplies every replacement field for page_nos[i]. Page numbers may be nonnegative, -100000000, or in the special-page range from -20000000 through -10000001. A missing page returns success without making changes on FW 3.60.

◆ sceLsdbInsertPage()

int sceLsdbInsertPage ( SceLsdbAppDatabase *  database,
SceInt32  page_no,
const SceLsdbIconInfoRefArray *  icons,
const SceLsdbPageInfo *  page_info 
)

Insert a nonnegative page record followed by its icon records.

page_no may equal the current nonnegative page count to append a page, but may not exceed it. Existing pages at and after the insertion point are shifted upward. Each icon uses its own SceLsdbIconInfo::position and receives its SQLite row ID in SceLsdbIconInfo::row_id. Corresponding ux0:iconlayout.ini page numbers are shifted on success.

◆ sceLsdbDeletePage()

int sceLsdbDeletePage ( SceLsdbAppDatabase *  database,
SceInt32  page_no 
)

Delete a nonnegative or special negative page.

Deleting a nonnegative page shifts every later page and icon-layout entry down by one. Deleting a special page also deletes the folder icon whose reserved01 value references that page.

◆ sceLsdbInsertIconWithParent()

int sceLsdbInsertIconWithParent ( SceLsdbAppDatabase *  database,
SceInt32  page_no,
const SceLsdbIconInfoRef *  child_icon_info,
const SceLsdbIconInfoRef *  folder_icon_info,
const void *  icon_data,
SceSize  icon_data_size 
)

Create a folder icon around an existing child icon.

FW 3.60 allocates a previously unused page number from -20000000 through -10000001, assigns it to folder_icon_info, and inserts that special page. It then moves the existing row at (page_no, folder_icon_info->position) to (specialPageNo, child_icon_info->position) and inserts the folder back at (page_no, folder_icon_info->position). Shell normally sets the child's new position to zero. The existing child is selected by coordinates, not by the child reference's row ID or title ID.

Both reference holders and their objects must be non-NULL. A type-zero child with a nonempty title ID is recorded in the special-page metadata. The newly inserted folder's SQLite row ID is written to SceLsdbIconInfo::row_id.

icon_data and icon_data_size initialize the folder's rendered-icon BLOB only when icon_data is non-NULL and icon_data_size is nonzero.

◆ sceLsdbGetPageCount()

int sceLsdbGetPageCount ( SceLsdbAppDatabase *  database)

Return the number of nonnegative AppInfo pages.

◆ sceLsdbGetIconCountInPageRange()

int sceLsdbGetIconCountInPageRange ( SceLsdbAppDatabase *  database,
SceInt32  first_page_no,
SceSize  page_count 
)

Count icons on page_count consecutive pages beginning at first_page_no.

A valid starting page is nonnegative, -100000000, or in the special-page range from -20000000 through -10000001. For those values, FW 3.60 counts rows whose page number is between first_page_no and first_page_no + page_count - 1, inclusive. Any other starting value disables the page filter and counts every icon row; Shell and database recovery use -1 to request that total.

◆ sceLsdbGetCountedIconCount()

int sceLsdbGetCountedIconCount ( SceLsdbAppDatabase *  database)

Count icons which count against the Shell top-level icon limit.

FW 3.60 excludes folder icons with type 5 and every icon on page -100000000.

◆ sceLsdbGetFolderPageNosByTitle()

int sceLsdbGetFolderPageNosByTitle ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title,
SceLsdbInt32Array *  page_nos 
)

Return folder child-page numbers for a localized bubble title.

FW 3.60 hardcodes icon type 5, finds every matching title value, orders the rows by containing page number and position, and appends each row's reserved01 value to page_nos. For a folder, that value identifies its special negative child page.

Return values
0One or more folder page numbers were returned.
SCE_LSDB_ERROR_NOT_FOUNDNo matching folder row exists.

◆ sceLsdbGetAppInfoFromDatabase()

int sceLsdbGetAppInfoFromDatabase ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id,
SceLsdbAppInfo *  app_info 
)

Load all AppInfo values for one title through an AppDB wrapper.

◆ sceLsdbGetAppInfoValueFromDatabase()

int sceLsdbGetAppInfoValueFromDatabase ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id,
SceUInt32  key,
SceLsdbValue *  value 
)

Read one typed AppInfo value through an AppDB wrapper.

Returns
SCE_LSDB_VALUE_TYPE_INT64 or SCE_LSDB_VALUE_TYPE_STRING on success, or a negative error code.

◆ sceLsdbAppInfoExists()

int sceLsdbAppInfoExists ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id 
)

Return nonzero when tbl_appinfo contains at least one row for title_id.

A closed AppDB returns 0 rather than SCE_LSDB_ERROR_INVALID_HANDLE.

◆ sceLsdbGetIconInfoByTitleId()

int sceLsdbGetIconInfoByTitleId ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id,
SceLsdbIconInfoRef *  icon_info,
SceInt32 *  page_no,
SceBool  use_fallback 
)

Read icon information for title_id.

When use_fallback is nonzero, a nonempty reserved02 column replaces the returned SceLsdbIconInfo::icon_path. If no icon row exists for title_id, the title's BOOT_INSTALL_DIR AppInfo string is also tried as a second title ID. A zero value disables both fallback behaviors.

database must not be NULL: FW 3.60 dereferences the wrapper, but performs this query through the process's shared AppDB connection.

◆ sceLsdbGetIconInfoById()

int sceLsdbGetIconInfoById ( SceLsdbAppDatabase *  database,
const SceInt32 *  reserved01,
SceInt32 *  page_no,
SceLsdbIconInfoRef *  icon_info 
)

Read the first icon record whose tbl_appinfo_icon.reserved01 equals the signed 32-bit value at reserved01.

This selector is distinct from SceLsdbIconInfo::row_id. On success page_no receives the containing page and icon_info receives one strong reference.

◆ sceLsdbGetFilteredTitleIdsFromDatabase()

int sceLsdbGetFilteredTitleIdsFromDatabase ( SceLsdbAppDatabase *  database,
const SceLsdbAppInfoFilter *  filter,
SceLsdbStringArray *  title_ids,
SceUInt32  flags 
)

Return title IDs matching a chain of AppInfo filters.

Without SCE_LSDB_FILTER_FLAG_APPINFO_ONLY, FW 3.60 returns title IDs from type-zero icon records whose AppInfo rows match filter. The other flags affect only that icon-record query. Existing contents of title_ids are released before the result is written. filter must not be NULL.

flags is a bitwise OR of SceLsdbFilterFlags values.

◆ sceLsdbGetRecentlyUsedTitleIdsByCategoriesFromDatabase()

int sceLsdbGetRecentlyUsedTitleIdsByCategoriesFromDatabase ( SceLsdbAppDatabase *  database,
const char *const *  categories,
SceSize  category_count,
SceInt32  max_title_count,
SceLsdbStringArray *  title_ids 
)

Return recently used titles in any requested application category.

Results are ordered by the #_lltime AppInfo value in descending order. A max_title_count value less than or equal to zero removes the result limit. When category_count is zero, categories may be NULL and every row which has a CATEGORY value is eligible. Existing contents of title_ids are released before the result is written.

◆ sceLsdbResolveUriTitleIdFromDatabase()

int sceLsdbResolveUriTitleIdFromDatabase ( SceLsdbAppDatabase *  database,
const char *  uri,
SceLsdbString *  title_id,
SceUInt32  flags 
)

Resolve a URI to the title whose registered host/path is its longest prefix.

Rows with the same prefix are ordered by descending last-launch and creation times. When flags is zero, no URI-row flag filter is applied. A nonzero value keeps only rows for which (storedFlag & flags) != 0. FW 3.60 sets stored flag bit 0 for the GDA category and for application name PCSI00013; Shell passes either 0 or 1 to this function.

◆ sceLsdbGetUriPrefixesFromDatabase()

int sceLsdbGetUriPrefixesFromDatabase ( SceLsdbAppDatabase *  database,
const char *const *  schemes,
SceSize  scheme_count,
SceLsdbStringArray *  uri_prefixes 
)

Collect distinct scheme:host/path prefixes for the requested schemes.

◆ sceLsdbInsertApplication()

int sceLsdbInsertApplication ( SceLsdbAppDatabase *  database,
const SceLsdbAppInfo *  app_info,
SceInt32  page_no,
const SceLsdbIconInfoRef *  icon_info,
const SceLsdbAppInfoArray *  additional_app_info 
)

Insert the AppInfo, icon, URI, and icon-layout records for one application.

The reference holders and additional_app_info vector must not be NULL, even when empty. A page number of -1 skips icon insertion. Page -100000000 appends the icon after the existing icons on that page; other valid pages use SceLsdbIconInfo::position. A successful icon insertion writes its SQLite row ID to SceLsdbIconInfo::row_id. An application whose #_org_path begins with ux0: also receives an ux0:iconlayout.ini entry. Observers are called with SCE_LSDB_APP_INFO_EVENT_INSERT_APPLICATION after all records have been written.

◆ sceLsdbDeleteTitleData()

int sceLsdbDeleteTitleData ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id,
SceBool  delete_special_page,
SceInt32 *  page_no 
)

Delete all AppDB data belonging to title_id.

The icon, AppInfo, URI, and icon-layout records are removed. When delete_special_page is nonzero and the icon resides on a special negative page, that page and the folder row which references it are also removed. When page_no is non-NULL, it receives the deleted icon's page number.

◆ sceLsdbUpdateApplication()

int sceLsdbUpdateApplication ( SceLsdbAppDatabase *  database,
const SceLsdbAppInfo *  app_info,
const SceLsdbIconInfoRef *  icon_info,
const SceLsdbAppInfoArray *  additional_app_info 
)

Update the AppInfo, icon, and URI records for one application.

A nonempty icon_info updates the existing icon row's title, path, icon0 type, command, parental-lock level, and status, but not its alternate path or rendered-icon BLOB. An empty reference leaves the icon row unchanged. On success, observers are called with SCE_LSDB_APP_INFO_EVENT_UPDATE_APPLICATION.

◆ sceLsdbReplaceApplication()

int sceLsdbReplaceApplication ( SceLsdbAppDatabase *  database,
const SceLsdbAppInfo *  app_info,
const SceLsdbIconInfoRef *  icon_info,
SceBool  update_icon_title,
const SceLsdbAppInfoArray *  additional_app_info 
)

Replace the AppInfo and URI records for one application.

When update_icon_title is nonzero, the icon reference must be nonempty and only SceLsdbIconInfo::title is copied to the existing icon row. No icon path, type, command, status, or image BLOB is changed. On success, observers are called with SCE_LSDB_APP_INFO_EVENT_UPDATE_APP_INFO.

◆ sceLsdbSetAppInfoValueMaskedFromDatabase()

int sceLsdbSetAppInfoValueMaskedFromDatabase ( SceLsdbAppDatabase *  database,
const SceLsdbString *  title_id,
SceUInt32  key,
const SceLsdbValue *  value,
SceUInt64  mask 
)

Update a title's AppInfo value using a mask through an AppDB wrapper.

For integer values, bits selected by mask are copied from value. String values are replaced. SUPPORT_URI, _fg_title_id, and _bg_title_id are protected and return SCE_LSDB_ERROR_PROTECTED_APPINFO_KEY. On success, observers are called with SCE_LSDB_APP_INFO_EVENT_UPDATE_APP_INFO.

◆ sceLsdbGetConfigStringFromDatabase()

SceLsdbString sceLsdbGetConfigStringFromDatabase ( SceLsdbAppDatabase *  database,
SceUInt32  key,
const char *  default_value 
)

Return a standalone config string, or a copied default_value when the key or the process's shared database is unavailable.

The wrapper is required but does not select a separate connection.

◆ sceLsdbGetConfigInt64FromDatabase()

SceInt64 sceLsdbGetConfigInt64FromDatabase ( SceLsdbAppDatabase *  database,
SceUInt32  key,
SceInt64  default_value 
)

Return a 64-bit config value, or default_value when the key or the process's shared database is unavailable.

The wrapper does not select a separate connection.

◆ sceLsdbSetConfigStringFromDatabase()

int sceLsdbSetConfigStringFromDatabase ( SceLsdbAppDatabase *  database,
SceUInt32  key,
const char *  value 
)

Store or replace a string in tbl_config through the process's shared AppDB.

◆ sceLsdbSetConfigInt64MaskedFromDatabase()

int sceLsdbSetConfigInt64MaskedFromDatabase ( SceLsdbAppDatabase *  database,
SceUInt32  key,
SceInt64  value,
SceUInt64  mask 
)

Update an integer tbl_config value using a mask through an AppDB wrapper.

The resulting value is (oldValue & ~mask) | (value & mask).

◆ sceLsdbUpdateThemeLayout()

int sceLsdbUpdateThemeLayout ( SceLsdbAppDatabase *  database,
const SceLsdbThemeLayoutRef *  layout,
SceUInt32  update_flags 
)

Update page and system-icon rows from a Shell theme-layout object.

layout and layout->object must not be NULL. update_flags is a bitwise OR of SceLsdbThemeLayoutUpdateFlag values. Unselected fields of the layout are not read. The system-icon update joins each nonempty SceLsdbThemeSystemIconLayout::icon_file_path to the theme root and stores it as the icon row's alternate path. The page update applies one layout entry to each existing nonnegative page: SceLsdbThemePageLayout::wave_type becomes bgColor, SceLsdbThemePageLayout::font_color and SceLsdbThemePageLayout::font_shadow are encoded into reserved01, and a nonempty SceLsdbThemePageLayout::image_file_path becomes theme_file with dimensions 960 by 512.

◆ sceLsdbReplaceTheme()

int sceLsdbReplaceTheme ( SceLsdbAppDatabase *  database,
const SceLsdbThemeInfo *  theme_info,
const SceLsdbLocalizedThemeStrings *  localized_titles,
const SceLsdbLocalizedThemeStrings *  localized_providers 
)

Replace or insert one theme record and its localized strings.

The selected member at the start of each localized-string collection is not read. The 20 localized members are stored for language indices 0 through 19.

◆ sceLsdbDeleteTheme()

int sceLsdbDeleteTheme ( SceLsdbAppDatabase *  database,
const SceLsdbString *  theme_id 
)

Delete one theme record.

◆ sceLsdbDeleteAllThemes()

int sceLsdbDeleteAllThemes ( SceLsdbAppDatabase *  database)

Delete all theme records.

◆ sceLsdbGetThemeCount()

int sceLsdbGetThemeCount ( SceLsdbAppDatabase *  database)

Return the number of theme records.

◆ sceLsdbAppDatabaseBeginTransaction()

int sceLsdbAppDatabaseBeginTransaction ( SceLsdbAppDatabase *  database)

Begin an AppDB transaction through a wrapper.

Return values
0The transaction was started.
SCE_LSDB_ERROR_INVALID_HANDLEThe database is not open.
Returns
Other negative ActivityDb/SQLite errors can also be returned.

◆ sceLsdbAppDatabaseEndTransaction()

int sceLsdbAppDatabaseEndTransaction ( SceLsdbAppDatabase *  database,
SceInt32  database_version_or_rollback 
)

End an AppDB transaction through a wrapper.

The second argument is not a notification type, and this function does not send an AppDB notification. Any negative database_version_or_rollback rolls the transaction back. A nonnegative value is written as the primary AppDB version before the transaction is committed. Use -1 to roll back or 59 to commit a FW 3.60 AppDB. Another nonnegative version can make the database fail its next compatibility check.

A successful commit also rotates the previous <database-path>-err file and sets /CONFIG/SHELL/appdb_rebuild_flag to 1. It does not invalidate SceShell's in-memory icon cache.

Return values
0The transaction was committed or rolled back.
SCE_LSDB_ERROR_INVALID_HANDLEThe database is not open or no valid transaction exists.
Returns
Other negative ActivityDb/SQLite errors can also be returned.

◆ sceLsdbGetAllAppInfo()

int sceLsdbGetAllAppInfo ( SceLsdbAppDatabase *  database,
SceLsdbAppInfoCallback  callback,
void *  user_data 
)

Enumerate all AppInfo objects ordered by title ID.

callback is invoked once for each title. The callback receives a temporary reference which is released after it returns.

◆ sceLsdbRegisterAppInfoObserver()

int sceLsdbRegisterAppInfoObserver ( SceLsdbAppInfoObserver *  observer,
SceLsdbAppInfoObserverCallback  callback,
void *  user_data 
)

Register an AppInfo observer for the calling process.

Re-registering an initialized observer first removes its previous registration. The callback and user-data pointers are stored directly in observer; they are not copied into separately owned storage. A NULL callback removes an existing registration without adding another one.

Parameters
[in,out]observer- Non-NULL, zero-initialized object which must remain allocated at the same address until it is unregistered.
[in]callback- Callback invoked synchronously for AppInfo changes.
[in]user_data- Opaque value passed to callback.
Return values
0The observer was registered.
SCE_LSDB_ERROR_INVALID_HANDLEThe process's shared AppDB is not open.

◆ sceLsdbUnregisterAppInfoObserver()

int sceLsdbUnregisterAppInfoObserver ( SceLsdbAppInfoObserver *  observer)

Unregister an AppInfo observer in the calling process and clear its two fields.

observer must be non-NULL. It may already be empty.

Return values
0The observer was unregistered or was already empty.

◆ sceLsdbQueryContextInit()

SceLsdbQueryContext * sceLsdbQueryContextInit ( SceLsdbQueryContext *  context)

Initialize a query context without attaching it to the database.

Both entry points set SceLsdbQueryContext::state to NULL and otherwise have the same behavior on FW 3.60.

◆ sceLsdbQueryContextInit2()

SceLsdbQueryContext * sceLsdbQueryContextInit2 ( SceLsdbQueryContext *  context)

◆ sceLsdbQueryContextClose()

int sceLsdbQueryContextClose ( SceLsdbQueryContext *  context)

Stop a query context from receiving the process's AppDB change notifications.

This unregisters the context's internal AppInfo observer, releases its four-byte state object, and sets SceLsdbQueryContext::state to NULL. It succeeds when the context is already detached.

◆ sceLsdbQueryContextEnd()

SceLsdbQueryContext * sceLsdbQueryContextEnd ( SceLsdbQueryContext *  context)

Detach and release a query-context object.

Both entry points perform the same cleanup as sceLsdbQueryContextClose, but return context.

◆ sceLsdbQueryContextEnd2()

SceLsdbQueryContext * sceLsdbQueryContextEnd2 ( SceLsdbQueryContext *  context)

◆ sceLsdbQueryContextOpen()

int sceLsdbQueryContextOpen ( SceLsdbQueryContext *  context)

Attach a query context to the process's already-open shared AppDB.

First call sceLsdbOpen. This function does not open a database; it allocates a four-byte change flag and registers an internal AppInfo observer for the calling process. Every AppInfo notification sets the flag to 1. The flag can be read and optionally cleared with sceLsdbQueryContextTestAndClearFlag. Call one of the query-context cleanup functions before sceLsdbClose.

Return values
0The context was attached.
SCE_LSDB_ERROR_INVALID_HANDLEThe process's shared AppDB is not open, or context is already attached.

◆ sceLsdbQueryGetAppInfo()

int sceLsdbQueryGetAppInfo ( SceLsdbQueryContext *  context,
const SceLsdbString *  title_id,
SceLsdbAppInfo *  app_info 
)

Load all AppInfo values for one title.

◆ sceLsdbQueryGetAppInfoValue()

int sceLsdbQueryGetAppInfoValue ( SceLsdbQueryContext *  context,
const SceLsdbString *  title_id,
SceUInt32  key,
SceLsdbValue *  value 
)

Read one typed AppInfo value.

Returns
SCE_LSDB_VALUE_TYPE_INT64 or SCE_LSDB_VALUE_TYPE_STRING on success, or a negative error code.

◆ sceLsdbQueryAppInfoExists()

int sceLsdbQueryAppInfoExists ( SceLsdbQueryContext *  context,
const SceLsdbString *  title_id 
)

Return nonzero when a title has AppInfo rows.

A detached context or closed AppDB returns 0 rather than SCE_LSDB_ERROR_INVALID_HANDLE.

◆ sceLsdbQueryGetIconInfo()

int sceLsdbQueryGetIconInfo ( SceLsdbQueryContext *  context,
const SceLsdbString *  title_id,
SceLsdbIconInfoRef *  icon_info,
SceBool  use_fallback 
)

Read icon information for a title through a query context.

use_fallback has the same reserved02 and BOOT_INSTALL_DIR behavior as sceLsdbGetIconInfoByTitleId. It does not control whether hidden icons are included.

◆ sceLsdbQueryGetFilteredTitleIds()

int sceLsdbQueryGetFilteredTitleIds ( SceLsdbQueryContext *  context,
const SceLsdbAppInfoFilter *  filter,
SceLsdbStringArray *  title_ids,
SceUInt32  flags 
)

Return title IDs matching a chain of AppInfo filters.

This is the query-context version of sceLsdbGetFilteredTitleIdsFromDatabase. It uses the process's shared AppDB.

◆ sceLsdbQueryGetRecentlyUsedTitleIdsByCategories()

int sceLsdbQueryGetRecentlyUsedTitleIdsByCategories ( SceLsdbQueryContext *  context,
const char *const *  categories,
SceSize  category_count,
SceInt32  max_title_count,
SceLsdbStringArray *  title_ids 
)

Return recently used titles in any requested application category.

This is the query-context version of sceLsdbGetRecentlyUsedTitleIdsByCategoriesFromDatabase. It uses the process's shared AppDB.

◆ sceLsdbQueryResolveUriTitleId()

int sceLsdbQueryResolveUriTitleId ( SceLsdbQueryContext *  context,
const char *  uri,
SceLsdbString *  title_id,
SceUInt32  flags 
)

Resolve a URI through the process's shared AppDB connection.

◆ sceLsdbQueryGetUriPrefixes()

int sceLsdbQueryGetUriPrefixes ( SceLsdbQueryContext *  context,
const char *const *  schemes,
SceSize  scheme_count,
SceLsdbStringArray *  uri_prefixes 
)

Collect distinct URI prefixes through the process's shared AppDB connection.

◆ sceLsdbQueryGetConfigString()

SceLsdbString sceLsdbQueryGetConfigString ( SceLsdbQueryContext *  context,
SceUInt32  key,
const char *  default_value 
)

Return a standalone config string, or a copied default_value when the key is absent or the query context is detached.

◆ sceLsdbQueryGetConfigInt64()

SceInt64 sceLsdbQueryGetConfigInt64 ( SceLsdbQueryContext *  context,
SceUInt32  key,
SceInt64  default_value 
)

Return a 64-bit config value, or default_value when the key is absent or the context is detached.

◆ sceLsdbQueryContextTestAndClearFlag()

int sceLsdbQueryContextTestAndClearFlag ( SceLsdbQueryContext *  context,
SceBool  clear 
)

Test the query-context AppInfo-change flag and optionally clear it.

Every AppInfo observer event in the calling process sets the flag to 1. When clear is nonzero, FW 3.60 atomically changes the exact value 1 to 0. A zero value only tests the flag. A detached context returns 0.

◆ sceLsdbQueryGetThemeIds()

int sceLsdbQueryGetThemeIds ( SceLsdbQueryContext *  context,
SceLsdbStringArray *  theme_ids 
)

Return theme IDs ordered by descending modification time.

◆ sceLsdbQueryGetTheme()

int sceLsdbQueryGetTheme ( SceLsdbQueryContext *  context,
const SceLsdbString *  theme_id,
SceInt32  language_index,
SceLsdbThemeInfo *  theme_info 
)

Read one localized theme record.

language_index selects the titleN and providerN columns directly. A nonempty localized value replaces the corresponding default value. SceLsdb writes every member except SceLsdbThemeInfo::vtable and the natural alignment padding preceding SceLsdbThemeInfo::last_modified_time.

◆ sceLsdbQueryGetTotalThemeSize()

SceInt64 sceLsdbQueryGetTotalThemeSize ( SceLsdbQueryContext *  context)

Return the sum of tbl_theme.size.

◆ sceLsdbSetAppInfoValueMasked()

int sceLsdbSetAppInfoValueMasked ( const SceLsdbString *  title_id,
SceUInt32  key,
const SceLsdbValue *  value,
SceUInt64  mask 
)

Update a title's AppInfo value using a mask.

For integer values, bits selected by mask are copied from value. String values are replaced. SUPPORT_URI, _fg_title_id, and _bg_title_id are protected and return SCE_LSDB_ERROR_PROTECTED_APPINFO_KEY. On success, observers are called with SCE_LSDB_APP_INFO_EVENT_UPDATE_APP_INFO.

◆ sceLsdbGetAppInfoValue()

int sceLsdbGetAppInfoValue ( const SceLsdbString *  title_id,
SceUInt32  key,
SceLsdbValue *  value 
)

Read one AppInfo value through the process's shared AppDB connection.

Returns
SCE_LSDB_VALUE_TYPE_INT64 or SCE_LSDB_VALUE_TYPE_STRING on success, or a negative error code.

◆ sceLsdbSetConfigString()

int sceLsdbSetConfigString ( SceUInt32  key,
const char *  value 
)

Store a string in tbl_config through the process's shared AppDB connection.

◆ sceLsdbSetConfigInt64Masked()

int sceLsdbSetConfigInt64Masked ( SceUInt32  key,
SceInt64  value,
SceUInt64  mask 
)

Update an integer tbl_config value using a mask.

The resulting value is (oldValue & ~mask) | (value & mask).

◆ sceLsdbRefreshAppInfo()

int sceLsdbRefreshAppInfo ( const SceLsdbAppInfo *  app_info)

Refresh the AppDB rows derived from an AppInfo object.

First call sceLsdbOpen with SCE_LSDB_OPEN_MODE_NORMAL, call this function while the process's shared connection remains open, and then call sceLsdbClose. This function does not open or close the AppDB itself.

FW 3.60 inserts or updates every key/value pair supplied in app_info in tbl_appinfo. A TITLE_ID entry is required. SUPPORT_URI values also cause the corresponding derived tbl_uri rows to be rebuilt. Localized STITLE keys are updated only when the caller includes them. The function invokes SceLsdb observers in the calling process with SCE_LSDB_APP_INFO_EVENT_UPDATE_APP_INFO and commits the operation.

This function does not read sce_sys/icon0.png or sce_sys/pic0.png, copy either image into ur0:appmeta, update tbl_appinfo_icon, update its localized bubble title, generate the reserved05 rendered-icon blob, invalidate SceShell's in-memory icon cache, or send the AppDB notification expected by SceShell after a broader database change. App promotion and recovery prepare paths such as ur0:appmeta/<TITLE_ID>/icon0.png separately. SceShell's registered FW 3.60 observer for this event re-queries the icon row to apply a changed parental-lock level; it does not discard or rebuild the rendered icon cache.

SceShell's separate icon-cache builder reads the path already stored in the icon row, which can be that appmeta path or an application sce_sys/icon0.png path, then writes the rendered cache through sceLsdbUpdateIconInfo.

A pic0-related AppInfo key/path is stored if it is present in app_info, but no image is opened, copied, decoded, or cached. There is no dedicated pic0 refresh operation in this entry point. Language-wide localized AppInfo, icon-title, and LiveArea updates use sceLsdbUpdateLocalizedData instead.

The supplied reference and all nested values must remain valid until the call returns; they are not used afterwards. FW 3.60 performs no process-ID, application-lifecycle, foreground-title, or current-title check, so the currently running or foreground title can be refreshed. The call may run on a worker thread; it has no main-thread restriction. It has the same private-module, AppDB-path, and registry privilege requirements described by sceLsdbOpen. Do not call it from an interrupt or exception context, and do not close or reopen the process's shared AppDB concurrently.

Parameters
[in]app_info- Non-NULL AppInfo map containing at least TITLE_ID.
Return values
0The supplied rows and derived URI records were refreshed.
SCE_LSDB_ERROR_INVALID_HANDLEsceLsdbOpen has not established a usable shared database connection for the process.
SCE_LSDB_ERROR_REQUIRED_APPINFO_FIELD_MISSINGTITLE_ID is absent.
SCE_LSDB_ERROR_NO_MEMORYAn internal allocation failed.
Returns
Other negative ActivityDb/SQLite errors can also be returned.

◆ sceLsdbGetStitleKeyForLanguage()

SceUInt32 sceLsdbGetStitleKeyForLanguage ( SceInt32  language_index)

Return the FNV-1a key for STITLE or STITLE_00 through STITLE_19.

◆ sceLsdbGetStitle()

const char * sceLsdbGetStitle ( const SceLsdbAppInfo *  app_info)

AppInfo field accessors.

String results point into app_info and remain valid only while that object remains alive. Integer fields use their database value or the FW 3.60 default selected by the getter.

◆ sceLsdbGetTitle()

const char * sceLsdbGetTitle ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetLiveAreaContentsPath()

const char * sceLsdbGetLiveAreaContentsPath ( const SceLsdbAppInfo *  app_info)

Return the per-title #_livearea_path AppInfo string.

◆ sceLsdbGetOriginalPath()

const char * sceLsdbGetOriginalPath ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetAttribute()

SceInt64 sceLsdbGetAttribute ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetLiveAreaType()

SceInt64 sceLsdbGetLiveAreaType ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetTotalMemoryBudget()

SceInt64 sceLsdbGetTotalMemoryBudget ( const SceLsdbAppInfo *  app_info)

Return the SELF type-6 total memory budget in 1-KiB units.

SceShell converts this value to bytes before passing it to AppMgr.

◆ sceLsdbGetCategory()

const char * sceLsdbGetCategory ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbIsCategoryGda()

int sceLsdbIsCategoryGda ( const SceLsdbAppInfo *  app_info)

Return nonzero when CATEGORY is gda.

◆ sceLsdbGetPromoteAttribute()

SceInt64 sceLsdbGetPromoteAttribute ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetName()

const char * sceLsdbGetName ( const SceLsdbAppInfo *  app_info)

Return the AppMgr application name stored in AppInfo.

◆ sceLsdbGetForegroundTitleId()

const char * sceLsdbGetForegroundTitleId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetBackgroundTitleId()

const char * sceLsdbGetBackgroundTitleId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetTitleId()

const char * sceLsdbGetTitleId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetShellApplicationType()

SceInt64 sceLsdbGetShellApplicationType ( const SceLsdbAppInfo *  app_info)

Return SceShell's application-type classification.

SceShell stores 0 for gda, gdb, and wda applications; 1 for ordinary applications; and 2 for NPXS10998. Code on FW 3.60 also recognizes value 3 for an application record without a SELF path.

◆ sceLsdbGetSelfPath()

const char * sceLsdbGetSelfPath ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetPhysicalContiguousMemoryBudget()

SceInt64 sceLsdbGetPhysicalContiguousMemoryBudget ( const SceLsdbAppInfo *  app_info)

Return the SELF type-6 physically contiguous memory budget in 1-KiB units.

◆ sceLsdbGetBootParamAttribute()

SceInt64 sceLsdbGetBootParamAttribute ( const SceLsdbAppInfo *  app_info)

Return the attribute word from the SELF type-6 boot parameters.

◆ sceLsdbGetAppVer()

const char * sceLsdbGetAppVer ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetContentId()

const char * sceLsdbGetContentId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetNpCommunicationId()

const char * sceLsdbGetNpCommunicationId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetSystemVersion()

SceInt64 sceLsdbGetSystemVersion ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetType()

SceInt32 sceLsdbGetType ( const SceLsdbAppInfo *  app_info)

Query game_plugin's application-type classification for app_info.

FW 3.60 Shell handles value 1 as a native SELF launch, values 2 and 3 through the PSP emulator launchers, value 4 through ux0:app/PCSI00011/eboot.bin, and value 5 through the per-title ux0:psm/<name>/runtime/eboot.bin. A missing game_plugin interface or a failed interface call produces 0.

◆ sceLsdbGetAppMetadataLocationType()

SceInt32 sceLsdbGetAppMetadataLocationType ( const SceLsdbAppInfo *  app_info)

Query game_plugin's metadata-location classification for app_info.

Code inspected on FW 3.60 treats 0 as unavailable, reads ur0:appmeta/<title_id>/param.sfo for value 1, and obtains param.sfo through AppData mount ID 110 for values 2 and 3. The distinction between values 2 and 3 is unknown.

◆ sceLsdbGetDiscId()

const char * sceLsdbGetDiscId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetGameDataId()

const char * sceLsdbGetGameDataId ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetParentalLevel()

SceInt64 sceLsdbGetParentalLevel ( const SceLsdbAppInfo *  app_info)

Return PARENTAL_LEVEL, or -1 when it is absent or is not an integer.

◆ sceLsdbGetBootable()

SceInt64 sceLsdbGetBootable ( const SceLsdbAppInfo *  app_info)

Return BOOTABLE, or -1 when it is absent or is not an integer.

◆ sceLsdbGetLiveAreaSystemVersion()

SceUInt32 sceLsdbGetLiveAreaSystemVersion ( const SceLsdbAppInfo *  app_info)

Return the LiveArea system-version value stored in ATTRIBUTE bits 13 and 14.

◆ sceLsdbGetLiveAreaActivityDisabled()

SceUInt32 sceLsdbGetLiveAreaActivityDisabled ( const SceLsdbAppInfo *  app_info)

Get the flag that disables Shell's LiveArea activities for a title.

On FW 3.60, ATTRIBUTE bit 15 makes Shell skip activity refreshes and game and system-software activity posts. It does not disable all LiveArea resource updates. Use sceLsdbIsLiveAreaActivitySupported to also check the application type.

Parameters
[in]app_info- Initialized AppInfo object; must not be NULL.
Returns
ATTRIBUTE bit 15 as 0 or 1; 0 if ATTRIBUTE is absent or not an integer.

◆ sceLsdbGetBootInstallDir()

const char * sceLsdbGetBootInstallDir ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbIsGameCategoryOrLiveAreaSystemVersion1Or2()

int sceLsdbIsGameCategoryOrLiveAreaSystemVersion1Or2 ( const SceLsdbAppInfo *  app_info)

Return nonzero for a game category or LiveArea system-version value 1 or 2.

◆ sceLsdbIsGameOrEgCategory()

int sceLsdbIsGameOrEgCategory ( const SceLsdbAppInfo *  app_info)

Return nonzero for a game category or the EG category.

◆ sceLsdbIsLiveAreaActivitySupported()

int sceLsdbIsLiveAreaActivitySupported ( const SceLsdbAppInfo *  app_info)

Check whether a title supports Shell's LiveArea activities.

This checks the application type and metadata, not network availability.

Parameters
[in]app_info- Initialized AppInfo object; must not be NULL.
Returns
1 when sceLsdbGetType returns 1 and sceLsdbGetLiveAreaActivityDisabled returns 0; otherwise 0.

◆ sceLsdbGetContentLocation()

const char * sceLsdbGetContentLocation ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetPic0Path()

const char * sceLsdbGetPic0Path ( const SceLsdbAppInfo *  app_info)

Return the resolved path to the application's sce_sys/pic0.png image.

◆ sceLsdbGetLiveAreaPreviewDisabled()

int sceLsdbGetLiveAreaPreviewDisabled ( const SceLsdbAppInfo *  app_info)

Get the flag that disables Shell's cached application preview in LiveArea.

On FW 3.60, Shell checks ATTRIBUTE bit 16 when creating the cached framebuffer preview for the normal LiveArea launch/resume panel. This is not a general screenshot-permission flag. Changing the metadata does not necessarily discard an existing preview.

Parameters
[in]app_info- Initialized AppInfo object; must not be NULL.
Returns
ATTRIBUTE bit 16 as 0 or 1; 0 if ATTRIBUTE is absent or not an integer.

◆ sceLsdbGetLastLaunchTime()

const char * sceLsdbGetLastLaunchTime ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetUpdateStatus()

SceInt64 sceLsdbGetUpdateStatus ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetSupportUri()

const char * sceLsdbGetSupportUri ( const SceLsdbAppInfo *  app_info)

◆ sceLsdbGetInstallDirSavedataAdd1()

const char * sceLsdbGetInstallDirSavedataAdd1 ( const SceLsdbAppInfo *  app_info)

Return the INSTALL_DIR_SAVEDATA_ADD_1 AppInfo string.

◆ sceLsdbGetExtendedMemoryMode()

SceInt64 sceLsdbGetExtendedMemoryMode ( const SceLsdbAppInfo *  app_info)

Get the requested extended game-memory mode.

Reads ATTRIBUTE bits 34 through 36, which correspond to SFO ATTRIBUTE2 bits 2 through 4. On FW 3.60, these select additional game main RAM; see SceLsdbExtendedMemoryMode. Shell also uses the mode to decide whether another application can run alongside the game.

This function only reads metadata; it does not allocate memory.

Parameters
[in]app_info- Initialized AppInfo object; must not be NULL.
Returns
A value from 0 through 7; 0 if ATTRIBUTE is absent or not an integer. AppMgr rejects modes 4 through 7 on FW 3.60.

◆ sceLsdbGetLiveAreaCompatibilityMode()

SceLsdbLiveAreaCompatibilityMode sceLsdbGetLiveAreaCompatibilityMode ( const char *  title_id)

Select the LiveArea compatibility mode for title_id.

The default is SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_UNSPECIFIED. For a title accepted by SceCompatForVsh, FW 3.60 returns SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_ON when game_plugin state is zero. When that state is nonzero or unavailable, it returns SCE_LSDB_LIVEAREA_COMPATIBILITY_MODE_OFF only if the configured NP country is jp; otherwise it retains the default.

Returns
One of SceLsdbLiveAreaCompatibilityMode.

◆ sceLsdbOpen()

int sceLsdbOpen ( SceLsdbOpenMode  mode)

Open the process's shared AppDB connection.

Call sceLsdbOpen with SCE_LSDB_OPEN_MODE_NORMAL before using global query or refresh entry points, keep the connection open until all such work has finished, then call sceLsdbClose. Do not call Open twice without an intervening Close. SCE_LSDB_OPEN_MODE_REBUILD is destructive: it removes and reconstructs the AppDB before opening it and should be used only for database recovery.

FW 3.60 stores the disk database at ur0:shell/db/app.db. The absolute value of mode is checked and stored as its primary version; the supported value is 59. Other values are not additional access flags and produce an incompatible database.

SceLsdb is a private user-mode module at vs0:vsh/shell/livespace_db.suprx. It performs no explicit caller-PID check, but the process must be authorized to load that module and access the Shell database and registry state. An ordinary sandboxed application does not have that calling environment. Call from a normal user thread on which blocking filesystem/database work is allowed, not from an interrupt or exception context. Worker threads are supported; there is no main-thread restriction. All threads in a process share one database connection. Do not let opens, closes, reopens, transactions, queries, or refreshes run concurrently.

Parameters
[in]mode- One of SceLsdbOpenMode.
Return values
0The AppDB was opened.
SCE_LSDB_ERROR_NO_MEMORYAn internal allocation failed.
SCE_LSDB_ERROR_DATABASE_LANGUAGE_MISMATCHThe stored system-language component differs from the current value.
SCE_LSDB_ERROR_DATABASE_CONFIGURATION_MISMATCHThe stored region/environment component differs from the current value.
SCE_LSDB_ERROR_DATABASE_SCHEMA_TOO_NEWThe on-disk schema is newer than the FW 3.60 implementation supports.
SCE_LSDB_ERROR_DATABASE_VERSION_MISMATCHThe primary AppDB version is not 59.
SCE_LSDB_ERROR_INVALID_DATABASE_VERSIONThe primary or schema version is zero or otherwise uninitialized.
Returns
ActivityDb/Dbutil errors, including 0x801010F5, 0x801010FE, and 0x801010FF, can also be returned; the exact condition for each error is unknown.

◆ sceLsdbClose()

int sceLsdbClose ( void  )

Close the process's shared AppDB connection and release its model helpers.

Do not call this while another thread is using the connection. The FW 3.60 wrapper returns 0, including when the connection is already closed.

◆ sceLsdbReopen()

int sceLsdbReopen ( void  )

Replace the process's shared on-disk AppDB connection with an in-memory database.

FW 3.60 closes the current handle and opens :memory: with version 0. This is not an ordinary reopen of ur0:shell/db/app.db and must not be used to implement a normal open/close sequence.

◆ sceLsdbUpdateLocalizedData()

int sceLsdbUpdateLocalizedData ( SceInt32  language_index)

Rebuild localized AppInfo and LiveArea data for a language index.

FW 3.60 updates the ActivityDb language field only when both rebuilds succeed. Once it acquires the database, this function returns 0 even when either rebuild fails.

◆ sceLsdbGetDatabaseLanguageIndex()

SceInt32 sceLsdbGetDatabaseLanguageIndex ( void  )

Return the language index stored in the open Activity database.

An ActivityDb error is returned when the process's shared database is not open or the version information cannot be read.

◆ sceLsdbResetNewEventsAndLiveArea()

int sceLsdbResetNewEventsAndLiveArea ( void  )

Delete every NewEvent row and rebuild every LiveArea row from its stored contents path.

FW 3.60 ignores the delete and per-title refresh results and returns 0 after acquiring the NewEvent database.

◆ sceLsdbGetLastAppDatabaseError()

int sceLsdbGetLastAppDatabaseError ( void  )

Return the AppInfo daemon's most recently recorded AppDB error.

◆ sceLsdbGetLiveAreaPath()

SceLsdbString sceLsdbGetLiveAreaPath ( void  )

Return tbl_config key 1 as a standalone string.

A missing value or unavailable database returns an empty string.

◆ sceLsdbSetLiveAreaPath()

int sceLsdbSetLiveAreaPath ( const SceLsdbString *  value)

Store value in tbl_config key 1, the LiveArea path shared by the process.

◆ sceLsdbGetSystemLanguageIndex()

SceInt32 sceLsdbGetSystemLanguageIndex ( void  )

Return the shell's current system-language index, or 1 when unavailable.

◆ sceLsdbGetRegion()

SceLsdbString sceLsdbGetRegion ( void  )

Return the configured system region as a standalone string.

Registry failure returns an empty string.

◆ sceLsdbMapLanguageIndex()

SceInt32 sceLsdbMapLanguageIndex ( SceUInt32  live_area_system_version,
SceInt32  language_index 
)

Select the language index used to parse LiveArea content.

LiveArea system version 1 ignores language_index and maps the registered /CONFIG/NP/lang string to an index from 0 through 19; registry failure or an unknown string returns -1. Other LiveArea system versions return an explicit index from 0 through 19 unchanged. Any other value, including -1, selects the shell's current system language, or 1 when shell state is not available.

◆ sceLsdbGetNpLanguage()

SceLsdbString sceLsdbGetNpLanguage ( void  )

Return /CONFIG/NP/lang as a standalone string.

Registry failure returns an empty string.

◆ sceLsdbGetCountry()

SceLsdbString sceLsdbGetCountry ( SceUInt32  live_area_system_version)

Return the country used to select localized LiveArea content.

LiveArea system version 2 first requests the country from the loaded telephony plugin. If the plugin is unavailable or rejects the request, and for every other version, the function returns /CONFIG/NP/country. Failure of both sources returns an empty standalone string.

◆ sceLsdbNormalizeBool()

SceBool sceLsdbNormalizeBool ( SceInt32  value)

Convert an integer to 0 or 1.

◆ sceLsdbSetContentRatingCallback()

SceLsdbContentRatingCallback sceLsdbSetContentRatingCallback ( SceLsdbContentRatingCallback  callback)

Install the callback used when obtaining content-rating information.

The supplied callback is stored process-wide and is also returned. The previous callback is not returned.

◆ sceLsdbGetUserContentRating()

SceInt32 sceLsdbGetUserContentRating ( void  )

Return the current user's content-rating limit or age.

When the content-rating callback succeeds, the configured rating is returned if restrictions are enabled, and -1 is returned if they are disabled. When the callback fails, FW 3.60 calculates the age from the registered year, month, and day of birth. Invalid or unavailable registry data, RTC failure, and a future date of birth return 0.

◆ sceLsdbGetNpEnvironment()

SceLsdbString sceLsdbGetNpEnvironment ( void  )

Return /CONFIG/NP/env as a standalone string.

Registry failure returns an empty string.

◆ sceLsdbNewEventDatabaseInit()

SceLsdbNewEventDatabase * sceLsdbNewEventDatabaseInit ( SceLsdbNewEventDatabase *  database)

Initialize a NewEvent notification wrapper without attaching it to the database.

Both entry points set SceLsdbNewEventDatabase::notification_flag to NULL and otherwise have the same behavior on FW 3.60.

◆ sceLsdbNewEventDatabaseInit2()

SceLsdbNewEventDatabase * sceLsdbNewEventDatabaseInit2 ( SceLsdbNewEventDatabase *  database)

◆ sceLsdbNewEventDatabaseOpen()

int sceLsdbNewEventDatabaseOpen ( SceLsdbNewEventDatabase *  database)

Attach a NewEvent notification wrapper to the process's shared database.

First call sceLsdbOpen. This function allocates a four-byte flag and registers an observer for the calling process; it does not open a separate database. Call sceLsdbNewEventDatabaseClose before sceLsdbClose.

Return values
0The wrapper was attached.
SCE_LSDB_ERROR_INVALID_HANDLEThe process's shared AppDB is not open, or this wrapper is already attached.
SCE_LSDB_ERROR_NO_MEMORYThe notification flag could not be allocated.

◆ sceLsdbNewEventDatabaseClose()

int sceLsdbNewEventDatabaseClose ( SceLsdbNewEventDatabase *  database)

Detach a NewEvent notification wrapper and release its flag.

This succeeds when the wrapper is already detached.

◆ sceLsdbInsertNewEvent()

int sceLsdbInsertNewEvent ( SceLsdbNewEvent *  event,
SceBool  replace_existing 
)

Insert one NewEvent row.

When replace_existing is nonzero, an existing row identified by the supplied title/item pair or row ID is deleted before the replacement is inserted. With zero, an existing row returns SCE_LSDB_ERROR_DATABASE_CONSTRAINT.

Before inserting a new row, FW 3.60 keeps the active-row target at 64 by marking the oldest rows whose message type is at least 80 as deleted. An empty update time stores the current time. The function assigns the row ID, hash, popup number, and derived action-type high word back to event. A nonempty update time is validated only for a minimum length of 19 and the separators at byte positions 4, 7, 10, 13, and 16.

◆ sceLsdbUpdateNewEvents()

int sceLsdbUpdateNewEvents ( const SceLsdbNewEventRef *  events,
SceSize  count,
SceUInt32  update_mask 
)

Update selected fields of existing, nondeleted NewEvent rows.

Each object identifies a row by a nonzero row_id or by nonempty title_id and item_id strings. Only fields selected by update_mask are compared and written. Every changed row receives an incremented hash value.

When the time field is selected, a nonempty update_time must contain at least 19 bytes and have -, -, space, :, and : at byte positions 4, 7, 10, 13, and 16. FW 3.60 does not validate the other bytes as digits. An empty value stores the current time. When icon data is selected, a nonzero icon_data_size requires a non-NULL icon_data pointer. If both the stored and supplied popup_flag values are nonzero, FW 3.60 preserves a copy of the previous popup row before assigning a new popup number to the updated row. The action-type bit compares only action_type_low; changing it stores its signed 64-bit form and does not preserve the supplied action_type_high.

Parameters
[in]events- Array of reference-counted NewEvent objects.
[in]count- Number of elements in events.
[in]update_mask- Bitwise OR of SceLsdbNewEventUpdateFlag values; must not be zero.
Returns
0 when at least one row changed, or a negative SceLsdbErrorCode value.

◆ sceLsdbMarkNewEventsDeleted()

int sceLsdbMarkNewEventsDeleted ( const SceLsdbNewEventSelector *  selectors,
SceSize  count 
)

Mark selected nondeleted events as deleted.

Each selector uses a nonzero row ID or both title and item IDs. Rows whose popup number is already zero are physically removed by the NewEvent table's auto-delete trigger; popup rows remain until their popup number is cleared. The function returns SCE_LSDB_ERROR_NOT_FOUND when no selector changes a row.

◆ sceLsdbDeleteNewEvents()

int sceLsdbDeleteNewEvents ( SceUInt8  selective)

Delete NewEvent rows.

A zero selective value deletes every row. A nonzero value marks only nondeleted rows whose message type is at least 80 as deleted; rows with a lower message type are preserved.

◆ sceLsdbGetNewEvent()

int sceLsdbGetNewEvent ( SceLsdbNewEventDatabase *  database,
SceLsdbNewEvent *  event 
)

Read one nondeleted NewEvent row.

On entry, event must identify the row with a nonzero row ID or with both a nonempty title ID and item ID. On success, every field in event that comes from the database is replaced. icon_data remains NULL and icon_data_size receives the stored BLOB length; use sceLsdbGetNewEventIconData to read the bytes.

◆ sceLsdbGetNewEvents()

int sceLsdbGetNewEvents ( SceLsdbNewEventDatabase *  database,
SceLsdbNewEventRefArray *  events,
SceSize  max_count,
SceSize *  total_count,
SceSize *  new_count,
SceBool  clear_notification 
)

Enumerate nondeleted NewEvent rows.

FW 3.60 limits max_count to 64. The optional total_count and new_count outputs are also capped at 64; neither reports database totals above 64. Existing contents of events are released before the result is written. When clear_notification is nonzero, the calling process's pending-notification flag is cleared after a successful query.

◆ sceLsdbGetNewEventIconData()

SceLsdbDbBlobRef sceLsdbGetNewEventIconData ( SceLsdbNewEventDatabase *  database,
const SceInt64 *  row_id,
int *  error 
)

Return the read-only icon-data BLOB for an existing NewEvent row ID.

The returned stream opens the database BLOB only when needed. error is optional and receives the stream creation result; an error returns an empty reference.

◆ sceLsdbHasPendingNewEventNotification()

SceBool sceLsdbHasPendingNewEventNotification ( SceLsdbNewEventDatabase *  database)

Return whether this wrapper's change flag for the calling process is set.

◆ sceLsdbClearPendingNewEventNotification()

void sceLsdbClearPendingNewEventNotification ( SceLsdbNewEventDatabase *  database)

Clear the calling process's pending NewEvent notification state.

This function returns no value and does nothing when the wrapper is closed.

◆ sceLsdbGetNewEventPopupCount()

int sceLsdbGetNewEventPopupCount ( SceLsdbNewEventDatabase *  database)

Return the number of rows whose popup number is nonzero.

FW 3.60 maintains this process-wide count through the NewEvent table's insert/update triggers. The wrapper must be open.

◆ sceLsdbGetFirstPopupNewEvent()

int sceLsdbGetFirstPopupNewEvent ( SceLsdbNewEventDatabase *  database,
SceLsdbNewEvent *  event 
)

Read the row with the smallest positive popup number.

When no such row exists, FW 3.60 returns SCE_LSDB_ERROR_NOT_FOUND and resets the process-wide popup count to zero.

◆ sceLsdbClearNewEventPopup()

int sceLsdbClearNewEventPopup ( SceLsdbNewEventDatabase *  database,
const SceInt64 *  row_id 
)

Set popup_no to zero for the selected row.

◆ sceLsdbClearNewEventPopups()

int sceLsdbClearNewEventPopups ( SceLsdbNewEventDatabase *  database)

Set popup_no to zero for all rows.

◆ sceLsdbUpdateNewEventFlags()

int sceLsdbUpdateNewEventFlags ( SceLsdbNewEventDatabase *  database,
const SceLsdbNewEventRef *  events,
SceSize  count 
)

Update new_flag for an array of existing, nondeleted NewEvent rows.

Each object identifies a row by a nonzero row_id or by nonempty title_id and item_id strings. Every changed row receives an incremented hash value. Unlike sceLsdbUpdateNewEvents, this function does not preserve a copy of the previous popup row.

◆ sceLsdbClearNewEventFlags()

int sceLsdbClearNewEventFlags ( SceLsdbNewEventDatabase *  database)

Clear new_flag and increment hash for every new row.

◆ sceLsdbGetNewEventActionTypeHigh()

SceUInt32 sceLsdbGetNewEventActionTypeHigh ( SceLsdbNewEventDatabase *  database,
const SceLsdbString *  title_id 
)

Derive the high 32 bits of a NewEvent action type for title_id.

FW 3.60 returns the configured value for LAUPDATE, LOGSTATUS0, BGCPSTATUS, or NPXS10006. For another title it reads AppInfo key 0x5142196B and returns bits 1 through 3 when bit 0 is set. The fallback is 0xE, including when database is not open.

◆ sceLsdbIsCurrentTimeInRange()

SceBool sceLsdbIsCurrentTimeInRange ( const SceLsdbTimeRange *  range,
SceBool  ignore_start_time,
SceBool  use_ad_network_clock 
)

Test a time interval against the current RTC or ad-network clock.

The interval { 0, UINT64_MAX } always matches without reading a clock. With ignore_start_time set to zero, both endpoints are inclusive. With it nonzero, FW 3.60 first rejects an interval whose start is after its end, then tests only whether the current tick is at or before range's end. A clock-read error returns false.

◆ sceLsdbLiveAreaFrameInit()

SceLsdbLiveAreaFrame * sceLsdbLiveAreaFrameInit ( SceLsdbLiveAreaFrame *  frame)

Initialize caller-provided storage for one parsed LiveArea frame.

The function initializes the nested strings and item vector and returns frame. It does not allocate the structure itself.

◆ sceLsdbLiveAreaFrameGetItem()

SceLsdbLiveAreaFrameItem * sceLsdbLiveAreaFrameGetItem ( const SceLsdbLiveAreaFrame *  frame,
SceSize  index 
)

Return one indexed liveitem from a parsed frame, or NULL.

◆ sceLsdbLiveAreaFrameListInit()

SceLsdbLiveAreaFrameList * sceLsdbLiveAreaFrameListInit ( SceLsdbLiveAreaFrameList *  frame_list)

Initialize caller-provided storage for an empty parsed LiveArea object list.

The function allocates the circular list's head node, which has no object, and returns frame_list.

◆ sceLsdbLiveAreaFrameListEnd()

SceLsdbLiveAreaFrameList * sceLsdbLiveAreaFrameListEnd ( SceLsdbLiveAreaFrameList *  frame_list)

Destroy every object and list node owned by a parsed LiveArea frame list.

The caller still owns the outer frame_list storage.

◆ sceLsdbParseVersion()

SceInt32 sceLsdbParseVersion ( const SceLsdbString *  version)

Parse an exact NN.NN version string.

The four digits are returned as one decimal integer; for example, 01.04 returns 104. Invalid length, digits, or separator return -1. Both exports have identical behavior on FW 3.60.

◆ sceLsdbParseVersion2()

SceInt32 sceLsdbParseVersion2 ( const SceLsdbString *  version)

◆ sceLsdbLiveAreaParserInit()

SceLsdbLiveAreaParser * sceLsdbLiveAreaParserInit ( SceLsdbLiveAreaParser *  parser,
const char *  contents_path,
SceBool  filter_hardware_model,
SceBool  fallback_to_default_template 
)

Initialize a LiveArea parser for contents_path.

When filter_hardware_model is nonzero, XML choices whose model attribute does not match the current hardware are discarded. When fallback_to_default_template is nonzero and contents_path cannot be opened, sceLsdbParseLiveAreaTemplate parses the built-in default template and sets SceLsdbLiveAreaParser::using_default_template.

◆ sceLsdbLiveAreaParserEnd()

SceLsdbLiveAreaParser * sceLsdbLiveAreaParserEnd ( SceLsdbLiveAreaParser *  parser)

Release a LiveArea parser.

◆ sceLsdbParseLiveAreaTemplate()

int sceLsdbParseLiveAreaTemplate ( SceLsdbLiveAreaParser *  parser)

Parse the template selected by parser into a reference-counted frame list.

A successful call replaces parser's existing parsed-frame reference and returns 0. FW 3.60 rejects a non-fallback input larger than 0x8000 bytes. Negative return values -1 through -6 distinguish file, allocation, XML, and size failures; they are private parser errors, not SceLsdbErrorCode values.

◆ sceLsdbLiveAreaParserSetLocale()

SceBool sceLsdbLiveAreaParserSetLocale ( SceLsdbLiveAreaParser *  parser,
const SceInt32 *  language_index,
const char *  country,
SceInt32  content_rating 
)

Apply locale and content-rating selection to a parsed template.

language_index points to the selected language, country is the raw country code, and content_rating is the current user rating. A NULL language pointer and a NULL or empty country preserve the existing selections. The function returns true.

◆ sceLsdbLiveAreaParserSetDefaultTemplate()

SceBool sceLsdbLiveAreaParserSetDefaultTemplate ( SceLsdbLiveAreaParser *  parser)

Select the built-in default template in an initialized LiveArea parser.

This replaces SceLsdbLiveAreaParser::contents_path with vs0:data/internal/livearea/default/sce_sys/livearea/contents/template.xml, sets SceLsdbLiveAreaParser::using_default_template, and returns true.

◆ sceLsdbGetCurrentRtcTick()

int sceLsdbGetCurrentRtcTick ( SceRtcTick *  tick)

Read the current RTC tick.

◆ sceLsdbGetAdNetworkRtcTick()

int sceLsdbGetAdNetworkRtcTick ( SceRtcTick *  tick)

Read the ad-network RTC tick.

The output is written only on success.

◆ sceLsdbParseLiveAreaFrame()

SceBool sceLsdbParseLiveAreaFrame ( SceLsdbLiveAreaFrame **  frame,
const void *  xml,
SceSize  xml_length,
const SceInt32 *  language_index,
const char *  country,
SceInt32  content_rating,
SceBool  filter_hardware_model,
SceLsdbLiveAreaCompatibilityMode  compatibility_mode 
)

Parse one LiveArea frame XML document and return its frame object.

On success, frame receives a newly allocated frame removed from the temporary parser's object list. The caller owns that frame and its nested objects; FW 3.60 releases such objects through vtable slot 1.

compatibility_mode is supplied by SceShell for type-3 applications but is ignored by this FW 3.60 export. The function returns false for allocation, XML, or missing-frame failures.

◆ sceLsdbGetLiveAreaFrames()

int sceLsdbGetLiveAreaFrames ( void *  unused,
SceLsdbLiveAreaFrameListRef *  frames,
const SceLsdbString *  title_id,
SceUInt8  target_type 
)

Read and parse the stored LiveArea template for one title and target type.

unused is ignored on FW 3.60. target_type is one of SceLiveAreaTargetType; the byte-sized declaration matches this export's ABI. The result is filtered for locale, content rating, hardware model, and compatibility mode. Expired database frame rows discovered during a successful read are deleted. frames receives an owning strong reference.

◆ sceLsdbGetLiveAreaTitleIdNotInList()

int sceLsdbGetLiveAreaTitleIdNotInList ( void *  unused,
const SceLsdbStringArray *  title_ids,
SceLsdbString *  title_id 
)

Return one ur0:-backed LiveArea title absent from title_ids.

FW 3.60 performs this lookup only when at least 88 ur0: LiveArea rows exist. Candidates are ordered by AppInfo key 0x4C5BFEC6. The first missing title is copied to title_id; no candidate returns SCE_LSDB_ERROR_NOT_FOUND. unused is ignored.

◆ sceLsdbGetLiveAreaFrameUserData()

int sceLsdbGetLiveAreaFrameUserData ( void *  unused,
const SceLsdbString *  title_id,
const SceLsdbString *  frame_id,
SceLsdbString *  user_data,
void *  activity_db_handle 
)

Read tbl_livearea_frame.userdata.

When both normal and retail rows exist, the row with the lowest database type is selected. No matching title/frame pair returns SCE_LSDB_ERROR_NOT_FOUND. Both unused and activity_db_handle are ignored on FW 3.60.

◆ sceLsdb_29B275BA()

void sceLsdb_29B275BA ( const SceLsdbString *  title_id,
const char *  contents_path 
)

Does nothing on FW 3.60.

SceShell passes the title ID as a SceLsdbString object and the LiveArea contents path as a NUL-terminated string, but FW 3.60 ignores both arguments.

◆ sceLsdbRefreshLiveAreaRecords()

int sceLsdbRefreshLiveAreaRecords ( const SceLsdbString *  title_id,
SceLsdbString *  original_path 
)

Refresh LiveArea rows from their stored contents paths.

An empty title_id refreshes every title. For a nonempty title, original_path receives its stored org_path when non-NULL. FW 3.60 returns success even when a per-title refresh fails; database setup failures are returned.

◆ sceLsdbReplaceLiveAreaContents()

int sceLsdbReplaceLiveAreaContents ( void *  unused,
const SceLsdbString *  title_id,
const SceLsdbString *  contents_path,
SceUInt32 *  change_flags,
const SceRtcTick *  last_modified,
SceLsdbString *  resolved_title_id,
ScePID  process_id 
)

Replace all stored LiveArea contents for one title.

The template at contents_path is parsed, its assets are staged in ur0:appmeta when necessary, and both the main LiveArea row and frame rows are replaced. last_modified is copied into the resulting frame-list metadata. change_flags receives a bitwise OR of SceLsdbLiveAreaChangeFlag values. resolved_title_id receives the title ID selected by SceLsdb. unused is ignored on FW 3.60.

◆ sceLsdbUpdateLiveAreaFrames()

int sceLsdbUpdateLiveAreaFrames ( void *  unused,
const SceLsdbString *  title_id,
const SceLsdbLiveAreaFrameListRef *  frames,
const SceLsdbString *  contents_path,
SceUInt8  target_type,
SceUInt32 *  change_flags,
SceLsdbString *  resolved_title_id,
ScePID  process_id 
)

Update one or more already parsed LiveArea frame records.

target_type is one of SceLiveAreaTargetType. Normal target type 0 is stored as database type 1; retail target type 1 is stored as database type 0 and takes precedence in ordered frame queries. change_flags receives a bitwise OR of SceLsdbLiveAreaChangeFlag values. resolved_title_id receives the selected title ID. unused is ignored on FW 3.60.

◆ sceLsdbLiveAreaSfEntryExists()

SceBool sceLsdbLiveAreaSfEntryExists ( void *  unused,
const SceLsdbString *  title_id,
SceInt32  type 
)

Return whether a system-function-zone entry has the requested type.

unused is ignored on FW 3.60.

◆ sceLsdbGetLiveAreaPccInfo()

int sceLsdbGetLiveAreaPccInfo ( void *  unused,
const SceLsdbString *  title_id,
SceLsdbLiveAreaPccInfo *  pcc_info 
)

Read pccUpdDate, pccResStatus, and pccSignOff for one title.

SceLsdbLiveAreaPccInfo::resource_status receives the stored pccResStatus plus one. unused is ignored on FW 3.60.

◆ sceLsdbUpdateLiveAreaPccInfo()

int sceLsdbUpdateLiveAreaPccInfo ( void *  unused,
const SceLsdbString *  title_id,
SceBool  include_empty_sf_type0_entry,
const SceLsdbLiveAreaPccInfo *  pcc_info,
SceUInt32  update_flags 
)

Update PCC information and the empty system-function-zone slot for one title.

unused is ignored on FW 3.60. When include_empty_sf_type0_entry is nonzero, a { type = 0, target = "" } system-function-zone entry is added if needed; when it is zero, one such entry is removed. update_flags is a bitwise OR of SceLsdbLiveAreaPccUpdateFlag values and selects the fields copied from pcc_info.

◆ sceLsdbSetLiveAreaSfEntry()

int sceLsdbSetLiveAreaSfEntry ( void *  unused,
const SceLsdbString *  title_id,
const SceLsdbLiveAreaSfEntry *  entry 
)

Add or replace one sfType/sfTarg pair in a title's LiveArea record.

A missing system-function-zone object is created. unused is ignored.

◆ sceLsdbDeleteLiveAreaSfEntry()

int sceLsdbDeleteLiveAreaSfEntry ( void *  unused,
const SceLsdbString *  title_id,
SceInt32  type 
)

Delete the sfType/sfTarg pair whose sfType equals type.

A missing zone or type returns SCE_LSDB_ERROR_NOT_FOUND. unused is ignored.

◆ sceLsdbGetLiveAreaModifiedDate()

int sceLsdbGetLiveAreaModifiedDate ( void *  unused,
const SceLsdbString *  title_id,
SceRtcTick *  last_modified 
)

Read and decode tbl_livearea.modified_date for one title.

A missing row returns SCE_LSDB_ERROR_NOT_FOUND. unused is ignored.

◆ sceLsdbSetLiveAreaModifiedDate()

int sceLsdbSetLiveAreaModifiedDate ( void *  unused,
const SceLsdbString *  title_id,
const SceRtcTick *  last_modified 
)

Set tbl_livearea.modified_date for one title.

◆ sceLsdbUpdateLiveAreaFromContents()

int sceLsdbUpdateLiveAreaFromContents ( const SceLsdbString *  title_id,
const char *  contents_path 
)

Rebuild one title's normal-layer frame rows from template.xml under contents_path.

◆ sceLsdbDeleteLiveArea()

int sceLsdbDeleteLiveArea ( const SceLsdbString *  title_id)

Delete the stored LiveArea record for one title.

◆ sceLsdbGetLiveAreaRevision()

int sceLsdbGetLiveAreaRevision ( const SceLsdbString *  title_id,
const char *  frame_id,
SceUInt64 *  revision,
SceLsdbString *  original_path 
)

Read a stored LiveArea revision.

When frame_id is non-NULL, revision receives the matching frame revision from the lowest database type and original_path is not written. Otherwise, revision receives the content revision and the optional original_path receives tbl_livearea.org_path.

◆ sceLsdbIconLayoutClose()

int sceLsdbIconLayoutClose ( void  )

Decrement the icon-layout open count and release the INI context at zero.

Calling this at open count zero returns -1. For a nested open it returns the remaining positive count; the final close returns the INI finalization result.

◆ sceLsdbIconLayoutOpen()

int sceLsdbIconLayoutOpen ( void  )

Open or create ux0:iconlayout.ini and increment the nested open count.

A failed open restores the previous count.

◆ sceLsdbIconLayoutDeleteFile()

int sceLsdbIconLayoutDeleteFile ( void  )

Delete ux0:iconlayout.ini.

A missing file is treated as success.

◆ sceLsdbIconLayoutFileExists()

SceBool sceLsdbIconLayoutFileExists ( void  )

Return whether ux0:iconlayout.ini exists.

◆ sceLsdbIconLayoutSetWritesDisabled()

SceBool sceLsdbIconLayoutSetWritesDisabled ( SceBool  disabled)

Enable or disable icon-layout writes.

The supplied value is returned.

◆ sceLsdbIconLayoutGetEntry()

SceBool sceLsdbIconLayoutGetEntry ( const char *  title_id,
SceLsdbIconLayoutEntry *  entry 
)

Read one icon-layout entry by title ID.

The return value is false for a missing key, malformed value, or file/open error. A successful special-page result owns the nonempty entry->parent_title_id allocation; release it with sce_paf_free.

◆ sceLsdbIconLayoutSetEntry()

int sceLsdbIconLayoutSetEntry ( const char *  title_id,
const SceLsdbIconLayoutEntry *  entry 
)

Write one icon-layout entry by title ID.

Normal entries store only page and position. Special-page entries also store the parent coordinates and NUL-terminated parent title ID; entry->parent_title_id_length is not read. Writes-disabled mode returns 0 without changing the file.

◆ sceLsdbIconLayoutDeleteEntry()

int sceLsdbIconLayoutDeleteEntry ( const char *  title_id)

Delete one icon-layout entry.

◆ sceLsdbIconLayoutUpdateParentByPageNo()

int sceLsdbIconLayoutUpdateParentByPageNo ( SceInt32  page_no,
const SceInt32 *  parent_page_no,
const SceInt32 *  parent_position,
const char *  parent_title_id 
)

Update selected parent fields of an icon-layout entry selected by page.

FW 3.60 updates the first parsed entry whose page number equals page_no; it does not select by title ID. No matching entry is treated as success. NULL page, position, or title pointers leave the corresponding field unchanged.

◆ sceLsdbIconLayoutShiftPages()

int sceLsdbIconLayoutShiftPages ( SceBool  increment,
SceInt32  page_no 
)

Increment or decrement each stored page number at or above page_no.

Only the entry's own page number is changed; parent page numbers are not. When writes are disabled, this function returns success without changing the file.

◆ sceLsdbIconLayoutPositionExists()

SceBool sceLsdbIconLayoutPositionExists ( SceInt32  page_no,
SceInt32  position 
)

Return whether any successfully parsed entry exactly matches page_no and position.

The function does not check whether arguments are in range and returns zero for file, open, or parse errors.

◆ sceLsdbIconLayoutGetSpecialPageCount()

int sceLsdbIconLayoutGetSpecialPageCount ( void  )

Broken FW 3.60 special-page counter.

The implementation intends to collect distinct special negative page numbers, but its insertion condition is inverted while the local vector starts empty. Consequently this export returns 0 for every parsed file on FW 3.60.

Variable Documentation

◆ data [1/12]

char* SceLsdbString::data

NUL-terminated string data.

◆ length [1/2]

SceSize SceLsdbString::length

String length, excluding the terminating NUL.

◆ reserved [1/7]

SceUInt32 SceLsdbString::reserved

Not read or written on FW 3.60.

◆ data [2/12]

SceUInt16* SceLsdbUtf16String::data

◆ length [2/2]

SceSize SceLsdbUtf16String::length

Number of UTF-16 code units, excluding the terminator.

◆ reserved [2/7]

SceUInt32 SceLsdbUtf16String::reserved

Not read or written on FW 3.60.

◆ token

void* SceLsdbAppDatabase::token

◆ state

void* SceLsdbQueryContext::state

◆ data [3/12]

void* SceLsdbAppInfo::data

◆ control [1/9]

void* SceLsdbAppInfo::control

◆ callback [1/3]

SceLsdbAppInfoObserverCallback SceLsdbAppInfoObserver::callback

◆ user_data [1/4]

void* SceLsdbAppInfoObserver::user_data

◆ data [4/12]

SceLsdbAppInfo* SceLsdbAppInfoArray::data

◆ count [1/8]

SceSize SceLsdbAppInfoArray::count

◆ capacity [1/8]

SceSize SceLsdbAppInfoArray::capacity

◆ data [5/12]

SceInt32* SceLsdbInt32Array::data

◆ count [2/8]

SceSize SceLsdbInt32Array::count

◆ capacity [2/8]

SceSize SceLsdbInt32Array::capacity

◆ data [6/12]

SceLsdbString* SceLsdbStringArray::data

◆ count [3/8]

SceSize SceLsdbStringArray::count

◆ capacity [3/8]

SceSize SceLsdbStringArray::capacity

◆ theme_file

SceLsdbString SceLsdbPageInfo::theme_file

◆ background_color

SceUInt32 SceLsdbPageInfo::background_color

◆ texture_width

SceUInt32 SceLsdbPageInfo::texture_width

◆ texture_height

SceUInt32 SceLsdbPageInfo::texture_height

◆ image_width

SceUInt32 SceLsdbPageInfo::image_width

◆ image_height

SceUInt32 SceLsdbPageInfo::image_height

◆ reserved01

SceUInt32 SceLsdbPageInfo::reserved01

Low 24-bit theme color and bit-24 flag used by FW 3.60 themes.

◆ object [1/9]

SceLsdbPageInfo* SceLsdbPageInfoRef::object

◆ control [2/9]

void* SceLsdbPageInfoRef::control

◆ data [7/12]

SceLsdbPageInfoRef* SceLsdbPageInfoRefArray::data

◆ count [4/8]

SceSize SceLsdbPageInfoRefArray::count

◆ capacity [4/8]

SceSize SceLsdbPageInfoRefArray::capacity

◆ title_ids

SceLsdbStringArray SceLsdbSpecialPageInfo::title_ids

Type-zero icon title IDs associated with this special page by Shell.

◆ reserved [3/7]

SceUInt32 SceLsdbSpecialPageInfo::reserved

Not initialized or accessed on FW 3.60.

◆ child_count

SceSize SceLsdbSpecialPageInfo::child_count

Number of icon rows on the special page.

◆ page_no [1/2]

SceInt32 SceLsdbSpecialPageInfo::page_no

Special page number from -20000000 through -10000001.

◆ object [2/9]

SceLsdbSpecialPageInfo* SceLsdbSpecialPageInfoRef::object

◆ control [3/9]

void* SceLsdbSpecialPageInfoRef::control

◆ row_id [1/5]

SceInt64 SceLsdbIconInfo::row_id

SQLite row ID; this is distinct from reserved01.

◆ position [1/3]

SceInt32 SceLsdbIconInfo::position

Position within the containing page.

◆ title [1/4]

SceLsdbString SceLsdbIconInfo::title

Localized bubble title stored in the icon table.

◆ icon_path [1/2]

SceLsdbString SceLsdbIconInfo::icon_path

Source-image path.

◆ type [1/12]

SceInt32 SceLsdbIconInfo::type

One of the known SceLsdbIconType values, or another FW-defined value.

◆ title_id [1/3]

SceLsdbString SceLsdbIconInfo::title_id

◆ icon0_type

SceInt32 SceLsdbIconInfo::icon0_type

One of the known SceLsdbIcon0Type values, or another FW-defined value.

◆ command

SceLsdbString SceLsdbIconInfo::command

◆ parental_lock_level

SceInt32 SceLsdbIconInfo::parental_lock_level

◆ status

SceInt32 SceLsdbIconInfo::status

Stored icon status; its purpose and valid values are unknown.

◆ special_page

SceLsdbSpecialPageInfoRef SceLsdbIconInfo::special_page

Derived special-page relationship, when present.

◆ object [3/9]

SceLsdbIconInfo* SceLsdbIconInfoRef::object

◆ control [4/9]

void* SceLsdbIconInfoRef::control

◆ data [8/12]

SceLsdbIconInfoRef* SceLsdbIconInfoRefArray::data

◆ count [5/8]

SceSize SceLsdbIconInfoRefArray::count

◆ capacity [5/8]

SceSize SceLsdbIconInfoRefArray::capacity

◆ object [4/9]

SceLsdbIconInfoRefArray* SceLsdbIconInfoRefArrayRef::object

◆ control [5/9]

void* SceLsdbIconInfoRefArrayRef::control

◆ data [9/12]

SceLsdbIconInfoRefArrayRef* SceLsdbIconInfoRefArrayRefArray::data

◆ count [6/8]

SceSize SceLsdbIconInfoRefArrayRefArray::count

◆ capacity [6/8]

SceSize SceLsdbIconInfoRefArrayRefArray::capacity

◆ type_tag [1/2]

SceUInt32 SceLsdbDbBlobConfig::type_tag

Set to 0x102 on FW 3.60.

◆ database_name [1/2]

SceLsdbString SceLsdbDbBlobConfig::database_name

◆ table_name [1/2]

SceLsdbString SceLsdbDbBlobConfig::table_name

◆ column_name [1/2]

SceLsdbString SceLsdbDbBlobConfig::column_name

◆ row_id [2/5]

SceInt64 SceLsdbDbBlobConfig::row_id

◆ writable [1/2]

SceBool SceLsdbDbBlobConfig::writable

◆ callback [2/3]

SceLsdbDbBlobCallback SceLsdbDbBlobConfig::callback

◆ user_data [2/4]

void* SceLsdbDbBlobConfig::user_data

◆ type_tag [2/2]

SceUInt32 type_tag

Set to 0x102 on FW 3.60.

◆ database_name [2/2]

SceLsdbString database_name

◆ table_name [2/2]

SceLsdbString table_name

◆ column_name [2/2]

SceLsdbString column_name

◆ row_id [3/5]

SceInt64 row_id

◆ writable [2/2]

SceBool writable

◆ callback [3/3]

◆ user_data [3/4]

void* user_data

◆ vtable [1/11]

void* SceLsdbDbBlob::vtable

Internal FW 3.60 PAF stream virtual-function table.

◆ reserved [4/7]

SceUInt32 SceLsdbDbBlob::reserved

Not initialized on FW 3.60.

◆ mutex

SceUInt8 SceLsdbDbBlob::mutex[0x20]

Internal PAF mutex.

◆ config

SceLsdbDbBlobConfig* SceLsdbDbBlob::config

◆ database_handle

void* SceLsdbDbBlob::database_handle

◆ blob_handle

void* SceLsdbDbBlob::blob_handle

◆ position [2/3]

SceSize SceLsdbDbBlob::position

◆ object [5/9]

SceLsdbDbBlob* SceLsdbDbBlobRef::object

◆ control [6/9]

void* SceLsdbDbBlobRef::control

◆ image_file_path

SceLsdbString SceLsdbThemePageLayout::image_file_path

m_imageFilePath, relative to SceLsdbThemeLayout::theme_root_path.

◆ thumbnail_file_path

SceLsdbString SceLsdbThemePageLayout::thumbnail_file_path

m_thumbnailFilePath; used by Shell but ignored by SceLsdb.

◆ wave_type

SceInt32 SceLsdbThemePageLayout::wave_type

m_waveType, stored in SceLsdbPageInfo::background_color.

◆ font_color

SceUInt32 SceLsdbThemePageLayout::font_color

m_fontColor, stored in the low 24 bits of SceLsdbPageInfo::reserved01.

◆ font_shadow

SceUInt8 SceLsdbThemePageLayout::font_shadow

m_fontShadow; nonzero sets bit 24 of SceLsdbPageInfo::reserved01.

◆ padding [1/8]

SceUInt8 SceLsdbThemePageLayout::padding[3]

◆ icon_file_path

SceLsdbString SceLsdbThemeSystemIconLayout::icon_file_path

m_iconFilePath, relative to SceLsdbThemeLayout::theme_root_path.

◆ page_position

SceInt32 SceLsdbThemeSystemIconLayout::page_position

m_pagePos; used by Shell but ignored by SceLsdb.

◆ icon_position

SceInt32 SceLsdbThemeSystemIconLayout::icon_position

m_iconPos; used by Shell but ignored by SceLsdb.

◆ selected

SceLsdbUtf16String SceLsdbLocalizedThemeStrings::selected

String selected by Shell for the current language.

◆ localized

SceLsdbUtf16String SceLsdbLocalizedThemeStrings::localized[SCE_LSDB_THEME_LOCALIZED_STRING_COUNT]

Values stored for language indices 0 through 19.

◆ file_path

SceLsdbString SceLsdbThemeStartScreenLayout::file_path

◆ date_layout

SceInt32 SceLsdbThemeStartScreenLayout::date_layout

◆ date_color

SceUInt32 SceLsdbThemeStartScreenLayout::date_color

◆ notification_background_color

SceUInt32 SceLsdbThemeStartScreenLayout::notification_background_color

◆ notification_border_color

SceUInt32 SceLsdbThemeStartScreenLayout::notification_border_color

◆ notification_font_color

SceUInt32 SceLsdbThemeStartScreenLayout::notification_font_color

◆ bar_color

SceUInt32 SceLsdbThemeInformationBarLayout::bar_color

◆ indicator_color

SceUInt32 SceLsdbThemeInformationBarLayout::indicator_color

◆ notice_font_color

SceUInt32 SceLsdbThemeInformationBarLayout::notice_font_color

◆ notice_glow_color

SceUInt32 SceLsdbThemeInformationBarLayout::notice_glow_color

◆ no_notice_file_path

SceLsdbString SceLsdbThemeInformationBarLayout::no_notice_file_path

◆ new_notice_file_path

SceLsdbString SceLsdbThemeInformationBarLayout::new_notice_file_path

◆ theme_root_path

SceLsdbString SceLsdbThemeLayout::theme_root_path

◆ package_flag

SceInt32 SceLsdbThemeLayout::package_flag

package attribute from the theme element; either 0 or 1.

◆ page_layouts

SceLsdbThemePageLayout SceLsdbThemeLayout::page_layouts[SCE_LSDB_THEME_PAGE_LAYOUT_COUNT]

◆ background_music_file_path

SceLsdbString SceLsdbThemeLayout::background_music_file_path

m_bgmFilePath; used by Shell but ignored by SceLsdb.

◆ base_page_file_path

SceLsdbString SceLsdbThemeLayout::base_page_file_path

m_basePageFilePath; used by Shell but ignored by SceLsdb.

◆ current_page_file_path

SceLsdbString SceLsdbThemeLayout::current_page_file_path

m_curPageFilePath; used by Shell but ignored by SceLsdb.

◆ system_icon_layouts

◆ start_screen

SceLsdbThemeStartScreenLayout SceLsdbThemeLayout::start_screen

◆ information_bar

SceLsdbThemeInformationBarLayout SceLsdbThemeLayout::information_bar

◆ content_version [1/3]

SceUInt32 SceLsdbThemeLayout::content_version

◆ localized_titles

SceLsdbLocalizedThemeStrings SceLsdbThemeLayout::localized_titles

◆ localized_providers

SceLsdbLocalizedThemeStrings SceLsdbThemeLayout::localized_providers

◆ package_image_file_path [1/3]

SceLsdbString SceLsdbThemeLayout::package_image_file_path

◆ start_preview_file_path [1/3]

SceLsdbString SceLsdbThemeLayout::start_preview_file_path

◆ home_preview_file_path [1/3]

SceLsdbString SceLsdbThemeLayout::home_preview_file_path

◆ format_version [1/2]

SceLsdbString SceLsdbThemeLayout::format_version

format-ver attribute from the theme element.

◆ parsed_format_version [1/2]

SceInt32 SceLsdbThemeLayout::parsed_format_version

Numeric form of a format_version.

◆ last_modified_time [1/3]

SceRtcTick SceLsdbThemeLayout::last_modified_time

◆ object [6/9]

SceLsdbThemeLayout* SceLsdbThemeLayoutRef::object

◆ control [7/9]

void* SceLsdbThemeLayoutRef::control

◆ vtable [2/11]

void* SceLsdbThemeInfo::vtable

Internal FW 3.60 Shell theme-information virtual-function table; SceLsdb leaves it untouched.

◆ theme_id [1/2]

SceLsdbString SceLsdbThemeInfo::theme_id

◆ type [2/12]

SceInt32 SceLsdbThemeInfo::type

Must be 100 when passed to sceLsdbReplaceTheme on FW 3.60.

◆ package_image_file_path [2/3]

SceLsdbString SceLsdbThemeInfo::package_image_file_path

◆ home_preview_file_path [2/3]

SceLsdbString SceLsdbThemeInfo::home_preview_file_path

◆ start_preview_file_path [2/3]

SceLsdbString SceLsdbThemeInfo::start_preview_file_path

◆ title [2/4]

SceLsdbUtf16String SceLsdbThemeInfo::title

◆ provider [1/2]

SceLsdbUtf16String SceLsdbThemeInfo::provider

◆ content_version [2/3]

SceUInt32 SceLsdbThemeInfo::content_version

◆ padding [2/8]

SceUInt32 SceLsdbThemeInfo::padding

◆ last_modified_time [2/3]

SceRtcTick SceLsdbThemeInfo::last_modified_time

◆ size [1/2]

SceSize SceLsdbThemeInfo::size

◆ vtable [3/11]

void* vtable

Internal FW 3.60 Shell theme-information virtual-function table; SceLsdb leaves it untouched.

◆ theme_id [2/2]

SceLsdbString theme_id

◆ type [3/12]

SceInt32 type

Must be 100 when passed to sceLsdbReplaceTheme on FW 3.60.

◆ package_image_file_path [3/3]

SceLsdbString package_image_file_path

◆ home_preview_file_path [3/3]

SceLsdbString home_preview_file_path

◆ start_preview_file_path [3/3]

SceLsdbString start_preview_file_path

◆ title [3/4]

◆ provider [2/2]

◆ content_version [3/3]

SceUInt32 content_version

◆ padding [3/8]

SceUInt32 padding

◆ last_modified_time [3/3]

SceRtcTick last_modified_time

◆ size [2/2]

SceSize size

◆ type [4/12]

SceInt32 SceLsdbValue::type

◆ []

SceInt64 { ... } ::int64

◆ []

SceLsdbString* { ... } ::string

◆ [union] [10/12]

union { ... } SceLsdbValue::data

◆ data [11/12]

SceLsdbValue* SceLsdbValueArray::data

◆ count [7/8]

SceSize SceLsdbValueArray::count

◆ capacity [7/8]

SceSize SceLsdbValueArray::capacity

◆ key [1/2]

SceUInt32 SceLsdbAppInfoFilter::key

FNV-1a hash of the AppInfo key.

◆ values [1/2]

SceLsdbValueArray SceLsdbAppInfoFilter::values

Values to compare against.

◆ reserved [5/7]

SceUInt32 SceLsdbAppInfoFilter::reserved

Ignored on FW 3.60.

◆ operation [1/2]

SceInt32 SceLsdbAppInfoFilter::operation

◆ mask [1/2]

SceUInt64 SceLsdbAppInfoFilter::mask

◆ next [1/3]

const struct SceLsdbAppInfoFilter* SceLsdbAppInfoFilter::next

◆ key [2/2]

SceUInt32 key

FNV-1a hash of the AppInfo key.

◆ values [2/2]

Values to compare against.

◆ reserved [6/7]

SceUInt32 reserved

Ignored on FW 3.60.

◆ operation [2/2]

SceInt32 operation

◆ mask [2/2]

◆ next [2/3]

const struct SceLsdbAppInfoFilter* next

◆ notification_flag

SceUInt32* SceLsdbNewEventDatabase::notification_flag

◆ title_id [2/3]

SceLsdbString SceLsdbNewEventSelector::title_id

◆ item_id [1/2]

SceLsdbString SceLsdbNewEventSelector::item_id

◆ row_id [4/5]

SceInt64 SceLsdbNewEventSelector::row_id

◆ title_id [3/3]

SceLsdbString SceLsdbNewEvent::title_id

◆ item_id [2/2]

SceLsdbString SceLsdbNewEvent::item_id

◆ row_id [5/5]

SceInt64 SceLsdbNewEvent::row_id

◆ message_type

SceInt64 SceLsdbNewEvent::message_type

Values at least 80 are eligible for automatic pruning and selective deletion.

◆ action_type_low

SceUInt32 SceLsdbNewEvent::action_type_low

◆ new_flag

SceUInt8 SceLsdbNewEvent::new_flag

◆ popup_flag

SceUInt8 SceLsdbNewEvent::popup_flag

Nonzero requests a sequenced popup number; reads convert popup_no to 0 or 1.

◆ padding [4/8]

SceUInt8 SceLsdbNewEvent::padding[2]

◆ icon_path [2/2]

SceLsdbString SceLsdbNewEvent::icon_path

◆ icon_data

void* SceLsdbNewEvent::icon_data

Input image bytes; query operations leave this NULL.

◆ icon_data_size

SceSize SceLsdbNewEvent::icon_data_size

Input byte count, or stored BLOB length on output.

◆ message_args

SceLsdbString SceLsdbNewEvent::message_args[9]

◆ title [4/4]

SceLsdbString SceLsdbNewEvent::title

◆ description

SceLsdbString SceLsdbNewEvent::description

◆ exec_mode

SceUInt32 SceLsdbNewEvent::exec_mode

◆ exec_title_id

SceLsdbString SceLsdbNewEvent::exec_title_id

◆ exec_argument

SceLsdbString SceLsdbNewEvent::exec_argument

◆ update_time

SceLsdbString SceLsdbNewEvent::update_time

◆ sound_id

SceInt32 SceLsdbNewEvent::sound_id

◆ sound_volume

float SceLsdbNewEvent::sound_volume

◆ hash

SceUInt32 SceLsdbNewEvent::hash

Randomized on insertion and incremented by field updates.

◆ action_type_high

SceUInt32 SceLsdbNewEvent::action_type_high

High word of the stored 64-bit action type; derived during insertion.

◆ object [7/9]

SceLsdbNewEvent* SceLsdbNewEventRef::object

◆ control [8/9]

void* SceLsdbNewEventRef::control

◆ data [12/12]

SceLsdbNewEventRef* SceLsdbNewEventRefArray::data

◆ count [8/8]

SceSize SceLsdbNewEventRefArray::count

◆ capacity [8/8]

SceSize SceLsdbNewEventRefArray::capacity

◆ start

SceRtcTick SceLsdbTimeRange::start

Inclusive lower bound unless the caller requests an end-only check.

◆ end

SceRtcTick SceLsdbTimeRange::end

Inclusive upper bound.

◆ update_date

SceRtcTick SceLsdbLiveAreaPccInfo::update_date

◆ resource_status

SceInt32 SceLsdbLiveAreaPccInfo::resource_status

API value; FW 3.60 stores this value minus one in pccResStatus.

◆ sign_off

SceInt32 SceLsdbLiveAreaPccInfo::sign_off

◆ type [5/12]

SceInt32 SceLsdbLiveAreaSfEntry::type

◆ target [1/3]

SceLsdbString SceLsdbLiveAreaSfEntry::target

◆ vtable [4/11]

void* SceLsdbLiveAreaObject::vtable

Internal FW 3.60 virtual-function table.

◆ type [6/12]

SceInt32 SceLsdbLiveAreaObject::type

◆ vtable [5/11]

void* SceLsdbLiveAreaBackgroundImage::vtable

Internal FW 3.60 virtual-function table.

◆ type [7/12]

SceInt32 SceLsdbLiveAreaBackgroundImage::type

◆ source_path [1/4]

SceLsdbString SceLsdbLiveAreaBackgroundImage::source_path

◆ vtable [6/11]

void* SceLsdbLiveAreaSystemFunctionZone::vtable

Internal FW 3.60 virtual-function table.

◆ type [8/12]

SceInt32 SceLsdbLiveAreaSystemFunctionZone::type

◆ entries

SceLsdbLiveAreaSfEntry* SceLsdbLiveAreaSystemFunctionZone::entries

◆ entry_count

SceSize SceLsdbLiveAreaSystemFunctionZone::entry_count

◆ entry_capacity

SceSize SceLsdbLiveAreaSystemFunctionZone::entry_capacity

◆ reserved [7/7]

SceUInt32 SceLsdbLiveAreaSystemFunctionZone::reserved

Not initialized or interpreted on FW 3.60.

◆ vtable [7/11]

void* SceLsdbLiveAreaStartupImage::vtable

Internal FW 3.60 virtual-function table.

◆ type [9/12]

SceInt32 SceLsdbLiveAreaStartupImage::type

◆ source_path [2/4]

SceLsdbString SceLsdbLiveAreaStartupImage::source_path

◆ vtable [8/11]

void* SceLsdbLiveAreaTitleColor::vtable

Internal FW 3.60 virtual-function table.

◆ type [10/12]

SceInt32 SceLsdbLiveAreaTitleColor::type

◆ red

float SceLsdbLiveAreaTitleColor::red

◆ green

float SceLsdbLiveAreaTitleColor::green

◆ blue

float SceLsdbLiveAreaTitleColor::blue

◆ alpha

float SceLsdbLiveAreaTitleColor::alpha

◆ previous

struct SceLsdbLiveAreaObjectListNode* SceLsdbLiveAreaObjectListNode::previous

◆ next [3/3]

struct SceLsdbLiveAreaObjectListNode* SceLsdbLiveAreaObjectListNode::next

◆ object [8/9]

SceLsdbLiveAreaObject* SceLsdbLiveAreaObjectListNode::object

◆ vtable [9/11]

void* SceLsdbLiveAreaFrameElement::vtable

Internal FW 3.60 virtual-function table.

◆ type [11/12]

SceInt32 SceLsdbLiveAreaFrameElement::type

◆ vtable [10/11]

void* SceLsdbLiveAreaVisualElement::vtable

Internal FW 3.60 virtual-function table.

◆ type [12/12]

SceInt32 SceLsdbLiveAreaVisualElement::type

◆ horizontal_alignment

SceInt32 SceLsdbLiveAreaVisualElement::horizontal_alignment

◆ vertical_alignment

SceInt32 SceLsdbLiveAreaVisualElement::vertical_alignment

◆ width

SceInt32 SceLsdbLiveAreaVisualElement::width

Parsed width; initialized to zero.

◆ height

SceInt32 SceLsdbLiveAreaVisualElement::height

Parsed height; initialized to zero.

◆ x

SceInt32 SceLsdbLiveAreaVisualElement::x

Parsed x coordinate.

◆ y

SceInt32 SceLsdbLiveAreaVisualElement::y

Parsed y coordinate.

◆ has_x

SceUInt8 SceLsdbLiveAreaVisualElement::has_x

Nonzero when the XML element specifies x.

◆ has_y

SceUInt8 SceLsdbLiveAreaVisualElement::has_y

Nonzero when the XML element specifies y.

◆ padding [5/8]

SceUInt8 SceLsdbLiveAreaVisualElement::padding[2]

◆ element

SceLsdbLiveAreaFrameElement SceLsdbLiveAreaTargetElement::element

◆ target [2/3]

SceLsdbString SceLsdbLiveAreaTargetElement::target

◆ required_app_version

SceLsdbString SceLsdbLiveAreaTargetElement::required_app_version

Value of req-appver for template formats newer than 1.00.

◆ visual [1/3]

SceLsdbLiveAreaVisualElement SceLsdbLiveAreaBackgroundElement::visual

◆ source_path [3/4]

SceLsdbString SceLsdbLiveAreaBackgroundElement::source_path

◆ visual [2/3]

SceLsdbLiveAreaVisualElement SceLsdbLiveAreaImageElement::visual

◆ source_path [4/4]

SceLsdbString SceLsdbLiveAreaImageElement::source_path

◆ origin [1/2]

◆ visual [3/3]

SceLsdbLiveAreaVisualElement SceLsdbLiveAreaTextElement::visual

◆ text_alignment

SceInt32 SceLsdbLiveAreaTextElement::text_alignment

◆ vertical_text_alignment

SceInt32 SceLsdbLiveAreaTextElement::vertical_text_alignment

◆ line_alignment

SceInt32 SceLsdbLiveAreaTextElement::line_alignment

◆ origin [2/2]

◆ line_spacing

SceInt32 SceLsdbLiveAreaTextElement::line_spacing

◆ line_break

SceUInt8 SceLsdbLiveAreaTextElement::line_break

Line-breaking flag; initialized to one.

◆ word_wrap

SceUInt8 SceLsdbLiveAreaTextElement::word_wrap

Word-wrapping flag; initialized to one.

◆ ellipsis

SceUInt8 SceLsdbLiveAreaTextElement::ellipsis

Ellipsis flag; initialized to zero.

◆ word_scroll

SceUInt8 SceLsdbLiveAreaTextElement::word_scroll

Word-scrolling flag; initialized to zero.

◆ pre_break

SceUInt8 SceLsdbLiveAreaTextElement::pre_break

Internal pre-break flag; initialized to one.

◆ padding [6/8]

SceUInt8 SceLsdbLiveAreaTextElement::padding[3]

◆ margin_top

SceInt32 SceLsdbLiveAreaTextElement::margin_top

◆ margin_bottom

SceInt32 SceLsdbLiveAreaTextElement::margin_bottom

◆ margin_left

SceInt32 SceLsdbLiveAreaTextElement::margin_left

◆ margin_right

SceInt32 SceLsdbLiveAreaTextElement::margin_right

◆ title_segment_index

SceInt32 SceLsdbLiveAreaTextElement::title_segment_index

Index of the title segment, or -1 when absent.

◆ text_layout

SceUInt8 SceLsdbLiveAreaTextElement::text_layout[0x1C]

Internal FW 3.60 PAF text-layout state.

◆ time_range

SceLsdbTimeRange SceLsdbLiveAreaFrameItem::time_range

Inclusive from and until interval.

◆ is_default

SceUInt8 SceLsdbLiveAreaFrameItem::is_default

Nonzero when the XML liveitem has default="on".

◆ padding [7/8]

SceUInt8 SceLsdbLiveAreaFrameItem::padding

◆ minimum_age

SceUInt16 SceLsdbLiveAreaFrameItem::minimum_age

Selected age-limit, or 0 when absent.

◆ maximum_age

SceUInt16 SceLsdbLiveAreaFrameItem::maximum_age

Selected uage-limit, or 255 when absent.

◆ compatibility_mode [1/2]

SceUInt16 SceLsdbLiveAreaFrameItem::compatibility_mode

One of SceLsdbLiveAreaCompatibilityMode, derived from pokesute.

◆ target [3/3]

SceLsdbLiveAreaTargetElement* SceLsdbLiveAreaFrameItem::target

Selected target element, or NULL.

◆ elements

SceLsdbLiveAreaFrameElement** SceLsdbLiveAreaFrameItem::elements

◆ element_count

SceSize SceLsdbLiveAreaFrameItem::element_count

◆ element_capacity

SceSize SceLsdbLiveAreaFrameItem::element_capacity

◆ reserved1

SceUInt32 SceLsdbLiveAreaFrameItem::reserved1[2]

Not initialized or interpreted on FW 3.60.

◆ vtable [11/11]

void* SceLsdbLiveAreaFrame::vtable

Internal FW 3.60 virtual-function table.

◆ object_type

SceInt32 SceLsdbLiveAreaFrame::object_type

◆ frame_id

SceLsdbString SceLsdbLiveAreaFrame::frame_id

◆ multi_mode

SceInt32 SceLsdbLiveAreaFrame::multi_mode

◆ auto_flip_interval

SceUInt32 SceLsdbLiveAreaFrame::auto_flip_interval

Automatic item-rotation interval from the autoflip attribute.

◆ revision

SceInt64 SceLsdbLiveAreaFrame::revision

◆ is_retail_override

SceUInt8 SceLsdbLiveAreaFrame::is_retail_override

Nonzero for a database row whose type is 0.

◆ user_data [4/4]

SceLsdbString SceLsdbLiveAreaFrame::user_data

userdata, truncated to at most 1023 bytes.

◆ items

SceLsdbLiveAreaFrameItem** SceLsdbLiveAreaFrame::items

◆ item_count

SceSize SceLsdbLiveAreaFrame::item_count

◆ item_capacity

SceSize SceLsdbLiveAreaFrame::item_capacity

◆ style

SceLsdbString SceLsdbLiveAreaFrameList::style

◆ format_version [2/2]

SceLsdbString SceLsdbLiveAreaFrameList::format_version

◆ content_revision

SceInt64 SceLsdbLiveAreaFrameList::content_revision

◆ parsed_format_version [2/2]

SceInt32 SceLsdbLiveAreaFrameList::parsed_format_version

Result of sceLsdbParseVersion.

◆ object_list_head

SceLsdbLiveAreaObjectListNode* SceLsdbLiveAreaFrameList::object_list_head

List head, with no object. Start at object_list_head->next and stop when you reach object_list_head again.

◆ object_count

SceSize SceLsdbLiveAreaFrameList::object_count

◆ modified_date

SceRtcTick SceLsdbLiveAreaFrameList::modified_date

◆ object [9/9]

SceLsdbLiveAreaFrameList* SceLsdbLiveAreaFrameListRef::object

◆ control [9/9]

void* SceLsdbLiveAreaFrameListRef::control

◆ contents_path

SceLsdbString SceLsdbLiveAreaParser::contents_path

◆ filter_hardware_model

SceUInt8 SceLsdbLiveAreaParser::filter_hardware_model

Apply XML model selectors and enable title-color parsing.

◆ fallback_to_default_template

SceUInt8 SceLsdbLiveAreaParser::fallback_to_default_template

Use the default system template when contents_path cannot be opened.

◆ using_default_template

SceUInt8 SceLsdbLiveAreaParser::using_default_template

Set when the parser selects the default system template.

◆ padding [8/8]

SceUInt8 SceLsdbLiveAreaParser::padding

◆ parsed_frames

SceLsdbLiveAreaFrameList* SceLsdbLiveAreaParser::parsed_frames

◆ parsed_frames_control

void* SceLsdbLiveAreaParser::parsed_frames_control

Reference-count control block for parsed_frames.

◆ language_index

const SceInt32* SceLsdbLiveAreaParser::language_index

◆ country

const char* SceLsdbLiveAreaParser::country

◆ content_rating

SceInt32 SceLsdbLiveAreaParser::content_rating

◆ filter_by_current_time

SceUInt8 SceLsdbLiveAreaParser::filter_by_current_time

Apply the liveitem until time when liveitem filtering is enabled.

◆ disable_live_item_filtering

SceUInt8 SceLsdbLiveAreaParser::disable_live_item_filtering

Bypass locale, age, model, compatibility, time, and five-item-limit filtering.

◆ unused

SceUInt8 SceLsdbLiveAreaParser::unused

Written by SceShell but ignored by SceLsdb on FW 3.60.

◆ use_ad_network_clock

SceUInt8 SceLsdbLiveAreaParser::use_ad_network_clock

Use the ad-network clock for liveitem time checks.

◆ compatibility_mode [2/2]

SceInt32 SceLsdbLiveAreaParser::compatibility_mode

One of SceLsdbLiveAreaCompatibilityMode; selects liveitems by their pokesute value.

◆ selected_language_index

SceInt32 SceLsdbLiveAreaParser::selected_language_index

◆ selected_country

SceLsdbString SceLsdbLiveAreaParser::selected_country

◆ page_no [2/2]

SceInt32 SceLsdbIconLayoutEntry::page_no

Normal page 0 through 9, or special page -20000000 through -10000001.

◆ position [3/3]

SceInt32 SceLsdbIconLayoutEntry::position

Position 0 through 9.

◆ parent_page_no

SceInt32 SceLsdbIconLayoutEntry::parent_page_no

Parent page 0 through 9 for a special-page entry.

◆ parent_position

SceInt32 SceLsdbIconLayoutEntry::parent_position

Parent position 0 through 9 for a special-page entry.

◆ parent_title_id

char* SceLsdbIconLayoutEntry::parent_title_id

PAF-allocated parent title ID returned for a special-page entry.

◆ parent_title_id_length

SceSize SceLsdbIconLayoutEntry::parent_title_id_length

Length of parent_title_id; ignored by the INI writer.