mirror of
https://github.com/itsPLK/ps5-pkg-manager.git
synced 2026-10-23 04:12:39 -05:00
29 lines
609 B
C
29 lines
609 B
C
#ifndef LEFTOVERS_H
|
|
#define LEFTOVERS_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* Scans internal storage for orphaned updates, DLCs, and metadata where the base package is missing.
|
|
* Returns dynamically allocated JSON string (caller must free()), or NULL on error.
|
|
*/
|
|
char *leftovers_scan_json(void);
|
|
|
|
/**
|
|
* Deletes all leftover paths for the specified title_id.
|
|
* Returns dynamically allocated JSON string (caller must free()), or NULL on error.
|
|
*/
|
|
char *leftovers_delete_json(const char *title_id);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* LEFTOVERS_H */
|