9 #include "../kernel/event.h"
10 #include "../services/applet.h"
11 #include "../services/acc.h"
12 #include "../sf/service.h"
15 FriendsServiceType_User = 0,
16 FriendsServiceType_Viewer = 1,
17 FriendsServiceType_Manager = 2,
18 FriendsServiceType_System = 3,
19 FriendsServiceType_Administrator = 4,
49 char friend_code[0x20];
55 Result friendsInitialize(FriendsServiceType service_type);
58 void friendsExit(
void);
61 Service* friendsGetServiceSession(
void);
64 Service* friendsGetServiceSession_IFriendsService(
void);
91 Result friendsTryPopFriendInvitationNotificationInfo(
AccountUid *uid,
void* buffer,
u64 size,
u64 *out_size);
Result appletGetFriendInvitationStorageChannelEvent(Event *out_event)
Gets an Event which is signaled when a new storage is available with appletTryPopFromFriendInvitation...
Account UserId.
Definition: acc.h:25
Kernel-mode event structure.
Definition: event.h:13
FriendInvitationGameModeDescription.
Definition: friends.h:29
FriendInvitationGroupId.
Definition: friends.h:39
u64 id
Id.
Definition: friends.h:40
FriendInvitationId.
Definition: friends.h:34
u64 id
Id.
Definition: friends.h:35
InAppScreenName.
Definition: friends.h:23
u64 languageCode
LanguageCode, see set.h.
Definition: friends.h:25
FriendsUserSetting.
Definition: friends.h:44
AccountUid uid
User ID.
Definition: friends.h:45
u64 friend_code_next_issuable_time
Unknown.
Definition: friends.h:50
u32 presence_permission
Presence permission.
Definition: friends.h:46
u64 friend_request_reception
Unknown.
Definition: friends.h:48
u32 play_log_permission
Play log permission.
Definition: friends.h:47
Service object structure.
Definition: service.h:14
#define NX_INLINE
Flags a function as (always) inline.
Definition: types.h:86
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21