The language

It is SwIPC's (github.com/reswitched/SwIPC, ISC), with the conventions below.

# comments start with # (// and /* */ work too)
type nn::account::Uid = bytes<0x10, 8>;             # bytes<size[, alignment]>
type nn::account::ProfileDigest = bytes<0x10>;
type nn::account::profile::ProfileBase = struct {   # natural alignment, like the SDK's struct
    nn::account::Uid uid;
    u64 last_edit_timestamp;
    bytes<0x20> nickname;
};

interface nn::account::IAccountServiceForApplication is acc:u0, acc:u1, acc:su {
    [0] GetUserCount() -> i32 count;
    [2] ListAllUsers(array<nn::account::Uid, 0xa> users);
    [5] GetProfile(nn::account::Uid uid) -> object<nn::account::profile::IProfile> profile;
    @stub [6] GetProfileDigest(nn::account::Uid uid) -> nn::account::ProfileDigest digest;
    [51] TrySelectUserWithoutInteraction(b8 is_network_service_account_required) -> nn::account::Uid uid;
}

Made from docs/platforms/nx/ipc.md at 69237645142c. GPL-3.0-or-later.