![]() |
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. | |
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. | |
Exports for User.
Include the header file in your project:
Link the library to the executable:
| 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. |
| 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. |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| struct SceLsdbPageInfo |
| struct SceLsdbPageInfoRef |
Reference-counted AppDB page-information object.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbPageInfo * | object | |
| void * | control | |
| 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 | |
| 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. |
| struct SceLsdbSpecialPageInfoRef |
Reference-counted SceLsdbSpecialPageInfo object.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbSpecialPageInfo * | object | |
| void * | control | |
| 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. |
| struct SceLsdbIconInfoRef |
Reference-counted AppDB icon-information object.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbIconInfo * | object | |
| void * | control | |
| 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 | |
| struct SceLsdbIconInfoRefArrayRef |
Reference-counted vector of SceLsdbIconInfoRef objects.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbIconInfoRefArray * | object | |
| void * | control | |
| struct SceLsdbIconInfoRefArrayRefArray |
PAF vector containing one SceLsdbIconInfoRefArrayRef for each requested AppDB page.
| Data Fields | ||
|---|---|---|
| SceLsdbIconInfoRefArrayRef * | data | |
| SceSize | count | |
| SceSize | capacity | |
| 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 | |
| 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 | |
| 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 | |
| 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] | |
| 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. |
| 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. |
| struct SceLsdbThemeStartScreenLayout |
| 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 | |
| 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 | |
| struct SceLsdbThemeLayoutRef |
Reference-counted shell theme-layout object.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbThemeLayout * | object | |
| void * | control | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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. |
| struct SceLsdbNewEventRef |
Reference-counted SceLsdbNewEvent object.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbNewEvent * | object | |
| void * | control | |
| 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 | |
| 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. |
| 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 | |
| struct SceLsdbLiveAreaSfEntry |
One sfType/sfTarg pair stored in tbl_livearea.
| Data Fields | ||
|---|---|---|
| SceInt32 | type | |
| SceLsdbString | target | |
| 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. |
| 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 | |
| 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. |
| 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 | |
| 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 | |
| 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 | |
| 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. |
| 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] | |
| 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. |
| struct SceLsdbLiveAreaBackgroundElement |
Parsed LiveArea background element.
| Data Fields | ||
|---|---|---|
| SceLsdbLiveAreaVisualElement | visual | |
| SceLsdbString | source_path | |
| struct SceLsdbLiveAreaImageElement |
Parsed LiveArea image element.
| Data Fields | ||
|---|---|---|
| SceLsdbLiveAreaVisualElement | visual | |
| SceLsdbString | source_path | |
| SceInt32 | origin | SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_FRAME or SCE_LSDB_LIVEAREA_ELEMENT_ORIGIN_BACKGROUND. |
| 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. |
| 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. |
| 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 | |
| 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 | |
| struct SceLsdbLiveAreaFrameListRef |
Reference-counted SceLsdbLiveAreaFrameList object.
See SceLsdbAppInfo for the shared-reference ownership and cleanup rules.
| Data Fields | ||
|---|---|---|
| SceLsdbLiveAreaFrameList * | object | |
| void * | control | |
| 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 | |
| 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. |
| union SceLsdbValue.data |
| Data Fields | ||
|---|---|---|
| SceInt64 | int64 | |
| SceLsdbString * | string | |
| #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 |
| 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.
| 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.
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.
| typedef void(* SceLsdbAppInfoCallback) (const SceLsdbAppInfo *app_info, void *user_data) |
Callback invoked once for each title enumerated by sceLsdbGetAllAppInfo.
| enum SceLsdbErrorCode |
Errors returned by the FW 3.60 SceLsdb implementation.
| enum 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. |
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.
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. |
| enum SceLsdbIconType |
Known values of SceLsdbIconInfo::type on FW 3.60.
| enum 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. |
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 | |
| SCE_LSDB_ICON_INFO_UPDATE_STATUS | Update SceLsdbIconInfo::status. |
| SCE_LSDB_ICON_INFO_UPDATE_RENDERED_ICON_BLOB | Update |
| SCE_LSDB_ICON_INFO_UPDATE_ALTERNATE_ICON_PATH | Update |
Indices used by SceLsdbThemeLayout::system_icon_layouts on FW 3.60.
Fields selected by sceLsdbUpdateThemeLayout.
| Enumerator | |
|---|---|
| SCE_LSDB_THEME_LAYOUT_UPDATE_SYSTEM_ICONS | |
| SCE_LSDB_THEME_LAYOUT_UPDATE_PAGES | |
| enum SceLsdbValueType |
Comparison performed by an SceLsdbAppInfoFilter node.
| enum SceLsdbFilterFlags |
Flags accepted by the filtered-title queries.
Field-selection bits accepted by sceLsdbUpdateNewEvents.
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 | |
Change bits returned by the LiveArea replacement and frame-update exports.
Horizontal alignment values used by parsed LiveArea visual elements.
Vertical alignment values used by parsed LiveArea visual elements.
Compatibility selector used for a LiveArea liveitem's pokesute attribute.
| 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 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 | ( | 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.
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.
| SceLsdbAppDatabase * sceLsdbAppDatabaseInit2 | ( | SceLsdbAppDatabase * | database | ) |
| 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.
| 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.
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.
| SCE_LSDB_ERROR_INVALID_ARGUMENT | page_count is zero or the outer vector contains fewer than page_count elements. |
| 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.
| SCE_LSDB_ERROR_INVALID_ARGUMENT | page_count is zero or pages contains fewer than page_count elements. |
| 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.
| 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.
| [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. |
| 0 | The record was updated. |
| SCE_LSDB_ERROR_INVALID_ARGUMENT | icon_info is invalid or update_mask is zero. |
| SCE_LSDB_ERROR_INVALID_HANDLE | The database is not open or the transaction could not be started. |
| SCE_LSDB_ERROR_NOT_FOUND | No matching row was changed. |
| SCE_LSDB_ERROR_NO_MEMORY | An internal allocation failed. |
| 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.
| 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:.
| 0 | One or more icon rows were deleted. |
| SCE_LSDB_ERROR_NOT_FOUND | No icon row has this 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.
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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
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.
| 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.
| 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.
| 0 | One or more folder page numbers were returned. |
| SCE_LSDB_ERROR_NOT_FOUND | No matching folder row exists. |
| 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.
A closed AppDB returns 0 rather than SCE_LSDB_ERROR_INVALID_HANDLE.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
The resulting value is (oldValue & ~mask) | (value & mask).
| 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.
| 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.
| 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.
| 0 | The transaction was started. |
| SCE_LSDB_ERROR_INVALID_HANDLE | The database is not open. |
| 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.
| 0 | The transaction was committed or rolled back. |
| SCE_LSDB_ERROR_INVALID_HANDLE | The database is not open or no valid transaction exists. |
| 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.
| 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.
| [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. |
| 0 | The observer was registered. |
| SCE_LSDB_ERROR_INVALID_HANDLE | The process's shared AppDB is not open. |
| 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.
| 0 | The observer was unregistered or was already empty. |
| 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.
| SceLsdbQueryContext * sceLsdbQueryContextInit2 | ( | SceLsdbQueryContext * | context | ) |
| 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.
| SceLsdbQueryContext * sceLsdbQueryContextEnd | ( | SceLsdbQueryContext * | context | ) |
Detach and release a query-context object.
Both entry points perform the same cleanup as sceLsdbQueryContextClose, but return context.
| SceLsdbQueryContext * sceLsdbQueryContextEnd2 | ( | SceLsdbQueryContext * | context | ) |
| 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.
| 0 | The context was attached. |
| SCE_LSDB_ERROR_INVALID_HANDLE | The process's shared AppDB is not open, or context is already attached. |
| 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.
A detached context or closed AppDB returns 0 rather than SCE_LSDB_ERROR_INVALID_HANDLE.
| 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.
| 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.
| 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.
| 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.
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.
| 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.
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.
| 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.
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.
| 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.
Update an integer tbl_config value using a mask.
The resulting value is (oldValue & ~mask) | (value & mask).
| 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.
| [in] | app_info | - Non-NULL AppInfo map containing at least TITLE_ID. |
| 0 | The supplied rows and derived URI records were refreshed. |
| SCE_LSDB_ERROR_INVALID_HANDLE | sceLsdbOpen has not established a usable shared database connection for the process. |
| SCE_LSDB_ERROR_REQUIRED_APPINFO_FIELD_MISSING | TITLE_ID is absent. |
| SCE_LSDB_ERROR_NO_MEMORY | An internal allocation failed. |
Return the FNV-1a key for STITLE or STITLE_00 through STITLE_19.
| 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.
| 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.
SceShell converts this value to bytes before passing it to AppMgr.
| 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.
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.
| 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.
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.
| 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.
| 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.
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.
| [in] | app_info | - Initialized AppInfo object; must not be NULL. |
| 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.
This checks the application type and metadata, not network availability.
| [in] | app_info | - Initialized AppInfo object; must not be NULL. |
| 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.
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.
| [in] | app_info | - Initialized AppInfo object; must not be NULL. |
| 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.
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.
| [in] | app_info | - Initialized AppInfo object; must not be NULL. |
| 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.
| 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.
| [in] | mode | - One of SceLsdbOpenMode. |
| 0 | The AppDB was opened. |
| SCE_LSDB_ERROR_NO_MEMORY | An internal allocation failed. |
| SCE_LSDB_ERROR_DATABASE_LANGUAGE_MISMATCH | The stored system-language component differs from the current value. |
| SCE_LSDB_ERROR_DATABASE_CONFIGURATION_MISMATCH | The stored region/environment component differs from the current value. |
| SCE_LSDB_ERROR_DATABASE_SCHEMA_TOO_NEW | The on-disk schema is newer than the FW 3.60 implementation supports. |
| SCE_LSDB_ERROR_DATABASE_VERSION_MISMATCH | The primary AppDB version is not 59. |
| SCE_LSDB_ERROR_INVALID_DATABASE_VERSION | The primary or schema version is zero or otherwise uninitialized. |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
A missing value or unavailable database returns an empty 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.
Registry failure returns an empty string.
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.
| SceLsdbString sceLsdbGetNpLanguage | ( | void | ) |
Return /CONFIG/NP/lang as a standalone string.
Registry failure returns an empty string.
| 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.
| 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.
| 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.
| SceLsdbString sceLsdbGetNpEnvironment | ( | void | ) |
Return /CONFIG/NP/env as a standalone string.
Registry failure returns an empty string.
| 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.
| SceLsdbNewEventDatabase * sceLsdbNewEventDatabaseInit2 | ( | SceLsdbNewEventDatabase * | database | ) |
| 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.
| 0 | The wrapper was attached. |
| SCE_LSDB_ERROR_INVALID_HANDLE | The process's shared AppDB is not open, or this wrapper is already attached. |
| SCE_LSDB_ERROR_NO_MEMORY | The notification flag could not be allocated. |
| int sceLsdbNewEventDatabaseClose | ( | SceLsdbNewEventDatabase * | database | ) |
Detach a NewEvent notification wrapper and release its flag.
This succeeds when the wrapper is already detached.
| 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.
| 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.
| [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. |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
This function returns no value and does nothing when the wrapper is closed.
| 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.
| 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.
| 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.
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.
| 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.
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.
| 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.
| 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.
| 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.
The function allocates the circular list's head node, which has no object, and returns frame_list.
| 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.
| 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.
| 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.
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.
| SceLsdbLiveAreaParser * sceLsdbLiveAreaParserEnd | ( | SceLsdbLiveAreaParser * | parser | ) |
Release a LiveArea parser.
| 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.
| 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.
| 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.
| int sceLsdbGetCurrentRtcTick | ( | SceRtcTick * | tick | ) |
Read the current RTC tick.
| int sceLsdbGetAdNetworkRtcTick | ( | SceRtcTick * | tick | ) |
Read the ad-network RTC tick.
The output is written only on success.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
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.
| 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.
| int sceLsdbIconLayoutOpen | ( | void | ) |
Open or create ux0:iconlayout.ini and increment the nested open count.
A failed open restores the previous count.
| int sceLsdbIconLayoutDeleteFile | ( | void | ) |
Delete ux0:iconlayout.ini.
A missing file is treated as success.
| SceBool sceLsdbIconLayoutFileExists | ( | void | ) |
Return whether ux0:iconlayout.ini exists.
Enable or disable icon-layout writes.
The supplied value is returned.
| 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.
| 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.
| 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.
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.
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.
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.
| 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.
| 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 { ... } ::int64 |
| SceLsdbString* { ... } ::string |
| union { ... } 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 |
| SceLsdbString SceLsdbLiveAreaBackgroundImage::source_path |
| void* SceLsdbLiveAreaSystemFunctionZone::vtable |
Internal FW 3.60 virtual-function table.
| SceInt32 SceLsdbLiveAreaSystemFunctionZone::type |
| 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 |
| SceLsdbString SceLsdbLiveAreaStartupImage::source_path |
| void* SceLsdbLiveAreaTitleColor::vtable |
Internal FW 3.60 virtual-function table.
| SceInt32 SceLsdbLiveAreaTitleColor::type |
| 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 |
| 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 |
| SceLsdbLiveAreaVisualElement SceLsdbLiveAreaTextElement::visual |
| SceInt32 SceLsdbLiveAreaTextElement::text_alignment |
| SceInt32 SceLsdbLiveAreaTextElement::vertical_text_alignment |
One of SceLsdbLiveAreaVerticalAlignment.
| SceInt32 SceLsdbLiveAreaTextElement::line_alignment |
| SceInt32 SceLsdbLiveAreaTextElement::origin |
| 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 |
| 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.