3DSident/source/frd.h

16 lines
302 B
C

#include <3ds.h>
#include <string.h>
Handle frdHandle;
typedef struct
{
u32 principalId;
u64 localFriendCode;
} FriendKey;
Result frdInit();
Result frdExit();
Result frdSetClientSdkVersion(u32 sdkVer);
u64 frdPrincipalIdToFriendCode(u64 *fc, u64 pid);
Result frdGetMyFriendKey(FriendKey *key);