32 Result accountInitialize(
void);
33 void accountExit(
void);
34 Service* accountGetService(
void);
#define PACKED
Packs a struct (and other types?) so it won't include padding bytes.
Definition: types.h:56
Service manager (sm) IPC wrapper.
Result accountGetActiveUser(u128 *userID, bool *account_selected)
Get the userID for the currently active user.
Result accountGetProfile(AccountProfile *out, u128 userID)
Get an AccountProfile for the specified userID.
u8 iconBackgroundColorID
Profile icon background color ID.
Definition: acc.h:19
u64 lastEditTimestamp
POSIX UTC timestamp, for the last account edit.
Definition: acc.h:28
Service object structure.
Definition: sm.h:23
u32 Result
Function error code result type.
Definition: types.h:46
uint8_t u8
8-bit unsigned integer.
Definition: types.h:21
Result accountProfileLoadImage(AccountProfile *profile, void *buf, size_t len, size_t *image_size)
Load the JPEG profile icon, valid for both Miis and character icons. The output image_size is the sam...
uint64_t u64
64-bit unsigned integer.
Definition: types.h:24
Result accountProfileGetImageSize(AccountProfile *profile, size_t *image_size)
Get the icon image size.
uint32_t u32
32-bit unsigned integer.
Definition: types.h:23
__uint128_t u128
128-bit unsigned integer.
Definition: types.h:25
Result accountProfileGet(AccountProfile *profile, AccountUserData *userdata, AccountProfileBase *profilebase)
Get AccountUserData and AccountProfileBase for the specified profile, userdata is optional (can be NU...
u32 iconID
Icon ID. 0 = Mii, the rest are character icon IDs.
Definition: acc.h:18