mirror of
https://github.com/phantomptr/ps5upload.git
synced 2026-10-19 02:20:02 -05:00
Upload, install, convert and manage PS5 game packages over the network. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
496 B
C
21 lines
496 B
C
#ifndef PS5UPLOAD_ACTIVITY_H
|
|
#define PS5UPLOAD_ACTIVITY_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
void activity_init(void);
|
|
|
|
/* Persist tracked play time now (called on orderly shutdown). */
|
|
void activity_flush(void);
|
|
|
|
/* Discard all recorded play time. Returns titles removed. */
|
|
int activity_reset(void);
|
|
|
|
int activity_get_json(char *buf, size_t cap, size_t *written);
|
|
|
|
int activity_db_query_json(const char *query, char *buf, size_t cap,
|
|
size_t *written);
|
|
|
|
#endif
|